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 choose a niche for your new blog

Jun

"Picking a niche when you start a blog is probably the most important part of the whole process. A good niche will help you succeed faster. A highly competitive niche can really slow you down and leave you wondering why you decided to do this to begin with. Why do you need a blog niche, […]"

Keep Reading...

Creating Website Content Is Hard – Here’s What You Need To Do

Apr

"It never fails. The blank stares. The awkward silence. The head-scratching and thinking-face expressions as the client ponders how to answer questions about messaging, copy, and content. Because you see, the number one, biggest thing I see clients struggle with on their web design & development project is getting their content created. Because creating and […]"

Keep Reading...

How To Get Housekeeping Leads For Free – Everything You Need To Know

Feb

"Looking to find out how to get housekeeping leads for free? Lead generation is the lifeblood of any business, big or small. So generating quality leads is an absolute must. So how do you get housekeeping leads for free? By working smarter than your competition. First, you have to have to know who your dream […]"

Keep Reading...

Ongoing Maintenance and Upkeep Costs

Sep

"When it comes to building your own website there are a few basics that are common to all websites that require regular upkeep and maintenance. Domain name registration Costs Your domain name serves as your address on the web. It’s similar to your physical address. You give your mom your address to send you a […]"

Keep Reading...

Can I use ClickFunnels For Clients? The Truth Revealed

Feb

"“Can I use ClickFunnels for clients?” If you’re a designer or agency, adding ClickFunnels to your service offerings can be a fantastic business move, even if you’re not a tech person and you don’t know anything about code! So can you use ClickFunnels for clients? Absolutely, yes. Web designers, developers, and marketing agencies of all […]"

Keep Reading...

Eight Best “About Me” Pages That Are Crushing It

Feb

"Why is it important to do the hard work to create the best about me page for your website? It’s always among the first pages I ever look at when I go to any website. If it sucks, or is just otherwise not interesting, I’ll just leave. If you look at your website analytics, it’s also […]"

Keep Reading...

Is ClickFunnels Safe? Read this First!

Jan

"Is ClickFunnels safe? ClickFunnels is making a lot of noise these days in the online business world and for good reason. Thousands of businesses of all kinds are using it to power their online business, and in the process, bringing in millions in revenue. And one of the things that’s made ClickFunnels so popular is […]"

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

How To Generate Leads For Personal Training

Mar

"How to generate leads for personal training I have a confession to make. I’m not a personal trainer. I’m not even someone who works in the fitness industry. So why am I talking about how to generate leads for personal training? Because I am a digital marketer. And my entire business is all about helping […]"

Keep Reading...

What Is A Value Ladder And Why Does It Matter?

Jan

"If your business is going to survive and thrive in 2021 then you need to make sure that your value ladder is dialed up and ready to go! But maybe you’re wondering – what is a value ladder? The definition of a value ladder is: the value ladder is a tool used in a business as […]"

Keep Reading...