How Do I Prepopulate a Form Field Based On Previous Page Input?
In this scenario, say you have a newsletter signup form on your homepage with one single email field to fill out. On submit of this field you would like the user to be sent to a new…
How Can I Query WordPress Posts and Sort by Their Relevance?
WP_Query allows us to query our WordPress posts and return results based on the taxonomy terms those posts are tagged with. It does this quite well, and can then sort the posts by date, alphabetically, menu order, etc….
Why is accessibility important in your development practices?
Last weekend I attended WordCamp Minneapolis / St.Paul with some of my coworkers. One of the presentations I went to was called “Why A11y?” presented by local website accessibility expert Joe Dolson. In his talk Joe went…
What Should I Use to Make Custom Select Fields?
If you’re looking for a way to customize your select fields, I would recommend Select2.js. Select2 allows you to easily style the select field itself as well as the dropdown list below. Some of the options I’ve…
How Do I Create a WordPress Related Posts Section ?
Are you searching for a way to display related blog posts in WordPress? Perhaps they are connected by one or multiple taxonomies? Look no further. The answer lies in a fairly straightforward and flexible WordPress query….
How can I have Multiple Post-Type Specific Search Results in WordPress?
There may come a time when you need to build out multiple types of searches on your WordPress website. For example, you might want to have a general search in the header and a blog posts…
How do I list posts in a custom post type by taxonomy term?
Have you ever wanted to list out posts arranged by a taxonomy term associated with that post? This is something that I recently ran into when trying to create a select drop down list of hospital…