WordPress.org

Forums

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

  1. charliesgold
    Member
    Posted 1 year 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 1 year 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 1 year 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 1 year 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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • SM Sticky Clicky Star
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic