Mar
Mar

Simple social connect with Advanced Custom Field Links (ACF Links) and Font Awesome

social-connect-links-sm_7Need to spin up a simple connection tool for a new WordPress project you’re working on? ACF Links (advanced custom field links) might do the trick.

I’m working on a new site with a lot of really cool functionality. One of the things we’re doing is creating a custom post type for a “staff member”, and part of that post type is having a selection of fields where a content manager can simply place the link to the staff member’s profile and have it display on their profile page.

I wanted this to be super easy and straight forward for the person working with the profiles in the future, so I used Advanced Custom Fields to create a set of custom fields, each one for a separate social media platform.

The custom fields look like this:

acf-font-awesome

Pretty simple. Just text fields with no formatting, each labeled appropriately for the social network I’m trying to connect, so visitors can click through to their profiles.

Next is the code that I put in to my template.php file to render those links. This is what that looks like:

This too, is pretty straightforward. I’ve got each one set up with a Font Awesome icon link as the link.

Then we get an output that looks like this:

output

Simple, straightforward, and to the point.

See Also:

How Do Beginner Blogs Make Money?

Jul

"How do beginner blogs make money? So you’ve picked a great niche for your new blog? Check. Got your domain, web hosting, & WordPress set up? Check. Got a great WordPress theme? Check. Everything’s in place, but how do beginner blogs make money? Can you really create a solid passive income stream from a blog, […]"

Keep Reading...

How To Go Live On Facebook: A Complete Guide for Profiles, Pages & Groups

May

"How to go live on Facebook Organic marketing on Facebook is one of the best ways to grow your business. And one of the best ways to increase your visibility – literally – is to go live on Facebook. So how do you go live on Facebook? To go live on Facebook the basics are […]"

Keep Reading...

How To Generate Leads Online: Clever & Unique Concepts To Sky Rocket Your Business

Feb

"Generating leads online is an exciting way to build your business, whether your business is online or not. And as we all know generating leads is absolutely crucial because it’s how you get new clients in order to grow your business. So let’s dive right into it! How To Generate Leads Online: The Basics The […]"

Keep Reading...

Complete Guide on How to Choose a Domain Name

Jun

"Choosing the right domain name is a critical factor when it comes to the success of your new website project. There is a lot riding on your name and you’re going to be stuck with it for a while so you need to make sure you pick the right one. If you’re serious about wanting to […]"

Keep Reading...

Is ClickFunnels safe?

Jan

"New platforms are sometimes met with skepticism, and ClickFunnels is no different. But ClickFunnels is an established platform that’s been around for years now, and thousands of online businesses are using it to power their online business. There are several competitors who’ve shown up over the last couple years who are desperately trying to take […]"

Keep Reading...

What content should be on a website?

Jun

"Struggling to figure out what content you should have on your new website? When it comes to learning how to start a blog, or any other kind of website for that matter, the most important thing you need to know about website content is that each time a visitor lands on your website they’re asking […]"

Keep Reading...

Question 2. Do you need people to be able to log in and create user profiles on your website?

Sep

"Following closely on the idea of content management systems is user management within content management systems. Why would users need to be able to log in to your website? You see this feature a lot when some kind of content asset is kept behind a wall that prevents access except for registered users. Newspapers and […]"

Keep Reading...

Website Content For a Construction Company – Secrets Revealed

Mar

"Looking to create website content for a construction company website? You’re in the right place. I get it – trust me. It’s the biggest thing my clients struggle with, but more on that in a minute. It’s challenging at the very least. Here’s why: Want to know what the biggest challenge is when it comes […]"

Keep Reading...

How to Generate Leads For a Medical Spa in 2021

May

"How to generate leads for a medical spa You’ve spent the years and years of hard work to become an expert who can literally transform the lives of your clients. You’ve refined your skills to a level that only fractions of one percent of people on the entire planet earth can perform. And you’re an […]"

Keep Reading...

How to choose a domain name

Jun

"My bet is that once you figured out that you wanted to start a blog and you knew what you want to blog about the first thing that happened was that domain names started running through your head. And what you choose for your custom domain name can be different if you’re starting a personal […]"

Keep Reading...

Join The
Conversation

Leave a Reply