'Search Results' title

  • Gokhan
    Gokhan
    Newbie
     
    18 points

    I want to remove “Search Results :” title and it’s line on search results page.

    There is a <?php if ( have_posts() ) : ?> line on search-results.php file.

    Which codes should I edit here?

    Attachments:
    You must be logged in to view attached files.

    JamesD
    JamesD
    Elite Member
     
    507 points

    Hello Gokhan,

    If you’re comfortable with making changes, take a look at ‘/DT/search.php’ around line #35

    <h1><?php echo hook_gallerypage_results_title(''); ?></h1>

    Removing the whole line should take care of it. It is a core file, so make sure to make a backup first and put a copy in your child theme directory to make the edit.

    This reply was awarded the best answer by the topic poster.

    Gokhan
    Gokhan
    Newbie
     
    18 points

    Hi JamesD,

    Thank you very much. It worked.

    Best Regards


    JamesD
    JamesD
    Elite Member
     
    507 points

    Glad to help, thanks for updating.


Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.