• Resolved walkerba2

    (@walkerba2)


    Hi there! I recently installed your plug-in on my WordPress site. I’m amazed with its flexibility. You’ve thought of a lot of things to put into the shortcode! Thanks!

    However, I’m having trouble making the shortcode do what I want to do. I have the following shortcode on my page:
    [tpg_get_posts more_link_text="Read More!" posts_per_page=4 page-next="true"]

    I do see the “Read More!” at the proper place in each post. However, there still are 5 posts in the page instead of 4. Also, I do not see any sort of pagination or Next or Previous. What am I doing wrong?

    Thanks for your help!

    https://www.ads-software.com/plugins/tpg-get-posts/

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

    (@cswaim)

    the page-next is not a valid parameter, should be page_next. When an invalid parameter is found, the results are indeterminate.

    The pagination feature is heavily dependent on the theme. There have been problems with the some theme that have replaced the basic WP pagination. Each of those will need to be handled with customization.

    Thread Starter walkerba2

    (@walkerba2)

    Thanks a bunch. I didn’t catch the typo. However, it is something I copied directly from your instructions. So, I would recommend editing them.

    page_next
    The option page-next=’true’ will show just the Previous and Next link instead of the pagination index. The default is false.

    Plugin Author Criss Swaim

    (@cswaim)

    Updated the doc….thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘posts per page not working’ is closed to new replies.