Quantcast
Channel: Suzanne Ahjira» Tutorials
Browsing all 29 articles
Browse latest View live

Display Default Values for Input Fields

If you want a simple solution to show and hide some default text for input fields or text areas, this will do it. HTML5 hasn’t fully arrived so until the placeholder value attribute becomes widely...

View Article


Force Custom Archive Titles for All Archives

I found and customized this solution a long time ago, and I forget why I had to do it this way. There may be a more efficient method at this point, and I’ll investigate that, but for now, if you’d like...

View Article


Enable Genesis Simple Sidebars Plugin for Custom Post Types

I’m sure a few of you will have asked whether this is possible. Eventually everyone creates a custom post type and then wonders why Genesis Simple Sidebars isn’t enabled. No problem. You just have to...

View Article

Even Better “Better Related Posts” by Nicolas Kuttler

Lord knows there are more than enough “related posts” plugins out there for WordPress. I’ve probably tried them all, but the one I’ve come to love is Nicolas Kuttler’s Better Related Posts plugin. Not...

View Article

Securing Forms with WordPress Built-in Functions

WordPress has a number of built-in functions designed to secure forms. You can find the list in the Functional Reference, but for convenience, I’ll also include it below. In this (note to myself) I’m...

View Article


Create A Custom Genesis Search Results Page for No Posts Found

I wanted to create a more helpful search results page for the case where no posts were found. The built-in solution for Genesis is a simple paragraph that reads, “Sorry, No posts found.” That paragraph...

View Article

Move Genesis Sidebar Before Content

Occasionally I have the rare need to move one of the genesis sidebars out of its default position (positioned after the content div) and into a new position, for example, before the content div. Why?...

View Article

Add SEO Data and Featured Image To WordPress Admin Page and Post List View

One of the nice things that the All-in-One SEO Pack does is add some new columns to the WordPress admin list views for pages and posts, so that you can quickly and easily see which pages you’ve...

View Article


Are the pages and posts suddenly missing from your admin screens?

If the pages and posts in your blog have suddenly disappeared from the admin list screens, you’re probably panicking, wondering what sorcery hath befallen your blog :-O Worry not, I’m fairly certain...

View Article


Send PDF or Other Document Attachments with Gravity Forms Notification Emails

I love Gravity Forms! Make no mistake – there’s nothing better out there. It’s money well-spent. I recently had a client who wanted to rotate forms in his sidebar, each form sending a different PDF...

View Article

Image may be NSFW.
Clik here to view.

Not Getting Gravity Forms Admin Notifications?

Don’t you find it a little odd that user notifications for your Gravity Forms are going out, but you’re not getting admin notifications supposedly sent from the exact same mail server? Hum… yes… very...

View Article

Widget Fields Disappear When You Drop Widget Into Sidebar Area

Well this is a new one… I was just prepping some sidebar widgets when I noticed that the very useful Text Widget was hiding its Title and text area fields when dropping it into a sidebar area. Clicking...

View Article

Add Custom Image Sizes to Media Library Size Selection Drop Down List

I’m not sure why I didn’t hunt this down sooner, but here’s a simple and slick way to add your theme’s custom image sizes to the WordPress media library size selection drop down list. I often create...

View Article


Insert Styles Into wp_head Hook Using Custom Style Hook

Well that title didn’t really make things clear. It’s true, this one is a bit funky. I’m working on a new theme and in more than one part of functions.php, I’m inserting custom styles into the wp_head...

View Article

Add Facebook Comments to Your Mobile Responsive WordPress Site

Simple, two-step instructions for adding the Facebook Social Comments plugin to your WordPress site with mobile responsive, 100% width! I like to avoid plugins because I think I can always add the code...

View Article


Make Jetpack’s Infinite Scroll Work with Your Genesis Theme

I recently installed Jetpack again to try out the new comments form and the infinite scroll feature. I wasn’t sure why infinite scroll wasn’t working but as it turns out, for Genesis themes, you need...

View Article

Stop WordPress From Wrapping Images in P Tags

I need to post this because as someone who never uses regular expressions, I scoured the net for hours trying to get some answers and knowledge about how to do what should have been something simple:...

View Article


How To Filter The Flint Author Box Title

Flint’s author box includes a filter for the title and it’s aptly named: flint_author_box_title This filter will allow you to completely rewrite the HTML. It currently outputs the following:...

View Article

How To Filter The Flint Author Box Avatar

Flint’s author box supports the popular User Photo WordPress plugin. You don’t have to tweak anything to make it work, but what if you want to serve a default image if a user doesn’t have a user photo...

View Article

Image may be NSFW.
Clik here to view.

How To Append Author Information To The Flint Author Box Bio

Flint includes a hook within the author box that allows you to append more author information after the bio. The hook name is flint_after_authbox_bio and here’s an example of how to use it. add_action(...

View Article
Browsing all 29 articles
Browse latest View live