• Resolved yesilaski

    (@yesilaski)


    Hello, I have a few questions about the colormag theme. I will be grateful if you could help me.

    1- Red Box: I just want to hide the date and comment in this field?

    2- Blue Box: I would like to add an icon at the beginning of this post as above?

    You May Also Like

    • This topic was modified 4 years, 6 months ago by yesilaski.
    • This topic was modified 4 years, 6 months ago by yesilaski.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi @yesilaski,

    Can you please provide the site URL so that I can see the issue first hand and provide you with the appropriate solution?

    Thanks and Regards,
    Ankit

    Thread Starter yesilaski

    (@yesilaski)

    Site URL: Ye?il A?k?

    Hi @yesilaski,

    Currently, there is no option in the ColorMag theme to hide the date and comment in the post meta section, but there is an option to disable the post author, date of post, comments number, etc in the site available in the pro version. You can contact us via https://themegrill.com/ Chat Support if you need further detail.

    Thanks and regards,
    Ankit

    Thread Starter yesilaski

    (@yesilaski)

    Hi @tgboy,

    I found a workaround for hiding history and comment in post commodities like this. I deleted the following codes. (inc/related-posts.php)

    For Comment;
    <span class="comments"><i class="fa fa-comment"></i><?php comments_popup_link( '0', '1', '%' ); ?></span>

    For Date;

    <div class="below-entry-meta">
    <?php
    $time_string = '<time class="entry-date published updated" datetime="%1$s">%2$s</time>';
    if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) {
    $time_string = '<time class="entry-date published" datetime="%1$s">%2$s</time><time class="updated" datetime="%3$s">%4$s</time>';}
    $time_string = sprintf( $time_string,
    esc_attr( get_the_date( 'c' ) ),
    esc_html( get_the_date() ),
    esc_attr( get_the_modified_date( 'c' ) ),
    esc_html( get_the_modified_date() ));
    printf( __( '<span class="posted-on"><a href="%1$s" title="%2$s" rel="bookmark"><i class="fa fa-calendar-o"></i> %3$s</a></span>', 'colormag' ),
    esc_url( get_permalink() ),
    esc_attr( get_the_time() ),
    $time_string);?>
    <span class="byline"><span class="author vcard"><i class="fa fa-user"></i><a class="url fn n" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" title="<?php echo get_the_author(); ?>"><?php echo esc_html( get_the_author() ); ?></a></span></span></div>
    • This reply was modified 4 years, 6 months ago by yesilaski.
    • This reply was modified 4 years, 6 months ago by yesilaski.
    Thread Starter yesilaski

    (@yesilaski)

    Hi @tgboy,

    2) The code below doesn’t work for some reason. (comments.php)

    <h3 class="comments-title"> next to this code

    <i class="fa fa-comments"></i>

    Do I need to add it to a different place? The answer should be easy for you.

    Hi @yesilaski,

    Please contact us via our official site https://themegrill.com/ chat support so that we can provide you with the solution in real time and it will be easy for you to implement.

    Thanks and Regards,
    Ankit

    Thread Starter yesilaski

    (@yesilaski)

    #respond h3#reply-title::before {content: "\f0e5"; font-family:FontAwesome; margin-right: 10px;}

    Thanks. Worked

    Hi @yesilaski,

    Please do let us know if you have any further queries regarding the theme.

    Thanks and Regards,
    Ankit

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘You May Also Like: Hide the date and comment part’ is closed to new replies.