ALM Previous Post – Url not updating
-
Hi Darren,
I’m currently trying your “Previous Post” Addon. After some testing quite everything works right except the url, which won’t get updated. Since I’m still on localhost I’ve no link to share, but let me know what you need and I can will provide any needed information.
My Shortcode uses the following parameters:
'post_type' => 'post', 'posts_per_page' => '1', 'previous_post_id' => get_the_id(), 'theme_repeater' => 'loop-post-single.php'
My Plugin Settings:
Page Title Template: {post-title}-{site-title}-{tagline}
Google Analytics: Checked
Scroll to Post: Checked
Scroll Speed: 500
Scroll Top: 30The data-canonical-url also stays the same. And the plugin always loads the latest post and then the previous posts. For example lets assume i have Posts named like this: Post-1 (oldest), Post-2, Post-3 (newest). And I click on Post-2 I would assume the plugin to show the previous post -> Post-1.
In my case the plugin loads Post-3 (newest) no matter what and then loads Post-2 and Post-1. Maybe this is releated to the url not updating.
Another question, is it possible to not autoload more post on scroll but just on click of a load more button?
Hope you can help me quickly with this, I need to finish it by tomorrow.
Thanks for your help!
Tobias
- The topic ‘ALM Previous Post – Url not updating’ is closed to new replies.