• Hi
    I am using the cusomtizr theme (child)
    Does anyone know how to make the author and update show up on pages? I have enabled it to show up on posts, but not the pages. Is there a special code to add or is there somewhere within the theme structure to turn that on?
    Thank you in advance for your help.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi Daisy,
    adding this to your child-theme functions.php should do the trick:

    add_filter('tc_show_post_metas', 'metas_in_pages');
    function metas_in_pages( $bool) {
      return is_page() || $bool;
    }

    Hi,

    sound great. And how can i have these as options in a hentry tag?
    These are still missing.

    Cheers
    Nicolaie

    Thread Starter daisyb11

    (@daisyb11)

    Hi d4,
    Thank you so much for your answer. Would you mind to tell me where to add it? Do I add it into every page in the text mode? where is child theme functions php?

    I really appreciate your quick response. The errors on my site are because of missing author and missing updates on pages and posts. You already helped me enormously with fixing the posts. Thank you very much for that.

    Google still wants the by author and update thing on pages too. I manually typed it into each page but google ignored it. I guess the robot thought it was just words of the page.

    I greatly appreciate the time and effort of your help.
    Daisy

    Hi Daisy,

    this should be added to the functions.php in your child-theme of customizr, as noted by d4.
    If your are lost then install the plugin “Childify Me” and adjust your customizr where you can create your child theme. Then switch to it and your customization is grepped.

    cheers
    Nicolaie

    Thread Starter daisyb11

    (@daisyb11)

    Hi Nicolaie,
    I already have the childify theme installed. I am using the cusomtizr theme (child).

    I was asking “where is the child theme functions php?” when I am in wp editor on my site.

    Ok Daisy.

    you’ll have to create the file by yourself in the filesystem under the child theme directory.
    Then edit and save the code above in that newly created file.

    If you have the child activated in WordPress then it should work.
    By this it overrides the theme defaults. On the other side a theme update does not override your defaults.

    Cheers
    Nicolaie

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How can I make author name and updates show up on pages’ is closed to new replies.