TwentyFourteen Theme : Changing grid layout

Figured this out – had to change the container to hold image widths of 24.9% or 50% depending on layout, remove the clear from both post divs and stretch the .site width to 100%. From there I had either 4 horizontal images or two x two set-up. If anyone has any questions about this feel … Read more

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’ );

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)