Would love to pull ACF field into title | Feature Requests - All in One SEO Pack Pro | Support | Semper Plugins

Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

No permission to create posts
sp_Feed Topic RSS sp_TopicIcon
Would love to pull ACF field into title
May 12, 2014
11:28 pm
Avatar
Kyler Boudreau
Member
Guests
Forum Posts: 47
Member Since:
April 30, 2014
sp_UserOfflineSmall Offline

I just moved from Yoast to All In One SEO and I’m very happy with the move. 

There is one thing that Yoast did that I miss, and that is allow me to reference ACF fields in the Title and Description tags. I do a lot of custom post types, and would love to automate some of the SEO.

May 13, 2014
9:02 am
Avatar
Steve Mortiboy
Admin
Forum Posts: 1847
Member Since:
January 5, 2012
sp_UserOfflineSmall Offline

** You currently do not have permission to see this post. To obtain access to these Premium Support Forums, please purchase a plugin and support subscription from Semper Plugins **

May 17, 2014
6:34 pm
Avatar
Kyler Boudreau
Member
Guests
Forum Posts: 47
Member Since:
April 30, 2014
sp_UserOfflineSmall Offline

Steve,

Sorry, I must not have subscribed to this post. Just saw your reply.

My sites are structured using custom post types, and ACF field groups assigned to them. Then I just call them into the pages via the_field(‘field_name’).

Example: car dealer site. One of the ACF fields is the vehicle manufacturer, such as “Honda.” So with Yoast I was pulling stuff into the title and description from multiple ACF fields, in order to auto construct the ideal SEO title that would end up looking like “2002 Honda Accord v6 Four Door”, etc.

That’s pretty much the only thing I miss from Yoast. =) 

May 19, 2014
11:46 am
Avatar
Steve Mortiboy
Admin
Forum Posts: 1847
Member Since:
January 5, 2012
sp_UserOfflineSmall Offline

** You currently do not have permission to see this post. To obtain access to these Premium Support Forums, please purchase a plugin and support subscription from Semper Plugins **

May 19, 2014
12:44 pm
Avatar
Kyler Boudreau
Member
Guests
Forum Posts: 47
Member Since:
April 30, 2014
sp_UserOfflineSmall Offline

Oh, I see — Advanced Custom Fields is the plugin.

Yoast allows you to specify something like %acf_yourfieldname% in the meta tag fields. Then it pulls from the page.

May 20, 2014
12:14 pm
Avatar
Peter Baylies
Admin
Forum Posts: 578
Member Since:
October 16, 2011
sp_UserOfflineSmall Offline

** You currently do not have permission to see this post. To obtain access to these Premium Support Forums, please purchase a plugin and support subscription from Semper Plugins **

May 21, 2014
12:44 pm
Avatar
Kyler Boudreau
Member
Guests
Forum Posts: 47
Member Since:
April 30, 2014
sp_UserOfflineSmall Offline

Peter,

Dude, you’re a genius. That worked beautifully.

*Note to AIOSEO team: this would be cool to have in the core for those moving away from Yoast who were used to that feature. I’d guess most were not, but if they use it, that would be a show stopper.

Thanks again Peter!!!

– kyler boudreau

May 21, 2014
12:54 pm
Avatar
Steve Mortiboy
Admin
Forum Posts: 1847
Member Since:
January 5, 2012
sp_UserOfflineSmall Offline

** You currently do not have permission to see this post. To obtain access to these Premium Support Forums, please purchase a plugin and support subscription from Semper Plugins **

May 21, 2014
6:20 pm
Avatar
Kyler Boudreau
Member
Guests
Forum Posts: 47
Member Since:
April 30, 2014
sp_UserOfflineSmall Offline

Nice. You guys rock. So glad I switched to you from Yoast.

May 21, 2014
9:15 pm
Avatar
Kyler Boudreau
Member
Guests
Forum Posts: 47
Member Since:
April 30, 2014
sp_UserOfflineSmall Offline

BTW…in case this matters for support tickets later, I was wrong. Yoast uses this format:

%%cf_fieldname%%

Not acf.

Probably so it can be ACF or plain custom fields…whatever. Just giving you that heads up in case it matters in your code for simplicity of migrations.

 

**Also,

It’s building out the titles correctly, but not the OG info. If run a page through the Facebook linter and then share on Facebook, it’s showing the %cf_filename% stuff, instead of the actual title.

**Final,

Is there a way to use this for meta descriptions automatically? I can specify title stuff for pages and post types, but not default meta. Normally this wouldn’t be needed…I understand. But for some products pages that rely on custom fields, you can really automate the SEO.

May 22, 2014
10:47 am
Avatar
Peter Baylies
Admin
Forum Posts: 578
Member Since:
October 16, 2011
sp_UserOfflineSmall Offline

** You currently do not have permission to see this post. To obtain access to these Premium Support Forums, please purchase a plugin and support subscription from Semper Plugins **

May 22, 2014
11:10 am
Avatar
Kyler Boudreau
Member
Guests
Forum Posts: 47
Member Since:
April 30, 2014
sp_UserOfflineSmall Offline

Peter,

I tried the new code above, but now it doesn’t work, so I reverted back to your first code. That still works, except the OG part. Here’s an example page from the site I’m working on:

http://www.shopsupercars.com/p…..cars/1015/

You can see it shows right in a browser, but in the Facebook Linter it shows the CF codes.

Regarding the other question, you know how in AIOSEO I can select Advanced titles by custom post times, and then fill out a preconfigured title format? So in the link above, the title is:

%cf_year% %cf_make% %cf_model%…etc.

That gives 2005 Honda Accord…

So I’d love to be able to make descriptions in the same area that are preconfigured like that.

Thanks Peter.

May 22, 2014
11:16 am
Avatar
Peter Baylies
Admin
Forum Posts: 578
Member Since:
October 16, 2011
sp_UserOfflineSmall Offline

** You currently do not have permission to see this post. To obtain access to these Premium Support Forums, please purchase a plugin and support subscription from Semper Plugins **

May 22, 2014
11:56 am
Avatar
Kyler Boudreau
Member
Guests
Forum Posts: 47
Member Since:
April 30, 2014
sp_UserOfflineSmall Offline

Well I’m the idiot.

Okay, so I have your new code in, and I’m doing the single “%” method.

It’s working fine on the normal title tags, but Facebook OG is still being a PITA.

http://www.shopsupercars.com/p…..cars/1015/

If I manually type in the stuff under social, then Facebook is a happy camper. For example, here’s one that I manually typed it in on:

http://www.shopsupercars.com/p…..cars/1080/

Thanks for helping Peter.

May 22, 2014
12:42 pm
Avatar
Peter Baylies
Admin
Forum Posts: 578
Member Since:
October 16, 2011
sp_UserOfflineSmall Offline

** You currently do not have permission to see this post. To obtain access to these Premium Support Forums, please purchase a plugin and support subscription from Semper Plugins **

May 22, 2014
9:27 pm
Avatar
Kyler Boudreau
Member
Guests
Forum Posts: 47
Member Since:
April 30, 2014
sp_UserOfflineSmall Offline

Peter,

I don’t think I’m explaining this right. Let me try to be more clear:

The only purpose of using the %cf_fields% is to not have to touch the title and description areas of each page and/or custom post type.

So right now in AIOSEO I’ve used the codes (as in Yoast) under All In One SEO > General Settings > Custom Post Type Settings. That’s auto building the titles fine for search engines and normal browser activity. However it’s not building them for social media stuff – Google Plus and Facebook are only seeing the %cf_fieldname% verbiage.

What I’m trying to get is the ability to enter a title and meta under All In One SEO > General Settings > Custom Post Type Settings that will then auto generate stuff for me like it did in Yoast.

I love your plugin and really hope I can do this with it – saves a crap load of time.

If you want an admin login to see what I’m doing, let me know.

– kyler

May 23, 2014
10:41 am
Avatar
Peter Baylies
Admin
Forum Posts: 578
Member Since:
October 16, 2011
sp_UserOfflineSmall Offline

** You currently do not have permission to see this post. To obtain access to these Premium Support Forums, please purchase a plugin and support subscription from Semper Plugins **

May 23, 2014
1:49 pm
Avatar
Kyler Boudreau
Member
Guests
Forum Posts: 47
Member Since:
April 30, 2014
sp_UserOfflineSmall Offline

Peter – it’s working! Maybe there was a caching issue yesterday or something weird on Facebook.

But today, when I leave the title info blank on both general SEO and Social tabs for your plugin, and then go to the Facebook Linter…BOOYAH.

Thanks for the code man.

If there’s a way to do the same for meta description fields too, that’d be sweet. Meaning, in the general settings, along with Advanced Title info, an Advanced Meta Description box that applies to any without descriptions entered.

Thanks again.

May 23, 2014
2:12 pm
Avatar
Peter Baylies
Admin
Forum Posts: 578
Member Since:
October 16, 2011
sp_UserOfflineSmall Offline

** You currently do not have permission to see this post. To obtain access to these Premium Support Forums, please purchase a plugin and support subscription from Semper Plugins **

May 23, 2014
3:05 pm
Avatar
Kyler Boudreau
Member
Guests
Forum Posts: 47
Member Since:
April 30, 2014
sp_UserOfflineSmall Offline

Ah sweet. I missed that – and it works!

Thanks yet again.

Hey, is there a way to specify the post type it applies to? Not a show stopper by any stretch, but I’d probably use that if I could.

You’ve been a massive help.

No permission to create posts
Forum Timezone: America/New_York

Most Users Ever Online: 964

Currently Online:
24 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 35

Members: 19465

Moderators: 0

Admins: 8

Forum Stats:

Groups: 4

Forums: 28

Topics: 1873

Posts: 7978

Newest Members:

Susan Kane

Administrators: Michael TorbertPeter BayliesSupport TeamSteve MortiboyMatthew RobinsonSteve KlasenArnaud BroesAshish Ravi

[i]
[i]
Skip to toolbar