• Resolved c.eiermann

    (@ceiermann)


    Hi there,

    I created a custom post type specifically for “thank you” pages. For some reasons it shows next/back buttons below the content.

    This means it would mess up google analytics since people could reach thank you pages without filling in the form.

    I double checked all the settings and they are identical to other custom post types I created and they don’t show the next/back links.

    Any idea how to get rid of them?

    Thanks a lot in advance!

    Chris

    Screenshot: https://i.imgur.com/tfCTLLc.png

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Very likely a case of the post type posts using a general template as opposed to a more specific template made for them. Likely falling back to single.php which logically would have next/back buttons for navigating between blog posts.

    You’d want to duplicate single.php into single-CPTSLUG.php and then remove the pagination link code. Replace “CPTSLUG” with the actual slug for this post type in question.

Viewing 1 replies (of 1 total)
  • The topic ‘posts show “next” and “back” button below content’ is closed to new replies.