Tagged: 

Viewing 20 posts - 1 through 20 (of 25 total)
  • Author
    Posts
  • #79907
    truewp
    Member

    I want to hide author and date posted but still show the tags for the posts, is that possible?

    #79932
    ShayC
    Member

    Sorry to encroach on your thread truewp, but I’m not sure how to submit a question. my site is called http://www.exathlete.com and I’m trying to get the link within a post to show a different color than the main text. I have tried the theme options content color change but its not working. please help?

    #79939
    Sakin
    Keymaster

    @truewp: Yes you can add the following css in “Appearance => Customize => Theme Options => Custom CSS” box:
    .entry-header .entry-meta { display: none; }

    #79941
    Sakin
    Keymaster

    @ShayC: You can check this screenshot which shows how to post questions https://www.pinterest.com/pin/548594798338119057/

    There is not much color option in Simple Catch Free theme. To change the link color, you can change the color code in the following css and then add it in “Appearance => Theme Options => Custom CSS” box:
    a { color: #000; }

    #79981
    truewp
    Member

    That’s great! Can I also change the words/translation of “Tagged” and remove “Posted in ….” and “Leave a reply”?

    #80004
    Sakin
    Keymaster

    @truewp: You can remove posted in by add in the following css in “Appearance => Theme Options => Custom CSS Box”
    .entry-meta .in-category { display: none; }

    In which language you are translating theme and how are you doing that. To change that text Tagged, you need to change through translation file .mo and .po files

    I don’t get it which Leave a Reply you want to hide. Can you show me the URL.

    #80139
    ShayC
    Member

    Thank you much! worked like a charm.
    http://www.exathlete.com

    #80156
    Sakin
    Keymaster

    @ShayC: Nice 🙂

    #80510
    truewp
    Member

    Actually, is there no way to remove it totally from the code? I want to hide the date from Google and the author from hackers.

    #80546
    Sakin
    Keymaster

    @truewp: If you don’t want to hide and totally remove it from code level then you need to build child theme. For child theme refer to http://catchthemes.com/blog/create-child-theme-wordpress/ and edit the code. I see that you are using Simple Catch theme so, you need to copy content.php in file in your child theme and remove the following code:

    <ul class="post-by">
        <li class="no-padding-left"><a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>" title="<?php echo esc_attr(get_the_author_meta( 'display_name' ) ); ?>"><?php _e( 'By', 'simple-catch' ); ?>&nbsp;<?php the_author_meta( 'display_name' );?></a></li>
        <li><?php $simplecatch_date_format = get_option( 'date_format' ); the_time( $simplecatch_date_format ); ?></li>
        <li class="last"><?php comments_popup_link( __( 'No Comments', 'simple-catch' ), __( '1 Comment', 'simple-catch' ), __( '% Comments', 'simple-catch' ) ); ?></li>
    </ul>

    Note: this code in only for Simple Catch Theme. From next time, please post in proper theme forum. This is Adventurous Theme forum.

    #109826
    Thierry
    Participant

    Hello,
    I want to do the same thing : Hide author and date but not tags in my articles.
    I am using WP 4.7.2
    When I check the appropriate boxes in the article screen options area on the top, it has no effect.

    Is there another setting that I am missing ? ……

    Thanks !
    Thierry

    #109880
    Sakin
    Keymaster

    @thierry: Can you post in your site URL and then I can check in.

    #109948
    Thierry
    Participant

    My site URL is :

    https://weekendalondres.net/

    Thank you !

    #109954
    Sakin
    Keymaster

    @thierry: Try adding the following css in “Appearance => Customize => Additional CSS”
    .entry-meta .by-author { display: none; }

    #109956
    Thierry
    Participant

    I can’t close comments either …..

    #109958
    Thierry
    Participant

    Thank you Sakin for your reply.
    I have tried, leaving the /* and */ after,
    but there is no change

    #109964
    Sakin
    Keymaster

    @thierry: you shouldn’t add /* and */
    You should remove that and just add
    .entry-meta .by-author { display: none; }

    #109980
    Thierry
    Participant

    Great !! It works ! 🙂

    Can you please also help me to remove the date
    and to close comments on articles (remove the “leave a reply”) ?

    Thanks !!

    #109985
    Sakin
    Keymaster

    @thierry: You can replace earlier css with the following
    .entry-meta .by-author, .entry-meta .on-date { display: none; }

    For comment, you can just disable comment in from Comment settings. If you want to disable comment is all new posts, then you can go to “Settings => Discussion” and uncheck “Allow people to post comments on new articles” and “Allow link notifications from other blogs (pingbacks and trackbacks) on new articles”. Check this screenshot https://www.pinterest.com/pin/548594798333127973/

    But for the old posts, you need to edit that post and check “Discussion” option in screen options and then uncheck “Allow comments.” and “Allow trackbacks and pingbacks on this page.”. Check this screenshot https://www.pinterest.com/pin/548594798329843253/

    #110005
    Thierry
    Participant

    Thank you very much for your help !
    Everything works as you described,
    except the situation of this screenshot for old posts :
    https://www.pinterest.com/pin/548594798329843253/

    In fact, when I check “discussion” option, I get a “comment” box,
    but not with the options you mentioned.
    I only get a button that says : click here if you want to write a comment.

    But it’s not too bad if I can disable comments on new articles with the general discussion setting :
    I just need to decide before publishing the article that I won’t want comments …

    Thanks again !

Viewing 20 posts - 1 through 20 (of 25 total)
  • The topic ‘Hide author but not tags’ is closed to new replies.