Metabox Switch with Default Value on Sidebar

Support General Metabox Switch with Default Value on Sidebar

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #40218
    FEDFED
    Participant

    Hello,

    I have found that creating a metabox switch in the main content area allows me to set a default value "on" for that switch. However, if I move the location of the switch to the sidebar, my default value gets ignored, and the switch defaults to "off".

    Please advise,
    Derrick

    #40219
    FEDFED
    Participant

    Clarification - this is for radio buttons, not switches

    #40226
    PeterPeter
    Moderator

    Hello,

    I do not see that issue on my demo site. The default value of the radio field should be a choice, not on/off. Can you please deactivate all plugins except Meta Box, MB extensions and switch to a standard theme of WordPress then check the issue again?

    Please read more on the documentation https://docs.metabox.io/fields/radio/

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