Just one thing to make sure of, you must put the page id in the brackets for the “is_page()” function. If your page ID was 12, you’d use it like this:
if( ! is_page( 12 ) ){
You can find a page’s id by editing it and looking in the URL for “post=”. The Page ID will be directly after the “=” sign in the address bar.
Related Posts:
- How to create custom message on plugin update
- wp_dequeue_style not working
- Stop a plugin in the activation process when a certain WP version is not met then show error message in admin_notices action hook
- How to Add a Third Level Sub Menu to the WordPress Admin Menu
- How to Add an Index to Plugin Database table
- How to add “Stick this post to the front page” to front end?
- Creating two database tables via plugin
- Is it a good idea to edit an already existing plugin to add more functionality?
- How to allow HTML tags into WP Bakery (formerly Visual Composer) `textfield` parameter
- How to make media upload private? [duplicate]
- How to trace the cause of these PHP notices and warnings for class-wp-query.php?
- What are good plugins for beginners? [closed]
- Modify featured image URL at runtime
- Some plugins adding full server path after url (with custom wp-content folder)
- Custom Widget outputs the input but doesn’t save anything inside the textarea
- Is it possible to block subscriber users to changing its password?
- debugging register_activation_hook()
- How to unregister a widget from a child theme
- wordpress plugin that show my reputation (points) in any stackexchange project in my wordpress blogs
- Why load_textdomain work but not load_plugin_textdomain?
- Passing select control value to block
- How to add custom JS to tinymce in wordpress
- Collaborative post submission [closed]
- Disallow authors to edit/delete their own or other published posts
- What are ideal hooks to call register_sidebars?
- WordPress is giving errors after activating WP_DEBUG
- plugins_url function mixes system path and URL
- how to Include json manifest file in wp plugin
- The called constructor method for WP_Widget in GFWidget is deprecated since version 4.3.0! Use
- Wondering what these multi-colored extra pages are?
- Custom CSS for plugin form
- Facebook Like needs confirmation?
- How does automatic redirection for the redirection plugin work?
- Avoid class name collision when using third party libraries in plugins?
- Plugin custom post type – Internal server Error
- Is WP feature image function cropping images? WP Content Slideshow
- Linux Permissions and Ownership for WordPress
- SQL to order by CPT results by user->display_name w/only user->ID known
- Plugin development: Buggy plugin preview
- Procedural Question on Plugin Installation
- Render custom php template into string
- allow photo/video in comments
- Excluding private/protected posts via IP
- Can’t get Gutenberg InspectorControls to work
- Some one is trying to hack my website, Need guidance [closed]
- Choose which plugin to run based on user?
- Mass SQL WordPress Meta Key deletion
- order posts by `meta_key`, Does not display posts that does not have `meta_key`
- How do I make a secure API call from a shortcode when a button is clicked?
- Too many login attempts
- How to change the wp_upload_dir() path in plugin
- Ambrosite Next/Previous Post Link Plus or WP next_post_link to cycle through top level category
- How to add options to the plugin page?
- Can the uniqueness of the plugin file/plugin slug and version number be trusted?
- How can I redirect some pages to new subdomain? [closed]
- wp-mail attachment is not sent for no reason?
- I can’t change permalink in WordPress 4.5.3
- merge wordpress plugins
- quicktag breaking FancyBox plugin on my blog’s front page
- Can’t create new CPTs when menu hidden
- Localise settings section headline
- Google Appointments in WordPress?
- Navbar affect loading all products
- How to make a Product page without ordering and database
- Codeless random token generation to pass into multiple tracking links in a single page load
- wp_options not returning value for logged out users?
- Custom WordPress feed on Apache server returning 304 response for if-modified-since
- RSS Feed on WordPress showing code (hypertext) in articles titles
- Warning: call_user_func_array() expects parameter 1 to be a valid callback, function
- WordPress Gutenberg How to make TextControl Required?
- Display a number value from mysql query in WP
- Front Page of Site Has Gone Replaced By Random Page
- How to deprecate a hook used in a plugin?
- Creating categories while importing via CSV
- How can I show login popup when user clicks on download button
- Flexslider empty slide
- Add subemenu option page
- get_permalink is causing a whitescreen
- Adding javascript to header of MetroMagazine theme
- How to Save settings of custom tab product page in admin side in a database?
- Issue: CSV file upload works only when “View page source” is done
- Meta box: Undefined index
- Unable to Retrieve Setting Value for my Plugin
- How to delete user meta by key
- galleria for WordPress not working properly on Mobile devices (responsive)?
- Get plugin versions in xml/json format
- Remove ‘Publish to Facebook’ checkbox for Facebook page publish plugin
- Make a wordpress site similar to Hot Or Not – Image rating system [closed]
- How to submit readme.txt file in wordpress directory
- wordpress shortcode A executing code from shortcode B
- Plugin for Reading Documents, PDF’s etc
- How to create plugin list groups?
- WordPress Code Access to Restricted Content without Registration
- How to pre-set WordPress settings for specific posts?
- Two sites one PC
- PHP if url extension action=discussion condition use [closed]
- How can I make my plugin detect if a certain theme is active?
- How to add an active state class to my info box
- Using ACF to allow user to add and edit multiple saved forms
- Difficult case to solve – Select + select = result(related data)