• Resolved promo_bowl

    (@promo_bowl)


    Hello, I am using the buddypress default theme and having trouble removing the author, date, and category from all posts. I have searched the forums and tried suggestions with no luck.

    I think i need to modify the single.php file. I have tried eliminating author, get_the_date and get_the_category list still no luck. The only other .php file that has date author and category info is functions.php which i have eliminated the same content and still the author date and category appears.

    What do I do to eliminate this information from all posts with the buddypress default theme?
    website: promobowl.com

Viewing 6 replies - 1 through 6 (of 6 total)
  • govpatel

    (@govpatel)

    if you do want them in posts you will need make a change in css file

    you will need edit this file

    https://promobowl.com/wp-content/plugins/buddypress/bp-themes/bp-default/_inc/css/default.css?ver=20120110

    will not show in theme editor in admin panel you will have to follow that path in url and look for this code in default.css

    p.date, p.postmetadata {
    border-bottom: 1px solid #E4E4E4;
    border-top: 1px solid #E4E4E4;
    color: #888888;
    font-family: Georgia,times,serif;
    font-size: 12px;
    margin: 10px 0;
    padding: 3px 0;
    }

    add
    display: none;

    The only snag is that you will have them back when you update buddypress

    Thread Starter promo_bowl

    (@promo_bowl)

    Thank you very much for your timely response. Much appreciated.
    I am new to wordpress so forgive my ignorance, but how do you “follow that path in url”? I obviously cannot just enter that url in my address bar and expect to save changes. How do I access that file to modify css?

    I am only familiar with making tweaks to my site via the admin panel.

    govpatel

    (@govpatel)

    The url I posted above each name after / is folder name you need open each folder on server like click wp-content folder name in there you find plugins folder and so on last one is file file name called default.css is the one you need to edit.

    Thread Starter promo_bowl

    (@promo_bowl)

    I got it! Thank you very much govpatel! You guys are awesome!

    govpatel

    (@govpatel)

    You are welcome

    Removing date is very simple, Remove date by opening your themes index.php file, and search for this code ‘<?php the_time(‘j’)?>’, once you find it then comment of delete this, dates will stop showing up on the post page and the for author and category, find out which line of code renders the text accordingly you can delete or comment. Also read https://bornvirtual.com/google/remove-date-stamp-from-google-search-results/892/ for better understanding

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to remove author, date, and category from posts?’ is closed to new replies.