• Avrohomd

    (@avrohomd)


    At the top of each post there appears:

    Written by ______________

    followed by the date the post was written

    How can I remove this?

Viewing 15 replies - 1 through 15 (of 17 total)
  • somedudes

    (@somedudes)

    Hi there,

    Go to theme folder, find content.php and remove this line.

    <li><?php _e( 'Written by', 'minimatica' ); ?> <?php the_author_posts_link(); ?></li>

    Good Luck.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Noo, don’t do that. You’ll lose your changes when the theme get’s updated.

    Instead create and activate a child theme of Minimatica, copy content.php into that child theme directory and then make that edit.

    https://codex.wordpress.org/Child_Themes

    somedudes

    (@somedudes)

    Yeah, you should edit in your child theme. Forgot to mention that.

    Thread Starter Avrohomd

    (@avrohomd)

    Thank you Somedudes and Jan D.!

    I’ll give this a try and get back to you.

    Avrohom

    gulabshah1990

    (@gulabshah1990)

    some here i dont know how to remove and i finding alot but still didnt found and i dont know how to edit

    Thread Starter Avrohomd

    (@avrohomd)

    I made a child theme and stylesheet and edited content file. And it worked!

    Thank you to both of you!

    BTW, I did run into trouble when on the page describing how to make a child theme they wrote:

    The only required lines (in the style sheet) are the Theme Name, and the Template.

    This is not true. Also required (yet for sure to you this is perhaps simple) is the line:

    @import url("../twentyfourteen/style.css");

    while changing “twentyfourteen” with the name of your parent theme.

    How can we get this page revised?

    Avrohom

    Thread Starter Avrohomd

    (@avrohomd)

    I joined:
    http://codex.wordpress.org/Codex:Contributing
    to make this change into the Codex about Child themes.

    Avrohom

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    This is not true. Also required (yet for sure to you this is perhaps simple) is the line

    That’s not really correct. You normally would add that @import line but it’s still a child theme without it.

    Thread Starter Avrohomd

    (@avrohomd)

    But wouldn’t you be missing the parent’s style sheet without it?

    Aren’t we just trying to modify the parent theme — not to make our own new theme?

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    But wouldn’t you be missing the parent’s style sheet without it?

    Well, yes. πŸ˜‰ But if you were intent on making wholesale CSS changes without messing with the PHP or HTML then that would be fine too. Still a child theme but lots more work for the designer.

    That depends. There may be situations where the child theme’s creator doesn’t want any of the parent’s CSS. As Jan said, that doesn’t stop it being a child theme.

    Thread Starter Avrohomd

    (@avrohomd)

    So should the Child theme article mention that:
    usually this import line is necessary?

    The codex child themes page does mention this. I’ve just checked it to ensure that it does. See Child Themes.

    Thread Starter Avrohomd

    (@avrohomd)

    Yes, Esmi, I just today changed a few lines. It read before:

    The only required lines (in the style sheet) are the Theme Name, and the Template.

    It showed the import line in the code but didn’t say it was necessary or usually needed. Is my change a good change?

    I just today changed a few lines

    Which I then added to. πŸ™‚

    There is no mandatory requirement to import the parent’s stylesheet into the child.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘How remove author's name in theme Minimatica?’ is closed to new replies.