WordPress.org

Forums

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

  1. Sjourney
    Member
    Posted 2 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?

    http://wordpress.org/extend/plugins/ultimate-modal/

  2. holgerhubbs
    Member
    Posted 2 years ago #

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

  3. Sjourney
    Member
    Posted 2 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
    Member
    Posted 2 years ago #

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

  5. Claudio Sanches
    Member
    Plugin Author

    Posted 2 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

Tags

No tags yet.