Remove the title tag

This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 7 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4353
    stephanaugusto
    stephanaugusto
    Participant

    I’m using the widget plugin of search pro, but has a problem. I don´t want to put a title and the same way the tag <h3 class=”title”><span> </span></h3> continues included in the code. And occupies the space on top. So i want to know how can remove this tag, in the archive or in the configuration does not matter, i just want remove this tag anyway.

    Thanks for your attention.

    #4354
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    The widget layout is not determined only by the search plugin, it depends on your theme as well.

    However there is something you can try, that might help. Open up the wp-content/plugins/ajax-search-pro/includes/widgets.php file and go to lines 55-56 where you should see this code:

    
        if (!empty($title))
          echo $before_title . $title . $after_title;
    

    Remove those lines or comment them like this:

    
        //if (!empty($title))
        //  echo $before_title . $title . $after_title;
    

    If this doesn’t help, then you might need to contact the theme developer as well.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


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

You must be logged in to reply to this topic.