Category: Code Snippets
How to list subpages with a title and excerpt in WordPress
We developed a site that has really rich subpages (child pages) but the parent page is mostly a blank placeholder that directs people to the subpages. Instead of merely leaving a blank parent page, we wanted to give a preview of the content on each of the subpages. I found the code for how
... View PostHow to link author image to their previous posts in WordPress
It seemed so simple and straightforward to link an author's image to their page of previous posts like http://wpgarage.com/author/Rebecca/. But for some reason I couldn't find the solution easily with the default WordPress template tags. Template tags that I had used last time I needed this functionality were deprecated.
... View Post








Disclaimer popups before sending an email or submitting a comment using simple jQuery in WordPress
Several of our clients requested that we add popup disclaimers before someone sends an email to the site admin or before they submit a comment. Here's a screenshot of what we're going to do:

Case 1: Add a Contact Us link to the navigation menu that triggers a ... View Post