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 Comments

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?

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

Leave a Reply

Name and email address are required. Your email address will not be published.

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

Literal Barrage is Stephen Fry proof thanks to caching by WP Super Cache