WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: TPG Get Posts] having trouble with 'shorten_content' item

[Resolved] [Plugin: TPG Get Posts] having trouble with 'shorten_content' item

  • Sam

    @samsamuelcousinscom

    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.

    http://wordpress.org/extend/plugins/tpg-get-posts/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author cswaim

    @cswaim

    Sam:

    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.

    Sam

    @samsamuelcousinscom

    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.

    Plugin Author cswaim

    @cswaim

    Sam:

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Plugin: TPG Get Posts] having trouble with 'shorten_content' item’ is closed to new replies.