Hallo,
Ik heb 2 vragen rondom mijn website Xbox Slim.nl
Als je een bericht opent zoals deze: http://www.xboxslim.nl/games-nieuws/budgetgaming-modern-warfare-3-laag-geprijsd/ dan zie je als je op het grote plaatje gaat staan; Click here to share. En dat is zeer irritant aangezien het de bedoeling is dat mensen er juist op kunnen klikken (affiliating). Hoe schakel ik dat click to share uit?
Vraag 2: Als je rechtsboven op de website zoekt dan komen er zoekresultaten tevoorschijn, maar deze zijn niet aanklikbaar, hoe repareer ik dit?
Alvast vriendelijk bedankt!
- 2 Wordpress vragen
-
03-11-2011, 17:07 #1
- Berichten
- 1.250
- Lid sinds
- 16 Jaar
2 Wordpress vragen
-
-
03-11-2011, 17:27 #2
- Berichten
- 1.990
- Lid sinds
- 15 Jaar
Re: 2 Wordpress vragen
Plugin van Wibiya uitschakelen.
-
03-11-2011, 18:06 #3
- Berichten
- 1.250
- Lid sinds
- 16 Jaar
-
03-11-2011, 18:22 #4
- Berichten
- 35
- Lid sinds
- 15 Jaar
Re: 2 Wordpress vragen
Even kijken of in archive.php de juiste code staat voor de title tag. Maar je hebt deze theme gekocht (neem ik aan), als het goed is linkt hij in het originele php bestand wel goed.
-
03-11-2011, 18:24 #5
- Berichten
- 1.250
- Lid sinds
- 16 Jaar
Re: 2 Wordpress vragen
Ja op de een of andere manier kan je dus een zoekresultaat niet aanklikken, maar hoe zorg ik ervoor dat dat wel kan?
-
03-11-2011, 18:26 #6
- Berichten
- 35
- Lid sinds
- 15 Jaar
Re: 2 Wordpress vragen
Staat in Archive.php het volgende:Code:<a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a>
-
03-11-2011, 18:27 #7
- Berichten
- 1.250
- Lid sinds
- 16 Jaar
Re: 2 Wordpress vragen
PHP Code:<?php get_header(); ?>
<?php include(TEMPLATEPATH . '/archive-sidebar.php'); ?>
<div class="breadcrumbed"> You are here:
<a href="<?php echo get_bloginfo('url'); ?>/" title="">
<?php _e('Home'); ?></a>
<?php
$parent_id = $post->post_parent;
$breadcrumbs = array();
while ($parent_id) {
$page = get_page($parent_id);
$breadcrumbs[] = '<a href="'.get_permalink($page->ID).'" title="">'.get_the_title($page->ID).'</a>';
$parent_id = $page->post_parent;
}
$breadcrumbs = array_reverse($breadcrumbs);
foreach ($breadcrumbs as $crumb) echo ' / '.$crumb;
?>
<span> /
<?php the_title(); ?>
</span>
</div>
<!-- Begin Left Column -->
<div id="uscolumnsingle">
<?php if (have_posts()) : ?>
<div class="1wrapperst">
<div class="2wrappernd">
<div class="uscontinue">
<div id="post-<?php the_ID(); ?>" class="post">
<?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
<?php /* If this is a category archive */ if (is_category()) { ?> <h2 id="youarebrowsing">
You Are Browsing '<?php single_cat_title(); ?>' Category</h2>
<?php /* If this is a tag archive */ } elseif( is_tag() ) { ?> <h2 id="youarebrowsing">
You Are Browsing '<?php single_tag_title(); ?>' <?php print Tag; ?></h2>
<?php /* If this is a daily archive */ } elseif (is_day()) { ?><h2 id="youarebrowsing">
<?php the_time('F jS, Y'); ?></h2>
<?php /* If this is a monthly archive */ } elseif (is_month()) { ?><h2 id="youarebrowsing">
<?php the_time('F, Y'); ?></h2>
<?php /* If this is a yearly archive */ } elseif (is_year()) { ?> <h2 id="youarebrowsing">
<?php the_time('Y'); ?></h2>
<?php /* If this is an author archive */ } elseif (is_author()) { ?> <h2 id="youarebrowsing">
You Are Browsing '<?php print Author; ?>' </h2>
<?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?><h2 id="youarebrowsing">
You Are Browsing '<?php print Archive; ?>'' </h2>
<?php } ?>
</div>
<?php while (have_posts()) : the_post(); ?>
<a href="<?php the_permalink() ?>" rel="bookmark">
</a>
<div id="post-<?php the_ID(); ?>" class="post">
<div class="ptitle">
<a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"> <?php the_title(); ?> </a>
</div>
<div class="meta_author">Geplaatst door <a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>" title="<?php printf( esc_attr__( 'Bekijk alle berichten van %s'), get_the_author() ); ?>"><?php the_author(); ?> </a> Op <?php the_time('j M, Y'); ?> om <?php the_time('h:s A '); ?> | Categorie <?php the_category(', ') ?> | Met <a href="#comments"> <?php comments_number('0 Reacties','1 Reactie','2 Reacties'); ?> </a> </div>
<div id="mycontent">
<span class="thepart1bimga"><?php the_post_thumbnail( 'archiveimg' ); ?></span> <?php the_excerpt(); ?> </div>
<div class="clear">
</div> <br />
</div>
<?php endwhile; ?>
<?php if (function_exists('wp_pagenavi')) { ?>
<?php wp_pagenavi(); ?>
<?php } ?>
</div>
</div>
</div>
<?php else : ?>
<p id="p404">
<?php _e('Pagina niet langer beschikbaar.'); ?>
</p> </h2>
<?php endif; ?>
<div class="clr">
</div> <div class="newer-older"><?php posts_nav_link(' ',__('<div style="float:left">« Newer posts</div>'),__('<div style="float:right">Older posts »</div>')) ?><div class="clr"></div></div>
</div>
<div class="clr">
</div>
<!-- End Main Body -->
<?php get_footer(); ?>
-
03-11-2011, 18:41 #8
- Berichten
- 35
- Lid sinds
- 15 Jaar
Re: 2 Wordpress vragen
Raar.. zo te zien staat de code goed, ook exact zoals ik hem zelf heb staan. Ik kijk er zo dadelijk nog even naar.
Sorry, ik kijk verkeerd. Pas in Search.php het volgende aan:
Code:<div class="ptitle"> <?php the_title(); ?> </div>
Code:<div class="ptitle"> <a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a> </div>
-
03-11-2011, 18:46 #9
- Berichten
- 1.250
- Lid sinds
- 16 Jaar
Re: 2 Wordpress vragen
Thanks!
-
03-11-2011, 18:49 #10
- Berichten
- 35
- Lid sinds
- 15 Jaar
Re: 2 Wordpress vragen
No problem! Succes met je site.
-
03-11-2011, 18:50 #11
- Berichten
- 1.250
- Lid sinds
- 16 Jaar
Plaats een
- + Advertentie
- + Onderwerp
Marktplaats
Webmasterforum
- Websites algemeen
- Sitechecks
- Marketing
- Domeinen algemeen
- Waardebepaling
- CMS
- Wordpress
- Joomla
- Magento
- Google algemeen
- SEO
- Analytics
- Adsense
- Adwords
- HTML / XHTML
- CSS
- Programmeren
- PHP
- Javascript
- JQuery
- MySQL
- Ondernemen algemeen
- Belastingen
- Juridisch
- Grafisch ontwerp
- Hosting Algemeen
- Hardware Info
- Offtopic