WordPress.org

Support

Support » Themes and Templates » [Resolved] Remove: Posted on…

[Resolved] Remove: Posted on…

  • europaiptv
    Member

    @europaiptv

    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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Frenchtastic
    Member

    @titouanc

    Hi,
    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.

    europaiptv
    Member

    @europaiptv

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

    Great theme BTW

    europaiptv
    Member

    @europaiptv

    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)

    Theme Author Frenchtastic
    Member

    @titouanc

    Hi,
    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!
    Cheers!

    CrouchingBruin
    Participant

    @crouchingbruin

    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Remove: Posted on…’ is closed to new replies.