As a WordPress developer, we visit WordPress Codex several times a day to look for the documentation for a function or a class. I don’t know how other developers search for a function on WordPress Codex, but I often use Google for this job (and the search box at WordPress Codex uses Custom Google Search, too). So the procedure for looking the documentation for a function is as long as this:
- Go to Google.com
- Type the function name and click Search
- Click on the 1st result (sometimes the 2nd result)
It takes time. And I want to make it faster. Thank the Google Chrome and this excellent inspirational post, now we can do that with the Address bar in Google Chrome, e.g. just type
wp wp_enqueue_script in the address bar, then press Enter and we’ll go the exact page on WordPress Codex.
How to do that?
Go to Google Chrome Settings, and click on Manage Search Engines button to add WordPress Codex search:
Then scroll to the bottom and add a new search engine for WordPress Codex with the following settings:
- Add a new search engine: WordPress Codex
- URL with %s in place of query:
Then click the Done button.
Now simply type
wp add_action in the address bar and press Enter, you will instantly navigate to the WordPress Codex page for
Update: If you want to search on
developer.wordpress.org, then change the search URL to