Use Settings Page field in Menu

Support MB Settings Page Use Settings Page field in Menu

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #46022
    Travis ReasonTravis Reason
    Participant

    I'm trying to render a URL from a settings page in the menu. The settings page is called Business Info, and the custom field is Application Link. I want the URL entered into this field to be the URL on a Custom Link item in my main nav.
    I've tried entering this in as the URL field:
    [rwmb_meta id="application_link" object_id="site_option" object_type="setting"]

    This ends up being converted to http://[rwmb_meta%20id=application_link%20object_id=site_option%20object_type=setting]

    Is there anyway to call a custom field value into this URL field in the standard WordPress Menu editor?

    #46033
    PeterPeter
    Moderator

    Hello Travis,

    WordPress itself doesn't support adding a shortcode to the menu. You can try to use a third-party plugin to insert the shortcode to the menu item https://wordpress.org/plugins/shortcode-in-menus/

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