You are using css to display none we don’t need to use show() function.
Please click on javascript icon in fiddle and select any jquery1.9.1 or above version . Update this code and run ( http://screenshotlink.ru/8f491216a33e437f762eb8815efec77d.png )
$(document).ready(function(){
$('.share-icon').on('click',function (e) {
var id = $(this).attr("id").split('-');
$('.post-share#post-share-'+id[2]).css("display","block");
});
});
Related Posts:
- wp_enqueue_style built in styles
- How to remove default style of header in wordpress metabox
- CSS not affecting widget output
- How to create A – Z List with pictures?
- Are there any scripts, classes, and/or functions built-in to WP for a plugin to export/import its saved data from wp_options?
- how to search users by ajax live search
- jQuery selectors for editor elements safe to use?
- Display WordPress the_content() via data attributes
- Serve text/html from wp-json API via WPEngine, headers not being set properly
- Accordion scrolls page too low after clicking on the title [closed]
- javascript datatables in a plugin
- Following WordPress Markup Is mandatory, got awkward resultyby wordpress standard markup?
- WordPress Multiple Navigation bars
- WordPress custom taxonomy check box to dropdown
- Hide shortcodes “code” when using the “editor” the same as wordpress do with “gallery”
- jQuery does not enqueue for my purpose… (before an inline script in the footer)
- Plugin – Make sure jquery is loaded in my settings page plus my JS file
- How can I avoid conflicts between plugin and theme?
- jQuery in WordPress Plugin
- Plugin Development/ Stop CSS clashes.
- Can’t change the style of a submit input type? [closed]
- Make a plugin page out of influence of the theme’s style
- WP Plugin Running before jQuery
- jquery & ajax sending data to php
- should i be checking for jquery before enqueing it in a plugin
- Google yolo one tab signup plugin avilable in wordpress? [closed]
- jQuery instantly executes (a button click and css change) on load
- How to include jQuery into my plugin so I can use it on plugin page?
- Ajax submit result opens in admin-ajax.php
- Adding a Calculator to a WordPress Page
- How to add a dvi tag to a shortcode then change a generated text using jQuery
- Distributing Frontend Assets with Plugins
- My stylesheets are not enqueuing
- Custom Plugin – CSS works, JS doesn’t
- how to get the post id in plugin
- Jquery was not found on this server
- insert query on a custom table using ajax with jQuery plugin Jeditable
- How to enqueue scripts in right way in a plugin?
- Are there any official or unofficial guidelines for the styling of a widget?
- Proper way to include stylesheet for panels
- making a plugin that moves other plugins wp_head actions to wp_footer
- Apply styles to blockquote element with the WYSIWYG editor
- Images under 1MB are not being compressed
- Ajax: Populate with content from a post’s ID not working – duplicating current page html instead
- Data not insert and update through ajax and jQuery in admin page?
- How to change WooCommerce loop product title HTML output in single product page and archive page
- WP ajax requests not stacking?
- Need help about understand api, wp, $ syntax in WordPress plugin script
- Styles don’t load correctly. Insecure content
- Insert Into Post Not Working For Audio File Using jQuery
- Completely isolate a plugin view so it doesn’t load the theme
- How to disable a jQuery plugin on WordPress plugin page
- jquery in wordpress plugin with depdendency
- ajax working when function is on child theme but not in plugin page
- Using function from enqueued .js file in theme in plugin?
- Does WordPress default CSS have Grids?
- jQuery UI tab does not work in the plugin page
- Best practice for Designing a Plugin with this scenario
- Include HTML (Bootstrap Modal Box) with a plugin into my header
- How to overwrite iris color pallates from theme to plugin
- A function that will remove HTML and tags from a string?
- How to insert HTML/CSS/JS into my iframe plugin?
- Ajax +wordpress onClick link redirect to new page and create html content
- Use options to control jQuery plugin
- The Events Calendar Plugin – List View Background Colour Issue [closed]
- Thickbox in Plugin settings page?
- How to localize data array in plugin’s option page
- How To Protect Plugin Display From Being Affected By Theme’s CSS
- sanitizing/escaping plugin options
- Load stylesheet in edit category page?
- Load php file with jquery in single.php
- CSS not being applied using wp_enqueue_style
- WordPress Plugin Authoring question about jquery and css
- Loading Images from Javascript on the Front End
- Using jQuery prepend() with file include
- How to deal with different jQuery versions?
- Get cat parameter from admin-ajax
- How to add some basic inline CSS using existing plugin or theme?
- Font size of HTML content
- Ajax on the Administration Side of plugin – returns 0
- Why my theme’s css not working on another site
- WordPress plugin development theme issue
- wp.media gallery collection sometimes undefined
- escape html in jQuery for WordPress
- Jquery php request is returning a weird result
- Query String Filtering API
- Multiple TinyMCE on button click is initialized and appended but why only last one is writeable?
- Add other class content with reference class value
- Why does theme’s reset CSS have higher precedence of plugin’s CSS?
- Overriding inline !important CSS with Javscript code snippet with media query
- jQueryUI draggable doesn’t work in WordPress plugin
- Twenty-seventy theme remove additional CSS from head
- $ is not defined [duplicate]
- Drop down question
- How to make jquery slider to start afresh [closed]
- setTimeout not working in jquery
- I’m including a html file in my plugin, but it can’t find its css or js files
- Unable to use Datepicker in a table when inserting a row
- WordPress Jquery with heade and footer sritp plugin
- WordPress Ajax not returning Response