Viewing 1 replies (of 1 total)
  • Plugin Author Johannes van Poelgeest

    (@poolghost)

    Yes of course.

    Put this code in your functions.php file.

    add_shortcode('option', function($atts) {
    return get_option($atts['option_name']);
    });

    use the shortcode this way.

    [option option_name=your-option-name]

Viewing 1 replies (of 1 total)

The topic ‘Support for shortcodes?’ is closed to new replies.