If you want to change the titles of daily,monthly or yearly archives, add this to your child theme’s functions.php and modify the archive titles to suit your needs. add_filter(‘tc_time_archive_header_content’,’my_time_archive_header_content’); function my_time_archive_header_content($content) { if ( is_day() || is_month() || is_year() ) { $archive_type = is_day() ? sprintf( __( ‘My Daily Archives: […]
Target: Titles
If you want to have the post metas of your single posts displayed before the title and not after the title, add this little bit of code to your child theme’s functions.php add_action (‘__before_body’ , ‘move_single_post_metas’); function move_single_post_metas() { //checks if we are displaying a single post. Returns false […]
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 Customizr theme displays by default your post titles as links pointing to the single post. Here’s a simple way (using some javascript) to remove those links if you ever need to. Paste the following code in your functions.php : add_action(‘wp_head’ , ‘remove_post_list_title_links’); function remove_post_list_title_links() { ?> <script id=”remove-links-in-title” type=”text/javascript”> […]
There are cases when you need to set a custom titles for the featured pages displayed on front page. By default, Customizr uses the titles that you have defined for your pages. You can easily change this with the following snippet. 1) Grab the page’s id for which you need […]
In the Customizr WordPress theme, you can easily change the default h1 html tag of the post or page title with the ‘tc_content_title_tag’ filter. The quick example below illustrates how to change every post of page title to h2 (instead of the default h1) add_filter(‘tc_content_title_tag’ , ‘my_title_tag’); function my_title_tag() { […]
This simple snippet adds an update status after your post title in WordPress. It checks if the post has been updated since its creation and if this update is less than n days old. If the condition is verified, it adds an update status text after the title. In this example, […]
Did you ever wanted to distinguish your newest post in front of the other posts in the list ? This snippet will allow you to make your latest post look different (in any category) and to dinstinct itself from the rest. Where to copy/paste this code? The best way to customize […]
If you find this icon ugly or you just don’t want to see it, copy and paste the following code in the custom CSS section of the customizer options : .page h1.format-icon:before { content: none; }