• I would like my front page to list the posts and featured image but not the date of the post, the keywords, the social shares, or the like button. I can’t figure out how to hide these features on the front page. Can anyone help with this? I know some but not much code.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Steve

    (@seekerabroad)

    Hi cultivatedwellbeing,

    To get the best help you should put a link to your site in your post.

    Without seeing your frontpage I can only guess that you could probably use some css display none rules to hide it, but personally I try to avoid hiding content for fear of adversely affecting google ranking.

    Therefore I usually edit the front page’s php file and remove the code producing the unwanted content.

    Regards,

    Steve.

    Thread Starter cultivatedwellbeing

    (@cultivatedwellbeing)

    Oops, sorry. it’s https://www.cultivatedwellbeing.com. Can you explain how to edit the PHP file to remove the code?

    Steve

    (@seekerabroad)

    OK, I’ve had a play with the theme your using and was able to achieve what you are trying to do.
    In order to edit the code you need to be familiar with creating a child theme to preserve your changes, and recognise the structure of a WordPress loop in order to cleanly select the correct snippet of code?
    If you are not familiar with these, it is quite possible to unknowingly introduce an error and break the page or site in a single keystroke.

    Theme Author Brian Harris

    (@zgani)

    @cultivatedwellbeing,

    You’ll find placing the following code in either a child theme’s style.css or by using a custom css plugin will render the desired effect. (JetPack already has the custom css module that you can use).

    .home .sharedaddy.sd-sharing-enabled,
    .home div.jetpack-likes-widget-wrapper,
    .home .entry-meta {
        display: none;
    }
    
    .home div.span8 article {
        padding-bottom: 60px;
    }

    Regards,
    Zulf

    Thread Starter cultivatedwellbeing

    (@cultivatedwellbeing)

    Thank you! It worked. Now my other questions is how do I add more previous posts to my feed? Right now, this theme is only showing 4 posts on the front page (besides the featured ones). I’d like to show 10 or 12 in a running list. Should I start a new thread for that question?

    Theme Author Brian Harris

    (@zgani)

    Numbers of posts are control via the core function found at Settings >> Reading page of your admin dashboard.

    Zulf

    Thread Starter cultivatedwellbeing

    (@cultivatedwellbeing)

    awesome! thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How do I remove the date, shares, tags, and likes from posts on my front page?’ is closed to new replies.