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

    (@jdembowski)

    Forum Moderator and Brute Squad

    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?

    Thread Starter neodesc

    (@neodesc)

    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>
          </div>
          <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>">
            <?php the_title(); ?>
            </a>
            <?php edit_post_link('*', '<sup>', '</sup>'); ?>
            <small>Escrito por
            <?php the_author() ?>
            el
            <?php the_time('d.m.y') ?>
            en
            <?php the_category(', ') ?>
            <?php if(function_exists('the_views')) { ?>
            leido
            <?php the_views('veces'); ?>
            <?php } ?>
            </small></h2>
          <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')); ?>
          </div>
    
    	  <?php if ((function_exists('related_posts'))) { ?>
    	  <div class="relatedPost">
    	  <h3>Enlaces relacionados</h3>
          <ul>
            <?php related_posts(); ?>
          </ul>
    	  </div>
          <?php } ?>
    
          <div class="postMeta">
            <ul>
              <li class="icon_comments"><a href="#responder">
                <?php comments_number(__('0 Comentarios'), __('1 Comentario'), __('% Comentarios')); ?>
                </a></li>
              <?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 } ?>
            </ul>
          </div>
        </div>
        <?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(); ?>
      </div>
    </div>

    Any ideas?

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