change the title dynamically?
I am writing a plug-in and I want to change the title on a page “Search” to “Search: whatever I searched for” dynamically on page load.
I am relatively new to wordpress and I can’t find my way around the codex efficiently. I have found wp_title which seems to only be useful in a template, the_title which I still cannot figure out and others. I seem to be looking for a filter? I hope to change this in the html
Any pointers would be helpful.
- The topic ‘change the title dynamically?’ is closed to new replies.