WordPress.org

Ready to get started?Download WordPress

Forums

SM Sticky Clicky Star
[resolved] Full post versus universal settings (4 posts)

  1. charliesgold
    Member
    Posted 7 months ago #

    Is there any way to implement this type of code in to the plugin so that anything sticky'd would show a full post rather than the universal setting which has the blog showing excerpts?

    <?php if ( ! is_sticky() ) {
    the_content();
    } else {
    the_excerpt();
    } ?>

    http://wordpress.org/plugins/sm-sticky-clicky-star/

  2. charliesgold
    Member
    Posted 7 months ago #

    I have tried utilizing this in my theme loop to no avail:

    <?php if ( ! isSticky() ) {
    the_content();
    } else {
    the_excerpt();
    } ?>

  3. charliesgold
    Member
    Posted 7 months ago #

    I have resolved the issue by placing the following in to my theme's loop:

    <?php if (is_sticky()) {
    the_content();
    } else {
    the_excerpt();
    } ?>

    I had to do this for the frontpage.php as well since this theme utilizes multiple page formats.

  4. Seth Carstens
    Member
    Plugin Author

    Posted 7 months ago #

    looks like you solved your issue. No its not something the plugin can control, this is something your theme controls. The plugin simply allows you to sticky posts easier from the post listing screen in the wp-admin.

Reply

You must log in to post.

About this Plugin

About this Topic