How to Add Code to Functions.php Properly?

2 replies
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?
#add #code #functionsphp #properly
  • Profile picture of the author mrniceguy123
    Should I just add that code to the end without any brackets, perhaps?
    {{ DiscussionBoard.errors[8777017].message }}
    • Profile picture of the author RobinInTexas
      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.
      Signature

      Robin



      ...Even if you're on the right track, you'll get run over if you just set there.
      {{ DiscussionBoard.errors[8778522].message }}

Trending Topics