• Resolved Barinto

    (@bigbtc)


    Hi @nevins

    Thank you for your reply. Can you tell me which PHP file this syntax error is in? It is not in functions or any in the INC folder. Thank you.

    There is a syntax error in your PHP code:

    $parent_style = ‘$parent_style = ‘twentyseventeen-style’;
    Instead it should be this:

    $parent_style = ‘twentyseventeen-style’;

Viewing 5 replies - 1 through 5 (of 5 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    I don’t understand the context of this, can you clarify?

    Thread Starter Barinto

    (@bigbtc)

    I posted this:

    “Hi Andrew Nevins @anevins, everything works well with this theme except when using a “menu button” to move to the the next section, a small part (say 1 inch) of the “header media” (sized 2000×1200) remains in view at the top of each section. I have to use the scroll bar to position the section properly to remove the small piece of header media showing. This also happens with the default header image that comes with the WP Theme. Can you assist with this please, thank you.”

    to which you responded:

    There is a syntax error in your PHP code:

    $parent_style = ‘$parent_style = ‘twentyseventeen-style’;
    Instead it should be this:

    $parent_style = ‘twentyseventeen-style’;

    ………………..

    I cannot find the folder/file that has the php file that needs to be modified per your instructions, Thank you

    https://wordpress.org/support/topic/twenty-seventeen-child-theme/page/2/#post-9631536

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    I wasn’t responding to you, I was responding to the person whose thread you posted in. Please don’t do that, please don’t post in other people’s threads to discuss your own problem.

    If you have a problem you need to open a new thread here to discuss it: https://wordpress.org/support/theme/twentyseventeen/#new-post

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    I’m sorry that came across a bit too harshly than I wanted. Please do open a new thread to discuss your real issue.

    Thread Starter Barinto

    (@bigbtc)

    No worries. I’ve opened a new thread. I apologize for not paying attention to where post.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘syntax error in PHP code’ is closed to new replies.