Position a repeated article blocks

Your is_int function is always returning true, because $count/2 is always an integer. is_int from the looks of it, just returns true if the parameter supplied is a number (integer), or false, if its anything else (string). Try changing if(is_int($count / 2)){ … } to if($count % 2 == 0) { //Code for even result … Read more

overlay post title over post’s featured image

Here is the answer for you CSS issue. yes you can achieve that layout using CSS. Just follow this structure: <div class=”parent”> <div class=”image”><img src=””/></div> <div class = “overlay”> Add you title here </div> </div> here .parent must me position:relative and .overlay must be position:absolute with 100%width and bottom:0 . you can play around with … Read more

Display specific main Sub Nav on Woocommerce product pages

Yes you can with conditional tags. https://docs.woocommerce.com/document/conditional-tags/ So depending on whether you wanted it to appear on all woocommerce pages (the listing page as well as the individual product pages) you could use is_woocommerce() if you wanted just on individual product pages you could use is_product() So you would use an if statement to check … Read more

WordPress menu issue after update

Suggest going through all options of the Theme Customization to setup (and understand) everything. Check the Menu area to make sure that the theme is selecting the proper menu. Look at the Menus that are defined to ensure you are selecting the correct menu. Some themes use ‘widget areas’ to allow for different content (including … Read more