Render Settings page field in settings page

Support MB Settings Page Render Settings page field in settings page

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #33348
    Kyle MeltonKyle Melton
    Participant

    I have a settings page with a few color pickers on it. On that same settings page I also have an html preview of what the colors would look like on a specific element. I was wondering is it possible to get the values of the color picker and display them in my html from within the settings page? The html is in 'std' => '',

    Thanks!

    #33357
    Long NguyenLong Nguyen
    Moderator

    Hi Kyle,

    Yes, it is possible. But you need to use the function get_option() to get settings page value when registering the field.

    Refer to this topic https://support.metabox.io/topic/code-not-working-with-updated-version/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.