Q: How Do I Remove The Featured Images From Posts?

  1. Make sure you’re using a child theme
  2. Add the following code to your child theme’s `functions.php`:
    function lbc_remove_postimage(){
        remove_action( 'lblg_before_itemtext', 
                       'lblg_the_postimage' );
    add_action( 'init', 'lbc_remove_postimage' );
  3. Reload the page and check to make sure it worked.

2 thoughts on “Q: How Do I Remove The Featured Images From Posts?

  1. I have two additional requests.

    I Was recently given help by the buddypress community on how to hide user profiles by adding a few lines of code in profile-loop.php file that is stored in the elgee members/single/profile/ theme folder.

    I was not quite sure how I could do the changes proposed in a child theme because it required that the new code be wrapped around the old code. The additional code didn’t go as far as I’d like it to do as I have people that would prefer to also hide their image, name, profile and activities from any public viewing.

    Is the profile-loop.php file generated by Buddypress as part of the compatibility process or is this something you did with Elgee?

    The other request, what line of code could I put in my child theme to change the color of the menu bar?

  2. Roger:
    Sorry, I somehow missed this comment. I’ll get you answers tomorrow.

Leave a Reply

Your email address will not be published. Required fields are marked *