WordPress.org

Support

Support » Plugins and Hacks » TPG Get Posts » [Resolved] Can't get more_link_text to work

[Resolved] Can't get more_link_text to work

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

    @cswaim

    Did you insert the more tag when you wrote the post? There is an icon (top row) to insert the more tag at the point you want the post to break.

    In looking at your post there is a <span id=”more-107″></span> tag but the WP more tag is <!–more–>

    Not sure why the difference

    Yes I used the more tag. I’ve checked it on the text tab when I write the post and it says <!–more–>

    Plugin Author cswaim

    @cswaim

    I am not sure what is happening, but if you look at the more tag imbedded in the code it is not the standard WP more tag.

    Just wondering if you’ve got this right yet? I’ve used the more tag on each post and it displays correctly on a page yet when I use the plugin it shows the full post.

    I do not use the <!–more–> tag in my posts since my theme automatically spits out an excerpt. To get more_link_text function to work, I had to use shorten_content.

    This is what I use on my front page and it works perfectly.

    [tpg_get_posts cat=”blog” numberposts=3 shorten_content=”w450″ more_link_text=”read more!” thumbnail_size=thumbnail]

    I’ve copied and pasted that code too but it still shows the entire post… This is a really good plugin I wish that it worked in all versions… I am using it in 3.5.1

    Plugin Author cswaim

    @cswaim

    Derek:

    Look at the source code for the generated webpage and see if the <!–more–> is embedded in the post. The plugin searches for the more tag and breaks at that point.

    As noted above, it appears some themes alter the more tag. The example above changes the tag from <!–more–> to <span id=”more-107″></span> which prevents the function from working.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Can't get more_link_text to work’ is closed to new replies.
Skip to toolbar