• Resolved skmohammadi

    (@mathdl)


    Hi, i want show subscriber button in specific pages only.
    I tried to do it in onesignal.php file using following change, but not worked:

    if (is_home() || is_front_page() || is_single()) {
    	add_action( 'init', array( 'OneSignal_Public', 'init' ) );
    }

    How can i do this?

    • This topic was modified 8 years, 5 months ago by skmohammadi.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Show Subscribe Button on specific Pages’ is closed to new replies.