• Resolved keyaspects

    (@keyaspects)


    Hi, what is the shortcode for shortening the title. I’m not using widgets in my sidebar so clicking the ‘shorten title’ checked box won’t work for me. I need the php short code for shortening the title.

    I currently have the following
    <?php get_mostpopular("order_by=views&range=weekly&limit=6&stats_views=0&pages=0&stats_comments=0&wpp_start=<div>&wpp_end=</div>"); ?>

    What do I need to add?

    Thanks

    http://wordpress.org/extend/plugins/wordpress-popular-posts/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hi there,

    What you’re looking for is the title_length parameter. For usage and instructions, please refer to your wp-admin > Settings > WordPress Popular Posts > FAQ.

    Thread Starter keyaspects

    (@keyaspects)

    Hi, thanks for response.

    I’ve looked in the FAQ and all I see is:

    What does “Shorten title output” do?
    If checked, all posts titles will be shortened to “n” characters. A new “Shorten title to” option will appear so you can set it to whatever you like. Disabled by default.

    This doesn’t help me at all (not really any instructions to add to shortcode), hence why I wrote a post up here. I’m not using the widget version of the plugin and the above sentence does not give me any shortcode.

    However I added the following to my code title_length=35 and it worked all ok, just incase anyone else has the same issue.

    Thanks again

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WordPress Popular Posts shorten title’ is closed to new replies.