I’m trying to set the sociable.php file so that the sociable array appears after the “Read More” permalink that is displayed after the excerpt.
Currently sociable is shoving the array in right after the_excerpt and then “Read more” is left below the array. It doesn’t look good and makes it hard to quickly read more.
I see that you can manually add the if function and have it hardcoded into the template. This would be fine except that my client wants to control whether or not they appear. So I need a solution that relies on the regular use of the plugin but move it somehow AFTER the “read more” link.
elementel: Please check your template or submit a link for us to check. Regards.
i cant show the site right now, it is private but here’s the template code
$temp = $wp_query;
$wp_query = new WP_Query();
if ($wp_query->have_posts()) : while ($wp_query->have_posts()) : $wp_query->the_post();
global $more; $more = 0;
<h1>” rel=”bookmark”><?php the_title(); ?></h1>
<p><?php the_time(‘F j, Y’); ?></p>
<?php the_excerpt(); ?>
” title=”Read the rest of <?php the_title(); ?>”>Read the rest of this entry »
<?php endwhile; ?>
<?php else: ?>
<p><?php _e(‘Sorry, no posts matched your criteria.’); ?></p>
<?php endif; ?>
<p><?php posts_nav_link(‘ — ‘, __(‘« Previous Page’), __(‘Next Page »’)); ?></p>
<?php $wp_query = null; $wp_query = $temp;?>
<?php get_footer(); ?>
I can’t believe I’m the only one having problems with this. It’s funny because I was searching again for a solution to this when I found my own original thread.
Everytime I use the excerpt function sociable wants to display BEFORE the “read more” comment. It should be simple. I should be able to tell sociable when to display, and in this instance AFTER the Read more link rather than the excerpt.
- The topic ‘sociable after “read more”’ is closed to new replies.