Powerful websites, with style.

This post shows you how to create a shortcode that will display a map with markers of all the child pages of the current page. There is also a shortcode attribute to choose the parent page ID for the map, if you want to show the map elsewhere.
Create our Google Map field
First, lets create our map field.
Make sure you set the metabox 'Location' accordingly. I chose to only show the field if the parent page is 'Data Centers'.
Next, you need to make sure you have child pages of … [Read more...]

This is a continuation of front end posting with ACF Pro to allow editing of posts on the front end. We will use acf_form() for the post fields, and use Sidr for the slide out menu to hold our form.
There's a video of the final outcome at the end of this post.
I'm using a custom Genesis child theme, but you can modify the code to work however you'd like.
Let's get started.
Add our form to blog posts
We need to load our form on single posts. We're using the same field groups we … [Read more...]

This tutorial shows you how to build a page template that will allow you to create new posts (or custom post type posts) from the front end of your WordPress website using the powerful Advanced Custom Fields Pro (not free) plugin. Some of the code is specific to The Genesis Framework, so you will have modify it to work on non-Genesis themes or child themes.
Part 2 shows you how to edit posts with ACF Pro.
There are lots of other cool plugins like Gravity Forms, Ninja Forms, and Formidable … [Read more...]

When doing some fun stuff with Advanced Custom Fields Pro, we often need to use the field key. Field keys are important because unlike the field title and name, the field key never changes. If you change the field type, title, or name, the key will always stay the same, unless you delete the field itself and create a new one.
It's really simple....
In your Dashboard go to Custom Fields > Custom Fields, and choose your field group
Click 'Screen Options' at the top right of your browser … [Read more...]

This tutorial goes through the process of setting up a custom image field for user profiles, disabling Gravatar, and replacing it with local avatars using the ACF field we created. We'll also include a fallback image for users that don't upload one.
Let's face it, even though Gravatar is a really great idea, sometimes it's not that great. First of all, it can be quite a cumbersome task getting your website users to set up a Gravatar account. Secondly, Gravatar can slow your site down. Think … [Read more...]

In the website I recently launched, my client wanted to have the ability to add new videos to the portfolio section of their site. With the need to make this as streamlined and easy to use for a non-techie (and a person new to WordPress) to update, I decided to use custom meta fields on top of a custom post type.
The client's need was also a bit tricky as they had some of their work on YouTube along with other videos being displayed on HBO's website. HBO has their own custom player so it … [Read more...]