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:
- WordPress 5.3 update causes media library file upload to break – Cannot convert undefined or null to object
- What plugins do you commonly install on a fresh WordPress install?
- Publish author posts only with editor approval?
- how to change default icon of custom plugin?
- List of all existing WordPress plugins
- How does WordPress official repository estimate ‘Active Installs’ of a plugin?
- How to work with Syntax Highlighter Evolved?
- WordPress Admin is displaying Not Available
- User-Specific Timezones? Hack? Plugin?
- Disable plugins on cron and ajax page
- Automattic’s eCommerce Plugin
- How to remove/hide action links cluttering under specific plugins’ names
- How to develop a community feature in the dashboard for multiauthor site
- Which hook should be used to validate custom form fields on the login form?
- Using the media uploader in a custom plugin
- Is there a plugin to protect downloads with recaptcha?
- Problem running Ajax in WordPress
- Plugin child folder?
- How would one split content of a post into pages?
- Theme and Plugins sharing common libraries
- All Updated Plugins Disappeared
- Counting pageviews on high-traffic cached sites
- How to change Thumbnail size of next Gen Gallery plugin?
- Questions about brute force attacks on the admin username, coming from amazon IP addresses
- What’s the _wp_desired_post_slug value for?
- Correct wp-content ownership and permissions
- How to check what plugins used to be on a WordPress installation?
- WooCommerce: Change default country on the cart page [closed]
- How can I list recent posts excerpts?
- Why isn’t “background-image: url”working with Bootstrap carousel on WP?
- Plugin Deactivate Self on Activation Errors
- Form doesn’t submit on second submit call
- What would be the advantages/disadvantages of remote plugin installation?
- How to slice an array using posts_per_page? [closed]
- Should I fetch the data managed by a plugin by using its APIs or WordPress APIs?
- Use translated taxonomy labels in plugin
- Show an image in my header.php
- Plugin appends ugly URL string to index
- Scripts at the end of the page
- Installing a plugin on a premium site [closed]
- White page by using filter template_include
- WordPress Keeps Logging Out – What Tests Can I Run to Solve This?
- Facebook Messager Plugin
- How to save inputed data in a textbox [EDITED] [duplicate]
- User switching only with specific role and return
- WordPress Payment gateway add on form , how to add form into list or else how to submit form to next step for payment
- How WordPress is able to change locale without using setlocale
- Better ads plugin has 500.000 entries in wp_postmeta
- Render Modula Plugin Shortcode On Ajax Request
- Saving widget options from class method
- This WordPress plugin isn’t creating links correctly
- Basics of changing plugin output
- WordPress plugin url for form submit
- how to place a link on the first post only using a plugin
- Minimizing scripts & css files that plugins add
- correctness of URL
- remove ad to cart button and view more button if product price is empty
- Override plugin template
- Call a function for social sharing
- Add a file upload field
- Is there anyway to rewrite woocommerce-template.php?
- Apply html elements in php statement
- How to find the WordPress Nextgen galleries which are not used in WordPress posts?
- How to get authors who have added the post in the specific custom post type
- Get product categories and add them to a custom taxonomy
- I want to add the below chatbot html code to index(main) file of WordPress sites how can I do that
- add_rewrite_rule to load different page, without changing URL in browser
- Gzip compression or Mod_deflate not working
- How to find the file path in WordPress?
- Shortcode show error while editing post
- Which membership plugin for a simple sign in? Personal areas for customers
- What are the disadvantages of using template_redirect for restrictions
- Multiple image selection custom widget
- Execute inline javascript in wordpress after page fully loaded
- Circular Menu to show on pages
- Swap themes locally
- Different function call depending on shortcode?
- How to execute certain code on back-end button press?
- How to add add blank non-editable wp page like default blog for use with plugin
- How To Add Code To WP Without Plugin or Functions
- Home page letters
- Run one-time script calling plugin functions
- Adding icons next to categories in wp_nav_menu
- Custom plugin breaks css.php on Multisite
- admin panel save option with ajax
- Woocommerce Subscriptions – Customer change subscribed product after placed
- How to Change MU/BuddyPress Group Blog New Installation Defaults [closed]
- Retrieving old forms in Contact Form 7 [closed]
- Advice on setting up private site
- is ther a plugin that will hide/show content for a scheduled period of time? [closed]
- update_post_meta not working
- Pulling Advanced Custom Fields from other pages
- 404 not found problem with URL rewrite custom category
- Trying to use Advanced Custom Fields with custom image sizes
- Loading post that has visual composer data inside lightbox? [closed]
- Manage Inventory Without Displaying Levels
- registration plugin [closed]
- Which action/filter can i use for a Member Plugin [closed]
- How do I edit the action URL on a widget form from a plugin?
- Display Any Field fromAdmin Panel in Frontend via Shortcode?