• Hello,

    I am currently using trying to use the “Featured Post” plugin. I am fairly new when it comes to coding in WordPress, and I was wondering if someone could give me a few pointers on this.

    On the one hand, I am wondering the EXACT code to just call this plugin. The whole thing, all the way from the <?php function(); ?> to the end of the code.

    The other thing I was wondering, I am also using the “Advanced Excerpt” Plugin. The issue with this, is it changes the size of ALL of my excerpts. I have 2 seperate excerpts on the static page of my blog. I want one to be a 50-60 word count excerpt, and the other to be a 20-30 word count. People to do it this way would be a lot better than using the featured post for my needs.

    Thanks very much www.remarpro.com.

    – Brett

Viewing 4 replies - 1 through 4 (of 4 total)
  • For point one, I’m assuming you mean: call this plugin so that it is displayed on the website?

    If this is the case, then the author provides quite a few examples:
    https://www.mydollarplan.com/random-featured-post-plugin/

    Speak n00b to me here mosey. I activate the plugin and set the category stuff up then stick `if ( function_exists(‘show_featured_post’) )
    if (is_home() && !is_paged())
    show_featured_post(‘<span class=”container”>’,'</div>’);`
    at the top of my index.php but nothing happens.

    Alright, I was being a little facetious to highlight the point that some of us only know enough to get into trouble ??

    Turns out I was having problems when “Display excerpt.” was checked.
    So Konziner, if you’re still completely lost, I stuck

    <?php if ( function_exists('show_featured_post') )
     show_featured_post('', '', true, 3320);?>

    just before where the posts are called in the template; i.e. <?php if (have_posts()) : ?>

    btw, ‘3320’ is the ID of the category I want featured posts from.

    Glad it worked out for you, pusbucket ??

    If it’s any help, the code should just go where you would like the content to be displayed rather than at the top of the page.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Featured Post] Plugin : Calling the Plugin.’ is closed to new replies.