Support » Plugins » share-this and related-posts conflict?

  • I’m using these two plugins right now on my website and there seems to be a problem in the single post page (single.php) since the share-this plugin instead of taking the main post URL in order to submit it to digg, etc. it takes the last related post URL.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Jan Dembowski


    Brute Squad and Volunteer Moderator

    I’m using the share-this and related posts plugins without any problems (I just tried with the Digg link).

    Are you using the same related posts plugin?

    I’m using the same related posts plugin. So it has to be a problem with my single.php theme file, here it is:

    <div id="mainCol">
      <div id="content" class="widecolumn">
        <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
        <div class="post" id="post-<?php the_ID(); ?>">
          <div class="commentsBub">
           <a href="#responder"><?php comments_number(__('0'), __('1'), __('%')); ?></a>
          <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>">
            <?php the_title(); ?>
            <?php edit_post_link('*', '<sup>', '</sup>'); ?>
            <small>Escrito por
            <?php the_author() ?>
            <?php the_time('d.m.y') ?>
            <?php the_category(', ') ?>
            <?php if(function_exists('the_views')) { ?>
            <?php the_views('veces'); ?>
            <?php } ?>
          <div class="entry">
            <?php the_content('<p class="serif">Leer el resto de la entrada &raquo;
    '); ?>
            <?php wp_link_pages(array('before' => '<strong>P&aacute;ginas:</strong> ', 'after' => '
    ', 'next_or_number' => 'number')); ?>
    	  <?php if ((function_exists('related_posts'))) { ?>
    	  <div class="relatedPost">
    	  <h3>Enlaces relacionados</h3>
            <?php related_posts(); ?>
          <?php } ?>
          <div class="postMeta">
              <li class="icon_comments"><a href="#responder">
                <?php comments_number(__('0 Comentarios'), __('1 Comentario'), __('% Comentarios')); ?>
              <?php if(function_exists('wp_email')) {?>
              <li class="icon_email"><?php email_link(); ?></li>
    					<?php } ?>
    					<?php if(function_exists('akst_share_link')) {?>
    					<li class="icon_share"><?php akst_share_link(); ?></li>
    					<?php } ?>
        <?php endwhile; else: ?>
        <h4 class="pagetitle">Uuuups!!!</h4>
      <p class="center">Lo sentimos, pero a&uacute;n no se encuentran post en esta categor&iacute;a.
      <p class="center"><img src="<?php bloginfo('stylesheet_directory'); ?>/pix/404.gif" alt="404"  />
        <?php endif; ?>
    	<?php comments_template(); ?>

    Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘share-this and related-posts conflict?’ is closed to new replies.