• Hi there

    Is it possible (and if so, what do I need to do) to make entry-meta visible on the homepage withing the featured-posts-box?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi there,

    It is possible to achieve what you’re after but will require you to experiment a little with the theme’s HTML.

    The first step is for you to set up a child theme.

    In case you’re unsure, the following guides provide a good introduction to child themes, including steps to set one up:

    After you have completed that step, copy the parent’s template-parts/content-featured-post.php file to your child theme’s directory and then open it in your favourite text/code editor.

    The code in this file defines the way posts appear in your home page’s featured content slideshow.

    You could enter some meta information just below the title:

    <a href="<?php echo esc_url( get_permalink() ); ?>" rel="bookmark">
    	<?php the_title(); ?>
    </a>

    Using the following code:

    <div class="entry-meta">
    	<?php dyad_posted_on(); ?>
    </div><!-- .entry-meta -->

    The above may need to by styled with some custom CSS.

    Let me know how you get on with the above steps. If you can let me know the specific meta information you want to display and exactly where you want to display it, I may be able to help further too.

    Thread Starter Melodyk

    (@melody62)

    Hi Siobhan

    Thank you for responding to my question and the help so far as wel for your offer to help me further…

    I have never created a childtheme before, so first I have to look into that. Being a little to busy at this moment that will have to wait, probably tomorrow (tuesday) or wednesday I will take a look…

    what I’dd prefer to see in each featured box is, prefarbly beneath the title, the date of posting and the amount of comments posted

    Setting up your child theme and following the steps I detailed above will get you most of the way there. ?? Let me know when you’re able to get to them.

    Thread Starter Melodyk

    (@melody62)

    Hi Siobhan, thank you.

    I am far from comfortable with the fact that I need to work in the directory through f.t.p. but I do want to learn that ofcourse

    Being Dutch the English is not my native language so I prefer the work with a Dutch explanation, which I just found. I will work with that and try to achieve what is needed.
    (the reason why I, till now, never did use a child-theme is because I change themes very very often, the changes I need I always place right in the files. I never dared to work in ftp because I do know far to little about that part)

    I will take a look and will let you know whenever I get stuck or am done ??

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘entry-meta’ is closed to new replies.