Tagged: posts
- This topic has 8 replies, 4 voices, and was last updated 5 years, 9 months ago by Sakin.
-
AuthorPosts
-
April 19, 2014 at 7:20 pm #26384sabineMember
Hello,
I can’t find out how to remove the previous & next links in my posts. They have no function for me, so I like to delete them.
Via Google I found this: .post-navigation { display: none; } to be placed in custom css, but that doesn’t work for me.
Thanks.
SabineMy site: http://www.de100morgen.nl
April 19, 2014 at 11:18 pm #26422SakinKeymaster@sabine: You can add the following css in “Appearance => Theme Options => Custom CSS” box.
#nav-single { display: none; }
April 20, 2014 at 1:27 am #26452sabineMemberThanks. That works fine.
April 4, 2015 at 11:18 pm #55117mennamanMemberI have added the #nav-single { display: none; } to my custom CSS as above …
But I am still seeing the (previous & next post) links at the bottom of every post
is there not another way to edit the single.php perhaps to do this. I noticed that single.php does not have the “nav” in that area for me to disable.
I don’t want users to be able to go back and forth through posts… some posts/pages I have, i only want certain pages to be able to get to certain posts. problem is when they look at another post they have those “next” & “previous” at the bottom and are able to get to posts that require a page to be read first.
Thanks
April 5, 2015 at 10:24 pm #55163April 6, 2015 at 1:45 am #55178mennamanMemberThanks for the response. here is a link showing the nav at the bottom.
http://www.logiconts.com/industry-expertise/
Thanks again
April 6, 2015 at 7:15 am #55185SakinKeymaster@mennaman: This is Catch Box Forum and you are using Catch Everest theme, that is why it was not working. We have Catch Everest Forum at http://catchthemes.com/support-forum/forum/catch-everest-public/ . You can just add the following css in “Appearance => Theme Options => Custom CSS” box:
.single #nav-below { display: none; }
February 28, 2018 at 3:13 pm #132570finkyParticipantThat’s great. But another question.
What if I want to remove the navigation from the single.php file?
I am also using a child-theme.I know I could just delete the code from the original version.
But with every update, the code will be back.How do you delete or remove a code when using a child theme?
Is this even possible with a remove function?Thank you so much and keep rocking!
March 1, 2018 at 8:29 am #132588SakinKeymaster@finky: Yes, you can remove any code or add any code in your child theme. It safe to make changes in child theme for updates. If you want to remove code in child theme then just copy the file and remove the code in your child theme. If there are hooks then you need to remove using hooks.
-
AuthorPosts
- The topic ‘Remove previous & next in single posts’ is closed to new replies.