Categories: Tips & Tricks

How to: Show what a user is searching for in the title

Want to show what any user was searching for?
It is simple, just add this line where your title would be.

<h1>Browsing search results for <strong>"<?php the_search_query() ?>"</strong>.</h1>

The important line is the_search_query()

Web Master

Hi, I am Miguel, I bought this site in 2009. So I now run or manage the site. Please visit my new website or follow me on twitter @W3i.

Recent Posts

How Will You Improve Accessibility of Your WordPress Site?

  If you want to sustain yourself in the world of progress, it is important…

1 hour ago

How Can You Make Your Business Website More Interactive?

Promoting your products/services in the online space is all about engaging the targeted customers. That,…

13 hours ago

Swirling Away Young Minds, with Cool Gadgets

Technological advancement has swept over, our entire generation, engulfing us in its constantly evolving arms.…

1 day ago

7 Finest Places on Web to Find Excellent WP themes

Photographers, avid bloggers, tech junkies, and even food bloggers have shown their love & trust…

2 days ago

WordPress VS Enterprise CMS – Which one to Pick?

WordPress has been one of the most dominating CMS and more domains are now going…

2 days ago

Guidelines for Choosing the Best WordPress Theme for Your Website

Using a WordPress theme for a website comes with plenty of advantages. One great feature…

3 days ago