Get PHP Code Not working?

Support General Get PHP Code Not working?Resolved

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #33520
    dom@viewtolearn.co.uk[email protected]
    Participant

    Hi

    Latest version of MetaBox
    Latest wordpress
    Oxygen Builder latest version

    trying to get php for a settings page and custom fields for it. Each time I click the button nothing seems to happen.

    Many thanks

    #33533
    Long NguyenLong Nguyen
    Moderator

    Hi Dom,

    Can you please deactivate all plugins except Meta Box, MB AIO and switch to the standard theme of WordPress (Twenty TwenyOne) and re-check this issue?

    #33546
    dom@viewtolearn.co.uk[email protected]
    Participant

    What I had missed, stupidly, was that after one clicks the get php code button, there then appears another one , Generate, which needs to be clicked.

    I may be wrong but I think that bit is missing from the documentation.

    #33559
    Long NguyenLong Nguyen
    Moderator

    Hi Dom,

    Glad to hear it works. You need to click on the button Generate to get the code, it is also written down in the documentation

    On this screen, set the text domain (for field labels in case you want to translate them in a multilingual website) and the function name. Then click the Generate button to generate the code. Finally, click the Copy button to copy the code and paste it into your theme’s functions.php file.

    https://docs.metabox.io/extensions/meta-box-builder/#getting-php-code

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