Target: Titles

9 posts

Change title of time-based archives

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: […]

Removing the title links in post lists

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”> […]

Adding an update status next to post titles in WordPress

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, […]