Tagged: 

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #26384
    sabine
    Member

    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.
    Sabine

    My site: http://www.de100morgen.nl

    #26422
    Sakin
    Keymaster

    @sabine: You can add the following css in “Appearance => Theme Options => Custom CSS” box.
    #nav-single { display: none; }

    #26452
    sabine
    Member

    Thanks. That works fine.

    #55117
    mennaman
    Member

    I 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

    #55163
    Sakin
    Keymaster

    @mennaman: Please post in your site URL?

    #55178
    mennaman
    Member

    Thanks for the response. here is a link showing the nav at the bottom.

    http://www.logiconts.com/industry-expertise/

    Thanks again

    #55185
    Sakin
    Keymaster

    @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; }

    #132570
    finky
    Participant

    That’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!

    #132588
    Sakin
    Keymaster

    @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.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Remove previous & next in single posts’ is closed to new replies.