Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    Hi @redbarnblankets,

    You can specify by adding an is_page() check to your CSS snippet:

    add_action( 'wp_head', function () {
        if ( ! is_page( 42 ) ) return;
        ?>
        <style>
    
        /* css code here */
    
        </style>
        <?php
    } );

    Hello, i think this is a good idea.
    Is it possible to add a dropdown with pages and post types on the option “Only run on site front-end”.
    This was a very cool feature.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Specifying Page(s)’ is closed to new replies.