WordPress: Anchor Links with jQuery Accordions

For websites that have a large amount of information, it makes sense to use jQuery tabs and accordions to organize…

For websites that have a large amount of information, it makes sense to use jQuery tabs and accordions to organize that information into smaller chunks of text. It makes even more sense to use anchor links so that you can easily refer to specific tabs or accordion panels.

When using accordions and tabs in WordPress, it makes sense to use a plugin. But what plugin should you choose?

Duplicate and Customize WordPress Search for Blog Only Search

Sometimes a seemingly difficult problem requires a simple solution. I’m currently working on a WordPress-driven site for a client. The…

Sometimes a seemingly difficult problem requires a simple solution.

I’m currently working on a WordPress-driven site for a client. The client wants a customized blog section that has a different header than the rest of the site to separate it from the main site. One of the requirements for this blog section is that the search bar in the header only searches within the blog.

Researching how to customize WordPress search to have a secondary blog-only search didn’t yield many relevant results. I was able to find a Rob Barrett’s blog post from 2009 that suggested a hidden field in the search form. I tried it with a second search form template and created a simple if/else to show the second search form only on blog-related pages: