Support » Theme: Oxygen » Slider: How to remove publishing dates?

  • Resolved Safrane01


    Beside the title of the featured article, there is also the date, when this article was published, displayed. As I am planing to have a quite static side, I want to hide this date at least in the slider.
    Could you please tell me, how this is possible?

    Best regards


Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello,

    I wanted to remove the publishing dates and here is how I did it:
    Edit the featured-content.php file by removing this:

    <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( '[entry-published]', 'oxygen' ) . '</div>' ); ?>

    If for some reason you also want to remove the text you see you can delete this:

    <h2 class="post-title entry-title">
    							<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>

    Hope this helps.

    Theme Author Griden


    That’s a nice solution, but please copy featured-content.php to a child theme before editing. Otherwise the next update will overwrite your customisation.

    Moderator Andrew Nevins


    Forum moderator

    Edit: @griden >:(
    If you haven’t already, you probably want to make changes using a Child Theme, so you don’t run the risk of losing your changes when the theme updates.

    You are right both of you. I should have mentioned I always work on child themes. Learned the hard way 🙂

    Thank you, it works great!

    I have trouble working with a child theme.. hope someone can help me.

    I would like to delete the date in the featured header also.
    I made a child theme with the plugin one click child theme and my child theme is now active.

    When I open the editor of my child theme, i only find style.css, but that is not the css where you find the line you have to delete here. Where do I delete the line? Do i need to import the featured-content.css somehow.

    Hope someone can help.

    ok, after a lot of reading i found it. Don’t know how to delete the comment

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Slider: How to remove publishing dates?’ is closed to new replies.