The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

TPG Get Posts
[resolved] having trouble with 'shorten_content' item (4 posts)

  1. Sam
    Posted 4 years ago #

    Upgraded to WP 3.3.2 and TGP 1.3.3 (from 3.3.1 & 1.3.0 respectively).

    Now no matter what I use in the shorten_content option, the post on the news page is always the same length. Doesn't matter if I use the c or the w to limit the length.

    My tag looks like this: [tpg_get_posts fields="post_title, post_content" show_entire="false" shorten_content="w300" text_ellipsis=" ..." ]

    Any suggestions?

    Also worth noting: on the plugin's overview page, it shows a tag as post_entire="false" while on the options page, it has show_entire instead.


  2. cswaim
    Plugin Author

    Posted 4 years ago #


    Let me look at this. I am involved in a project at the moment, but will have time lat this evening or tomorrow.

    Thanks for the heads up on the doc, I will correct that also.

  3. Sam
    Posted 4 years ago #

    Thank you!

    Not sure if this helps, but I did a little testing.

    I rolled back the plugin and tested all the versions from 1.3.0 to 1.3.4 and they all have the same result on WP 3.3.2.

    I wasn't quite willing to roll back WordPress to an earlier version (as the issue is on a client's site).

    But I think I can say that it's due to a change in the WordPress updates (if not 3.3.2, then a recent 3.3.x version) rather than something that you changed in the plugin code.

  4. cswaim
    Plugin Author

    Posted 4 years ago #


    Thanks for the face saving gesture of pointing to the wordpress release, but alas, it was the change to the class from version 1.2 to 1.3. I did not get some variables in the correct scope....last minute change.

    I pushed the changes up as 1.3.4. Please let me know if you have any other problems. I have made several changes and did not go back and test all of the features.

    I can email you the plugin directly if you don't want to wait for the update on WP, but it should be available soon.

    PS-Let me know if there you find other problems.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • TPG Get Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic