I am trying to find a way to remove the sociable icons, etc, from appearing in the sidebar “recent posts” snippet on my site. Is this possible?
I’ve added, manually, the following code
<?php $recentPosts = new WP_Query(); $recentPosts->query('showposts=3'); ?> <?php while ($recentPosts->have_posts()) : $recentPosts->the_post(); ?> <li><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a><br /><?php the_excerpt() ?></li> <?php endwhile; ?>
to a sidebar, but the snippets also display the Sociable icons etc .. how do I make it to the sociable stuff ONLY appear on the single post? Ideally I’d prefer it at the top of the post, but the only option I see in the settings is to make it appear on the bottom, or both top and bottom.
The main thing I want is to remove it from the sidebar snippets.
an example is on the blog at
- The topic ‘Remove from "Recent Posts" snippet’ is closed to new replies.