• Resolved Anonymous User 13633193

    (@anonymized-13633193)


    Hi,

    I would like to insert the class “entry-meta” with date, tags, categories, and author, normally present only in the individual articles, in the home page under the title of each article.

    How can I do it? What code do I enter and where?

    This is my website: https://freelysoft.it

Viewing 5 replies - 1 through 5 (of 5 total)
  • All you need to do is to edit Customizr theme’s functions.php

    Thread Starter Anonymous User 13633193

    (@anonymized-13633193)

    Thanks, but what I have to change exactly?

    Thread Starter Anonymous User 13633193

    (@anonymized-13633193)

    I found the solution: insert the following code at the end of functions.php file of Customizr.

    add_filter('tc_show_post_metas' , 'display_metas_on_home');
    function display_metas_on_home( $bool ) {
        return  tc__f('__is_home') ? true : $bool;
    }

    Thats cool. Now since I didnt exactly tell you which code to edit, I bet You have LEARNT.

    Now Im sure any other theme that will pose nearly Or the same error?…I’m sure you will handle it.

    Even cooler if you add it to a Child Theme else it will be overwritten when you next update ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Insert the "entry-meta" class on the home page’ is closed to new replies.