By default Customizr(-Pro) displays the Category/Tag description after the title. You might want to display it in a different place. With the following snippet we’ll see how to display it below the posts navigation. $term_description_filters = array( ‘cat’, ‘tag’, ‘tax’ ); //do not automatically show term descriptions below the title […]
Function: printf()
Following a user request on the Customizr support forum, I have worked on a simple solution to display your existing content as sections. The whole idea here is to use a selection of the pages and posts already existing in your website, and combine them on a single page. This allow to easily create […]
The following is a simple snippet which describes how to replace the sliders default navigation arrows with icons. The method detailed below will also make it possible to use an image or whatever you want as navigation for your slider. Where to copy/paste the code above code? I strongly recommend […]
Here’s a quick snippet to display both your logo and your site title in the header. add_action( ‘__after_logo’ , ‘display_my_site_title’); function display_my_site_title() { //first checks if there is a logo uploaded $logo_src = esc_url ( tc__f( ‘__get_option’ , ‘tc_logo_upload’) ) ; if ( empty($logo_src) ) return; //then print the […]
Howdy Customizr developer! A clean and simple solution to display a block of content right below the header is to add an action to the ‘__after_header’ hook (located in the header.php template of the Customizr theme). In the functions.php file of your child theme, you can write this kind of […]