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?
- How to remove duplicate sub-menu name for top level menu items in a plugin?
- Customizing subject in comment notification e-mails
- category_name not working (not showing up in sql query debug)
- Update Multiple Post Meta for the Same Post In One call?
- How do I configure WordPress to talk to a Microsoft SQL Server database?
- WordPress widget / plugin….fields not appearing in my widget
- How to list the Hooks and order of execution in current loading page? [duplicate]
- How to fetch serialized data from wordpress options
- Add jQuery to WordPress page
- How do I use WordPress PHP functions in my Javascript code?
- Custom Shipping method not showing in checkout
- how to include a simple jquery file into a wordpress plugin
- Write to / remove from default .htaccess file from plugin?
- 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 can I get WordPress to save comments in markdown format?
- Is Wrapping intval() Around esc_attr() Redundant for Escaping Input?
- Programatically download a plugin
- Error with Image Slide plug-in/ s3slider in WP
- How would I go about creating a user ranked post popularity page?
- Redirection of users away from wp-admin (but not administrators)
- code is working properly in Core PHP but writing coding in WordPress
- 306 MB of wp_options occupied by WordPress SEO Plugin, is that normal? [closed]
- jQuery for custom plugin not working with Divi theme
- Perform internal redirect in WordPress?
- Create a plugin from within WordPress
- Class variables not correct on page
- Why is one phpunit test throwing an error on one class when all other classes are similar without error?
- Activate my plugins via FTP
- Duplicate results are displayed in a custom plugin [closed]
- Why is my custom post type not being activated on plug-in activation?
- How to redirect to same page after form submission
- A server-side hook failed when committing plugin code to SVN
- How do I add $_SESSION[”] to my wordpress page?
- I receive taxonomy id
- output html on post or page from custom plugin [closed]
- Loop in elementor custom widget not working
- Built a second plugin but it overwrote the first one
- Creating a functionality plugin to edit seriously simple podcasting
- Asynchronous request in wordpress
- Api external with wordpress
- Make plugin php file called directly aware of WordPress?
- Way to send multiple values for column to MySQL?
- Using meta_query in a WP_Query not working for numbers properly
- Custom meta box with jQuery.sortable custom post type list
- Next Previous Post in wordpress with previous / next link with title?
- Different registration form for different roles
- Apply html elements in php statement
- WordPress Post HTML after Posting
- Settings options not showing up on Sub Menu page in WordPress plugin
- Conditional delete metadata does not works
- How can we get this dynamically as this folder may not be by the same name always → wp-admin
- WP Ajax DB issues
- The Build menu theme is frozen with the wordpress theme
- How can I translate something in my class constructor of my plugin in WordPress?
- Define global variable in theme file and call that variable in plugin file
- Why is my shortcode not working?
- Rename a folder via HTML POST request
- How to translate to spanish wordpress hardcoded content/files?
- working code, not working – Plugin Dev
- SimpleXML is not working with xml response from external api
- WordPress plugin blog creation
- Multiple image selection custom widget
- implement checkbox or toggle switch in plugin code
- Prefix WordPress Taxonomy Tags With Hashtag Symbol Like Twitter
- Change Woo Custom Endpoint Titles from a Plugin
- submit form data to wordpress existing database table using my plugin
- Custom plugin giving: wp-admin/admin-ajax.php 400 (Bad Request)
- Overwriting Plugin’s Ajax callback function from theme
- register_activation_hook doesn’t fire at all
- My ajax request don´t work and return 0
- Populate select option with JSON file
- Can’t find variable is_single in my jQuery plugin
- How to Add Jquery FullCalendar in wp plugin in admin
- How can I insert a record into a custom table from my custom form in my custom admin page?
- Ajax, jQuery and WordPress
- Plugin Breaking WordPress Login
- Hyperlink to execute PHP
- PHP and Jquery pass value from form. Update function on DataBase
- Plugin use of ajax/jquery depending dropdown
- How do I output user_registered time in my correct timezone?
- Ajax in Plugins: returns the whole page
- Unable to show 4 products in a row
- What is the source outline for a basic word press plugin?
- Submit posts in two different post types with the same form
- Load css classes after using ajax calls
- how to search through plugin in wordpress cimy-user-extra-fields?
- Integrating WordPress Content into a jQuery Slider
- How to add custom html to the Media > Attachment Details modal?
- Function not being called on form submit, only blank admin-post.php page
- How can I save the selected page in the dropdown after anyone clicks on Save Changes?
- How to override plugin function in code snippets WordPress
- How to create a “Most Popular” & “Latest” TAB in WordPress
- WordPress Throwing Deprecated Errors on its own Files
- Use inline callable for hooks and filters
- Error in using ‘admin_enqueue_scripts’ action through a class