Note about translations : before you start coding anything, note that the “Search” string in the search forms is a WordPress string. If this string is not translated in your language, make sure you update your WordPress language translation on WordPress Polyglots. In case you want to change […]
Function: str_replace()
The slider of the Customizr theme is used to attract attention to certain important posts. What if you want to give emphasis to some words in the Slider title, for instance, ‘FREE‘? Can you enlarge specific words in the title? To achieve this effect, just paste this to your child […]
The Hamburger Menu or the 3-bar Menu of the Customizr theme has the default label ‘Menu’ next to it. To change the default label to custom text, just paste this function into your child-theme’s functions.php file. /************************************************************************/ /* Change default menu label ‘Menu’ to ‘Custom Word’ /************************************************************************/ add_filter(‘tc_sidenav_menu_button_view’,’my_menu_label’); function […]
As you surely know you can display the featured image in single post contexts, with the option located at Appearance -> Customize -> Content: home, posts, … -> Single posts Once enabled Customizr(-Pro) will show either the featured image (also called ‘post thumbnail’) or the first post attachment, if the […]
If you need to add Scrollspy to the Navbar: Where to copy/paste this code? We strongly recommend you create a child theme. Everything you need to know about creating a child theme with Customizr here. /* START OF Add Scrollspy to the Navbar (Needs additional php code in Child Theme […]
Here’s a quick snippet to change the title attribute of the social links that’s displayed when the mouse moves over the link’s icon. By default, it can take two forms : – for rss : Subscribe to my rss feed – for the social networks : Follow me on [the social network] Let’s […]
Hi, the following pieces of code change the default behaviour of the Customizr theme menu : 1 displays the dropdown items on hover instead of click 2 enables the click on a parent menu item It is composed of two parts that work together : a css snippet and a […]