The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End WP Global Custom Fields Code

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #27442

    I found a cool bit of code in the Digging Into WordPress about using Global Custom Fields. It requires inserting a bit of code into your functions.php file:


    Global Custom Fields

    Amazon ID:

    Unfortunately, it produces this error when I try and view the wp-admin:

    Parse error: syntax error, unexpected ‘<‘ in [domain redacted]/html/wp-content/themes/hawpTheme/hawpTheme/functions.php on line 7

    Line 7, in the PHP file, being the first line of code of the above snippet. There might just be something wrong syntax-wise?


    It may help if you were to post the whole code.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Back End’ is closed to new topics and replies.