How can I add the Post ID to Class Name in Jquery?

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”); }); });

How to only fetch certain Tag ID’s

get_tags function accepts include argument. You could pass by it ids of tags you want to get. $tags = get_tags(‘order=ASC&orderby=name’); change to $tags = get_tags(‘order=ASC&orderby=name&include=12,45,67’); 12, 45 and 67 are ids of tags get_tags on codex

Adding microdata using Structured Data Markup Helper HTML

By default TinyMCE, the (visual) editor of WordPress, strips schema microdata from input. There are plugins (example) that will prevent this behaviour. Or you can do it yourself by adding this snippet to your functions.php (docs): function wpse238918_allow_schema ($in) { if(!empty($in[‘extended_valid_elements’])) $in[‘extended_valid_elements’] .= ‘,’; $in[‘extended_valid_elements’] .= ‘@[id|class|style|title|itemscope|itemtype|itemprop|datetime|rel],div,dl,ul,dt,dd,li,span,a|rev|charset|href|lang|tabindex|accesskey|type|name|href|target|title|class|onfocus|onblur]’; return $in; } add_filter(‘tiny_mce_before_init’, ‘wpse238918_allow_schema’ );

How to add thumbnails from recent posts to owl-carousel in wordpress automatically?

I can’t see your site. However, based on the code you added, you could try something like this: css: .owl-controls .owl-pagination .owl-page span{ height: 50px; width:50px; background-size: cover; background-position: center;} JS: $(‘.owl-controls .owl-pagination .owl-page’).each(function(index, value){ $(this).children(‘span’).css(‘background-image’, “url(‘”+$(‘.owl-carousel .owl-wrapper .item’).eq(index).find(‘img’).attr(‘src’)+”‘)”); }); Here is a working example: http://codepen.io/BertoMejia/pen/LRLRBg