Blog only has one post but Load More button is still enabled
-
Hi,
Just downloaded the plugin and it looks really good.I’m confused about something though.
i’d like to show one post on page load and then click a ‘Load More’ button at the bottom to load the next one.Currently I only have 1 post on my blog.
I’m using a query to show the first post in my theme and using the shortcode to offset by one. The query being run in my template is exactly the same as the one in my theme file.
For some reason though, on page load, it shows the first post but it’s also showing the ‘Load More’ button. Technically this should’t happen as there are no more posts to load. If I click it, it searches for another post to load but as there aren’t any, it disables itself (applies the ‘done’ class).
Do you know why it might be doing this? How do I get it to not do this?
Thanks,
Jack
- The topic ‘Blog only has one post but Load More button is still enabled’ is closed to new replies.