- This topic has 10 replies, 2 voices, and was last updated 6 years, 5 months ago by
Mahesh.
-
AuthorPosts
-
May 17, 2016 at 8:45 pm #91836
Michaela
ParticipantHi,
I use the WP PageNavi plugin (https://wordpress.org/plugins/wp-pagenavi/) for almost two years, but suddenly it doesn’t show the pages icons at the bottom of my pages anymore. Here an example:
http://travelintense.com/travel-blog/
It shows me my 5 latest posts, eventhough I have the setting “show the latest 10 posts”, and there is no page navi at the bottom of this page as it used to be (I have written more than 50 posts, and they’re all still available online).
Could you please let me know if this is a plugin or theme related issue?
Thanks a lot,
MichaelaMay 18, 2016 at 9:57 am #91880Mahesh
Keymaster@micha: Are you using any other plugins? Try disabling the plugins one by one and check if the issue resolves. You are using child theme, have you modified the codes? Try the same with the parent theme and check if the problem persists or not. The plugin is working fine with the latest version of the theme in our server.
Let me know if problem persists.Regards,
MaheshMay 18, 2016 at 5:55 pm #91915Michaela
ParticipantHi Mahesh,
I had already tried deactivating all other plugins, but that didn’t solve the issue.
I then followed your advice and activated the parent theme and lo and behold: the page navigation was there. So now I know that there must be something wrong with my css stylesheet, but I can’t figure out what…
Cheers,
MichaelaMay 18, 2016 at 6:15 pm #91916Michaela
ParticipantHi Mahesh,
I figured it out. A few months ago, I asked you how I could remove the categories, tags, leave reply, previous and next post links underneath the posts. You gave me the following code:footer.entry-meta, nav#nav-below { display: none; }
This is the link to our conversation: https://catchthemes.com/support-forum/topic/remove-categories-tags-leave-reply-previous-and-next-post-underneath-post/
I’m using this code, and it did the job to remove all those unwanted clutter at the bottom of the posts, but I didn’t realize until now, that this also means the page navigation disappears. Could you please tell me how to add an exception for this one page (http://travelintense.com/travel-blog/) or what else would you suggest?
Thanks a lot,
MichaelaMay 19, 2016 at 11:04 am #91968Mahesh
Keymaster@micha: Please use the following CSS to display navigation in travel-blog page only:
.page.page-id-101 nav#nav-below { display: block; }
Regards,
MaheshMay 19, 2016 at 1:42 pm #91975Michaela
ParticipantAwesome, thanks a lot, it’s working
May 19, 2016 at 4:06 pm #91987Mahesh
Keymaster@micha: Thank you for your appreciation. If you like my support and Catch Kathmandu theme then please support by providing your valuable review and rating at https://wordpress.org/support/view/theme-reviews/catch-kathmandu?rate=5#postform
Regards,
MaheshOctober 14, 2016 at 7:13 pm #101478Michaela
ParticipantHi Mahesh,
last time you gave me a code that lets me show the page navigation at the bottom of my travel blog page only (see conversation above). Now I realized I’d also need this page navigation to show on the bottom of the following pages:
– category archive
– monthly archive
– search (e.g. http://travelintense.com/?s=french+polynesia&submit=Search)
Which code do I need for this?
Cheers,
MichaelaOctober 17, 2016 at 10:09 am #101608Mahesh
Keymaster@micha: Add the following CSS:
.search nav#nav-below, .archive.date nav#nav-below, .archive.category nav#nav-below { display: block; }
Regards,
MaheshOctober 18, 2016 at 8:42 pm #101734Michaela
ParticipantThat worked, great, thanks a lot Mahesh!
October 19, 2016 at 10:16 am #101752 -
AuthorPosts
- The topic ‘Page navigation not working’ is closed to new replies.