Instead of using:
$(document).ready(function() {
$("#hide").click(function() {
$("#container-post").hide();
});
});
use:
jQuery(document).ready(function($) {
$("#hide").click(function() {
$("#container-post").hide();
});
});
Related Posts:
- How to prevent plugins from loading jQuery
- Save user total active time after login in wordpress [closed]
- update_post_meta is not working for me when I use e.preventDefault for update button
- How to get site homepage from plugin?
- Woocommerce attatch files and custom input meta to cart items and then to order
- WordPress plugin installation
- Get image URL from media library in input
- How to create popup same as wordpress popup feature
- Only execute jQuery function(on document ready) on the page has shortcode from plugin [duplicate]
- I would like to use create a function in my custom plugin to tell WP to use a different header
- Getting media library popup in custom plugin admin page
- Create or Update thousands of woocommerce products via PHP
- send_headers don’t work on wordpress multisite
- Handling jQuery Component Collision
- how to include a simple jquery file into a wordpress plugin
- Sanitizing, Validating and Escaping in WordPress (Plugin)
- Escape when echoed
- Scope for PHP Variables Assigned in functions.php or a plugin
- Plugin exceeds memory limit
- Check if email address exists front end with AJAX in a plugin
- Write to / remove from default .htaccess file from plugin?
- Update Option Error: Notice: Undefined index
- Pass a php string to a javascript variable
- Plugin Development sqlite or WordPress’ database
- How to cancel WordPress’ action/filter when using OOP with anonymous callback
- WordPress Plugin Page is Loading in Admin Content Container Instead of Separate Page
- How to trigger $_GET request within admin plugin page?
- How to generate video out of images via WordPress plugin
- How can I get WordPress to save comments in markdown format?
- WooCommerce get_price returning wrong price when used via ajax
- How to ‘clone’ a wp plugin to make small changes
- Open Post Thumbnail in New Child Theme File in WordPress
- Where should I save an API key of my user when installing my plugin?
- Is Wrapping intval() Around esc_attr() Redundant for Escaping Input?
- Programatically download a plugin
- Redirecting to home page after login as custom role WordPress
- Add keywords meta to index.php page
- Custom form action to handle data inside a plugin
- Self deactivate plugins after an action occurs
- Pulling data from custom plugin settings using PHP shortcode and Javascript
- Notepad sticky plugin
- How to periodically scrape and cache strings from remote txt files. – My First Plugin
- WP Post Template – Templates in own folder
- Avoid class name collision when using third party libraries in plugins?
- wordpress plugin is not activating from widget
- Best approach to fetch data from wp options to js file or php file
- Edit Yoast SEO breadcrumbs output [closed]
- Adding a slider captcha to the comment system
- How to put JQuery/Ajax inside shortcode?
- Error with Image Slide plug-in/ s3slider in WP
- How would I go about creating a user ranked post popularity page?
- wordpress site | All-in-one-cufon IE Issue
- Redirection of users away from wp-admin (but not administrators)
- Using a custom plugin to capture input data via Ajax and PHP
- WordPress function not being called from jQuery method
- Ajax contact form widget plugin data not insert in database
- code is working properly in Core PHP but writing coding in WordPress
- Creating a custom post type, adding custom meta fields, preventing all future editability of posts of this type
- How to fetch products with the price in a page on woocommerce using a form or live search with php
- Image upload and download from front-end
- wp_remote_get() returns 403 while file_get_contents() does not
- How to output CMB2 select options from repeated groups select elements?
- Creating a Callback URL for WordPress Woocommerce to update Order Status
- 306 MB of wp_options occupied by WordPress SEO Plugin, is that normal? [closed]
- What are the specifics of WordPress development I need to know? [closed]
- jQuery for custom plugin not working with Divi theme
- Ajax call returning 0
- How to deal with WordPress and Pocket API to automate content curation on my hosted wordpress blog? [closed]
- WP All Import – Execute Imports
- How to replace WordPress Media Upload Window with user’s device window?
- Conditional attributes and logic per product category
- How to create a custom post type that contains another custom post type?
- Perform internal redirect in WordPress?
- Using color picker in plugin, does input attribute order matter?
- More gentle way to hook WordPress custom url
- Apply html elements in php statement
- How to display results from a data table with an encrypted user id?
- How to add custom function to pluggable.php
- WordPress Post HTML after Posting
- Settings options not showing up on Sub Menu page in WordPress plugin
- Ajax request sends url rather than data
- Adding a jQuery modal dialog to the admin area
- How to displaying Custom image, text and default image logo from Redux Framework option panel
- can’t unzip file
- How to Call Specific .PHP file on add_submenu_page selection in Plugin Development?
- Pass PHP variable to javascript
- How to Add text value in Automatically in this conditions?
- Checkbox show / hide output result
- wc_get_template_part doesnt display the content [duplicate]
- i need to make custom cron_schedule with custom interval time as a parameter into a custom payment gateway plugin wordpress
- How do I reinit WordPress plugins dynamically using jS?
- save_post_product action not firing
- Conditional delete metadata does not works
- How to get the custom field value using SQL query
- WordPress jQuery Post – Amending Variable Value Within Function Command
- Unexpected add action function in WP plugin
- How to create admin setting for this small plugin
- Allow a particular user to access a particular plugin?
- admin_notices show after load completed
- Prevent WordPress from sending set-cookie http header