Support » Plugin: Promotion Slider » [Plugin: Promotion Slider] Custom fields

  • Resolved ridclubmba



    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.


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


    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 ‘[Plugin: Promotion Slider] Custom fields’ is closed to new replies.