WordPress.org

Ready to get started?Download WordPress

Forums

Sociable
Remove from "Recent Posts" snippet (1 post)

  1. walkinman
    Member
    Posted 1 year ago #

    hello

    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

    http://www.expeditionsalaska.com/ramblings/2013/01/16/get-your-boots-on/

    Thank you

    http://wordpress.org/extend/plugins/sociable/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic