[resolved] Remove: Posted on... (6 posts)

  1. europaiptv
    Posted 1 year ago #

    I have searched for 2 days and tried every CSS edit going all to no avail, how do I remove "Posted on" from my post page in this theme?

    Thank you

  2. Frenchtastic
    Theme Author

    Posted 1 year ago #

    You could go to Appearance > Editor from your dashboard.
    Then simply select the content.php file on the right hand side. (make sure coeur theme is selected).
    and if you want to remove "posted on" + "the date" simply take this line out:
    <p class="post-meta"><?php echo __('Posted on', 'coeur'); ?> <a href="<?php echo get_day_link(get_the_time('Y'), get_the_time('m'), get_the_time('d')); ?>" title="<?php the_title(); ?>"><?php echo get_the_date(); ?></a></p>

    or just:
    <?php echo __('Posted on', 'coeur'); ?>
    to only remove the text.

  3. europaiptv
    Posted 1 year ago #

    titouanc, many many thanks. I wish I had asked earlier would have saved me a load of time.

    Great theme BTW

  4. europaiptv
    Posted 1 year ago #

    Can you do me a favour and test All Video Gallery Version 1.2 | By Vinoth Kumar as it doesn't show video streams in "third party embed code" option.

    This works fine on other sites I have (different themes)

  5. Frenchtastic
    Theme Author

    Posted 1 year ago #

    My pleasure.
    Thanks I'm glad you appreciate it.
    I'll definitely do so as soon as I get some down time, I've been really busy with work lately. Sorry about that..
    If I ever happen to figure out what's wrong I'll definitely do my best to fix it in the next theme update.
    Thanks for your feedback!

  6. CrouchingBruin
    Posted 1 year ago #

    You probably should not advise people to make changes directly to the theme's files, unless you never intend on releasing any updates to the theme. Once someone updates the theme on their site, all of their changes will be lost, and you'll end up with a very ticked off user. The recommended procedure for users to make any such changes is to have them create a child theme and make the changes to a copy of the particular file (e.g., content.php).

    @europaiptv, did you try this CSS to hide the meta data:

    .blog-post-meta {
       display: none;

    CSS solutions are a bit safer than code solutions, but again, you want to either use a child theme or a CSS plugin instead of changing the theme's stylesheet directly.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic