• Terry Pochert

    (@connertmedia)


    How can I remove the Previous/Next option from Posts in the Twenty Twenty-Four theme. I’ve tried some CSS tips found on Google Search using:

    .post-navigation {
    display: none;
    }

    But nothing works. Any help would be appreciated. I’ve tried placing this under customize.php and also on Site Edit->Styles->More Options->CSS What could I be doing wrong?

    SUGGESTION: Perhaps a checkbox under Settings->Discussion might be nice to turn the Previous/Next off/on.

Viewing 1 replies (of 1 total)
  • Hello @connertmedia !

    The Previous and Next links under the post can be removed without using CSS. You can do that by editing the Post template directly:

    • Go to Appearance > Editor > Templates and select the template you’re using the posts (for example, Single Post) and click to open it.
    • Scroll down the template until you see the Previous and Next, then select them.
    • Once selected, delete.
    • Then Save to apply the changes.
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.