WordPress.org

Support

Support » Plugins and Hacks » Promotion Slider » [Resolved] [Plugin: Promotion Slider] Custom fields

[Resolved] [Plugin: Promotion Slider] Custom fields

  • Hi,

    How can I add custom fields to promotions pages? They don’t show up in the Screen Options, like they do in normal static pages.

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author Micah Wood

    @woodent

    Custom fields are not available by default. To add them, just drop the following code into your active theme’s functions.php file and you should be able to see custom fields appear as an option:

    add_action('init', 'my_custom_init');
    function my_custom_init() {
        add_post_type_support( 'ps_promotion', 'custom-fields' );
    }
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: Promotion Slider] Custom fields’ is closed to new replies.
Skip to toolbar