Skip to:
Content
Pages
Categories
Search
Top
Bottom

Fatal error PhP snippet from Layout and functionality page

Viewing 5 replies - 1 through 5 (of 5 total)

  • Robin W
    Moderator

    @robin-w

    just loaded that code to my test site, and it runs fine.

    suggest you delete and try it again


    rinh
    Participant

    @rinh

    Thank you for trying.

    That’s odd.

    I’ve tried it again, and also in my functions.php instead of Code Snippets. It doesn’t say there’s any errors until I try to save it.
    I tried another theme as well and also to remove all other custom snippets I got, but the same result.


    Robin W
    Moderator

    @robin-w

    ok, so just looked the documentation says

    ‘& lt;’

    when it should say

    ‘<‘
    etc.
    This is just internet stuff between stating and interpreting.

    so if you copy the code in your first post, then this is the correct code to have.

    I’ll look to correct the documentation


    rinh
    Participant

    @rinh

    Oh! I did not see that the code changed when I pasted it in here and the ‘;’ even disappeared. I kept retrying with the one in the documentation.

    Thanks again Robin, you’re awesome 🙂


    Robin W
    Moderator

    @robin-w

    always good to be called awesome – thanks made my day !!! 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Skip to toolbar