How to Add Code to Functions.php Properly?

by 2 replies
2
I'm trying to install the code referenced on the Installation tab for the Next Page, Not Next Post plugin, and I keep inserting it wrong, which causes errors.

What is the proper syntax to insert this code at the end of my functions.php?

What am I doing wrong with the brackets?
#programming #add #code #functionsphp #properly
  • Should I just add that code to the end without any brackets, perhaps?
    • [1] reply
    • It doesn't go in functions.php.

      It goes into one or more of the php files responsible for displaying posts/pages/home

      single.php, page.php and content.php are some but not all of the possible places where it could be added.

Next Topics on Trending Feed