Remove from "Recent Posts" snippet (1 post)

  1. walkinman
    Posted 3 years ago #


    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

            $recentPosts = new WP_Query();
        <?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


    Thank you


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Sociable
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic