Close

Account

Documentation

Forum

Menu

Hide author and show date in meta info

  • Post count: 130
    medialifesf
    March 21, 2015 at 11:52 am #10181

    Hi! I need to show only date and hide author in one section of my website – the news. All meta info have to be hidden in all the other sections.

    I had problem with meta info in search results so I followed this thread and put that code: http://support.jegtheme.com/forums/topic/meta-info-in-search-results/

    But now please tell me how to show only the date and hide author in all posts from one certain page.

    Thanks!

    Post count: 9174
    Adek
    March 24, 2015 at 1:26 am #10214

    Hi medialifesf,

    Can i see your the page that you referring to? I will check it further.

    Thank you

    Post count: 130
    medialifesf
    March 25, 2015 at 10:27 pm #10296
    This reply has been marked as private.
    Post count: 9174
    Adek
    March 30, 2015 at 1:51 am #10396

    Hi medialifesf,

    Can you remove the css code that hide the meta info, i will give the new one to achieve that.

    Thank you

    Post count: 130
    medialifesf
    March 30, 2015 at 7:38 am #10400

    Ok, thanks! Please give me the new css so I can apply it.

    Post count: 9174
    Adek
    March 31, 2015 at 8:40 am #10447

    For search result page you can use this code below :

    For normal page you need to edit this file jkreativ-themes/template/template-page-normal.php and jump into line 43. Then replace with this code below :

    Thank you

    Post count: 130
    medialifesf
    March 31, 2015 at 2:08 pm #10499

    Hi! Thanks! Line 43 in template-page-normal.php is

    ?>

    and when I replace it, Dreamweaver said there is error. Any suggestions?

    • This reply was modified 3 years, 2 months ago by  medialifesf.
    Post count: 130
    medialifesf
    April 1, 2015 at 7:31 am #10508

    Any ideas?

    Post count: 130
    medialifesf
    April 1, 2015 at 10:06 am #10513

    Can you please tell me the exact code that I have to replace? Thanks!

    Post count: 9174
    Adek
    April 2, 2015 at 9:40 am #10540

    Okay, please find this code below on those file.

    Then replace with this code below :

    Thank you

    Post count: 130
    medialifesf
    April 2, 2015 at 12:17 pm #10551

    Hi! This didn’t help – I put the code, enabled meta info and both author and date showed up. I need also the date to be visible and the author to be hidden.

    Post count: 130
    medialifesf
    April 3, 2015 at 3:36 pm #10571

    Hi! Any ideas?

    Post count: 130
    medialifesf
    April 4, 2015 at 4:48 pm #10577

    Hi? Do you have any suggestions how to fix this? Thanks!

    Post count: 9174
    Adek
    April 6, 2015 at 7:15 am #10598

    Hi medialifesf,

    May i know which page that you referring to, in this case that showing the author and date information?

    Thank you

    Post count: 130
    medialifesf
    April 6, 2015 at 8:09 am #10607
    This reply has been marked as private.

You must be logged in to reply to this topic.