• I used this and it worked for hiding the page title on the front page. Again, its up to individual choice on how you tweak. I’m simply sharing what I have tried that has worked at any given time. the code below should actually work for just about any theme, child or not.


    function remove_front_page_title($title) {
    if ( is_front_page() && in_the_loop() ) {
    return false;
    } else {
    return $title;
    }
    }
    add_filter(‘the_title’,’remove_front_page_title’);

  • The topic ‘Function for hiding title on front page’ is closed to new replies.