Customizer – Add Edit Shortcut Onlu

  • Unknown's avatar

    Currently, to add an customizer edit shortcut (the pen shortcut on customizer preview) is required to add an partial (an function that will give the rendered HTML to replace on the edit preview).

    This is an problem when you want to only add the shortcut only to help the user see where the setting need to be edited but still refresh the page or use JS to show the preview (an background for instance).

    In my case, i want to make an JS script that will automatically detect what need to be replaced, without an PHP render_callback function. (my script will check the selector HTML and use string search and replace to detect where the settings was inserted) and i want the edit shortcut only to help the user to find the edit field.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Sorry the right title is: Customizer – Add Edit Shortcut Only

    and i doesn’t need help on an specific blog (i can’t edit the topic).

  • The topic ‘Customizer – Add Edit Shortcut Onlu’ is closed to new replies.