• Resolved HairLoss57

    (@hairloss57)


    Hi,

    I have exported a site to a new setup. The old site used the ‘Theme Options’ controls in ‘Customize’ to build the landing page from four WordPress pages, and I can see the same arrangement in the new site.

    However when I go to ‘Customize’ in the new site the ‘Theme Options’ menu item is not showing, despite the fact that ‘Static Front Page’ is set to ‘A static page’ a Homepage has been selected and ‘Posts page’ has been set to ‘–Select–‘.

    Does anyone know how I can turn on Theme Options? Perhaps through the database or putting something in the functions.php file?

    Many thanks.

    I am using a child theme if that makes a difference.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter HairLoss57

    (@hairloss57)

    PS I have tried de-activating plugins, setting all pages to draft and then re-publishing and swapping themes but to no avail.

    Thread Starter HairLoss57

    (@hairloss57)

    I have found the problem, it is a JavaScript conflict.

    When the Customizer is used it opens the website in a frame alongside the menu. I have javascript in the website that adds the post ID to each menu item so that the current page menu item can be correctly highlighted when more than one page has been used to make the front page.

    Unfortunately something in WordPress admin pages is trying to build some javascript before the IDs have been allocated to the menu items.

    I get this error in the debugger;
    Uncaught Error: Syntax error, unrecognized expression: #kf-menu-?customize_changeset_uuid=d93c176c-a1e7-4a2a-956d-a311dc820382&customize_theme=twentyseventeen-child&customize_messenger_channel=preview-0

    When I remove my menu customisation JavaScript the error goes and the Customizer is able to load the ‘Theme Options’ menu item.

    How did you do this? I am having the same problem with the customizer. It is not working

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    @justshe, Unless you’ve been modifying your WordPress dashboard like the original poster, you are not facing the samed problem.

    When I remove my menu customisation JavaScript the error goes

    Please open a new thread: https://www.ads-software.com/support/theme/twentyseventeen/#new-post

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘‘Theme Options’ missing on new site’ is closed to new replies.