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 to find your voice and approach

Jun

"Finding your voice is one of the most important parts of when you’re going to start a new blog. And one of the feelings that people get when they start to think about how they’re going to approach their topic usually sounds a little like this: “I’m not an expert, I can’t do this!” It […]"

Keep Reading...

ClickFunnels Membership Sites: Your Questions Answered

May

"ClickFunnels membership sites: your questions answered! Building a recurring revenue stream with a membership site can be a critical piece of your online business. It doesn’t matter what kind of membership you want to build – ClickFunnels has some fantastic features that make building a membership site fast and easy. But is ClickFunnels good for […]"

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...

5 Major Reasons You Should NOT Hire a Website Designer

Aug

"Want to know how to make an enormous mistake when you’re getting started with a new website? Just hire a website designer before you need them. You may be thinking, “but isn’t that what you do – web design & development?” Yep – it’s what I do all day, every day. Hiring a website designer […]"

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 Choose A Domain Name: The Complete Guide

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...

How To Host a Website: 7 Tools & Features That Even Smart People Miss

Apr

"One of the oldest and most consistent bits of info you get when you’re trying to start a new website is to get a domain name and get set up on a hosting service. It seems pretty simple, right? Grab a domain, get a subscription to a hosting service that [insert “influencer” name here] is […]"

Keep Reading...

What is ClickFunnels? Everything You Need To Know – Updated for 2022

Jan

"What is ClickFunnels exactly? How does ClickFunnels work? Is ClickFunnels a scam? How much does ClickFunnels cost? These are questions that I get all the time from my clients – and all of them are fair. So, what is ClickFunnels? ClickFunnels is a web-based website building platform designed specifically for building online sales funnels. It’s […]"

Keep Reading...

How To Set Up Your Theme In WordPress?

Feb

"Looking for some help on how to set up your theme in WordPress? One of the biggest things I obsessed over when I was getting started was how my new site was going to look. I’ve always been obsessed with design and aesthetics, so I immediately gravitated to figuring out how to make my new […]"

Keep Reading...

How To Generate Leads For A Travel Business Online – The Inside Scoop

Feb

"Looking to learn how to generate leads for a travel business in 2021? What I’m going to cover today is a way of generating unlimited leads for your travel business that you may have not heard of or thought about before. This concept works whether you’re a tour operator, lead expedition adventures, or are a […]"

Keep Reading...