Support » Plugins » [Plugin: WordPress Popular Posts not displaying excerpt-active = true]

  • Resolved ajithperuva

    (@ajithperuva)


    Hi,

    I don’t have a WP sidebar in my theme and do not want to use one. So I’m using WordPress Popular Posts in my header part as scoller using jquery- here is the line of code I have in header:

    <?php if (function_exists('wpp_get_mostpopular'))
    wpp_get_mostpopular("range=daily&order_by=views&post-excerpt-active=true"); ?>

    The posts title shows correctly but it not displaying its excerpt(description) on scroller

    Why is this? and can anyone help?

    Thank a lot,

    Ajith

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi there,

    The post-excerpt-active parameter you’re trying to use doesn’t exist, mate. You need to use the excerpt_length parameter and set it to something different to zero for it to activate, for example:

    <?php
    if (function_exists('wpp_get_mostpopular'))
    wpp_get_mostpopular("range=daily&order_by=views&excerpt_length=55");
    ?>

    That should do the trick.

    @ikki24 Thank you so much…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WordPress Popular Posts not displaying excerpt-active = true]’ is closed to new replies.