[resolved] Slider: How to remove publishing dates? (8 posts)

  1. Safrane01
    Posted 2 years ago #

    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


  2. emaravelia
    Posted 2 years ago #


    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.

  3. Griden
    Theme Author

    Posted 2 years ago #

    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.


  4. Andrew
    Forum moderator
    Posted 2 years ago #

    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.

  5. emaravelia
    Posted 2 years ago #

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

  6. Safrane01
    Posted 2 years ago #

    Thank you, it works great!

  7. zoedor
    Posted 2 years ago #

    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.

  8. zoedor
    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic