'Search Results' title

WordPress Business Themes Forums Responsive Themes Directory Theme 'Search Results' title

'Search Results' title

November 24, 2017
Gokhan Gokhan
  • 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.
    November 24, 2017 at 4:33 pm
  • JamesD
    JamesD
    Super Guru 912 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.

    November 25, 2017 at 8:23 am
    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

    November 25, 2017 at 3:48 pm
  • JamesD
    JamesD
    Super Guru 912 points

    Glad to help, thanks for updating.

    November 25, 2017 at 5:52 pm
Viewing 4 posts - 1 through 4 (of 4 total)

Didn't find what you were after?

Chat with us now

or contact our support team