The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Ultimate Modal
[resolved] Modal to only show on a specific page (5 posts)

  1. Sjourney
    Posted 3 years ago #

    I'm trying to get the modal to work only on a specific page:
    I was playing with
    if ( isset( $settings['only_home'] ) && 1 == $settings['only_home'] && is_page('page-id-105') ) {

    It didn't work. How do I add a field that would accept a specific page ID or slug name for the modal to only show and load on (without enqueing the .js and .css on every page except the ) designated page?


  2. holgerhubbs
    Posted 3 years ago #

    Take a look at http://wordpress.org/plugins/plugin-organizer/ maybe this could be a solution for you.

  3. Sjourney
    Posted 3 years ago #

    I took a look at it. It wasn't clear how to activate the plugin on a specific page after one deactivates it site-wide through the plugin organizer. Are they referring to using functions.php to enable on the specific page ?

  4. holgerhubbs
    Posted 3 years ago #

    Check your screen options on page/post and make sure that the meta box is visible...

  5. Claudio Sanches
    Plugin Author

    Posted 3 years ago #

    It is not possible!

    In a future version I add support for it.
    But it's no use you edit it to make it, because you will not be able to update it more.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Ultimate Modal
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.