• Resolved jadeburn

    (@jadeburn)


    I’m wondering if it’s possible to have the corner ad behave differently on subsequent pages – perhaps through cookies.

    If a person sees the ad on the homepage and then navigates to another page with the ad, it would be ideal if the corner didn’t open automatically on subsequent pages.

    Any plans to make such a feature, or of how I might implement it myself?

    Great plugin, so I’m just hoping to make it even better.

    Thanks.

    https://wordpress.org/plugins/corner-ad/

Viewing 1 replies (of 1 total)
  • Thread Starter jadeburn

    (@jadeburn)

    FYI, I solved the problem by purchasing the pro version so I could create additional ads with different behavior and only have the automatic corner roll down on the homepage.

    <?php
    if ( is_front_page() ) {
        // This is the front page (homepage)
        echo do_shortcode( '[corner-ad id="1"]' );
    } else {
        // This is not the front page
        echo do_shortcode( '[corner-ad id="2"]' );
    }
    ?>

    But if there’s an ability to control more finely using cookies, that would be fantastic.

Viewing 1 replies (of 1 total)
  • The topic ‘Alternate behavior on subsequent pages’ is closed to new replies.