Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ACF Template Variables do not show in SEO Title of the Yoast Snippet Tool #5632

Closed
Pcosta88 opened this Issue Sep 16, 2016 · 8 comments

Comments

Projects
None yet
10 participants
@Pcosta88
Copy link
Contributor

Pcosta88 commented Sep 16, 2016

What did you expect to happen?

Template variables such as those for custom fields %%cf_<custom-field-name>%% and modified time %%modified%% to appear as part of the blue link

What happened instead?

They did not

How can we reproduce this behavior?

1.Install ACF

2.Install Yoast

3.Install Yoast SEO ACF Analysis

4.Create new fields

screen shot 2016-09-16 at 3 40 31 pm

5.Add fields to the Title and Meta Section
6.Add the custom field and modified time template variables

screen shot 2016-09-16 at 3 40 51 pm

7.Fill in custom fields
8.See that it does not populate

1

9.See that fields are out putted into the source code


screen shot 2016-09-16 at 3 44 55 pm

Can you provide a link to a page which shows this issue? n/a

Technical info

  • WordPress version: 4.6.1
  • Yoast SEO version: 3.5
  • ACF: 4.4.8
  • Yoast SEO for ACF Analysis: 1.2.0

@yoastbot yoastbot added the support label Sep 16, 2016

@Pcosta88

This comment has been minimized.

Copy link
Contributor Author

Pcosta88 commented Sep 16, 2016

related: #5135

@Pcosta88

This comment has been minimized.

Copy link
Contributor Author

Pcosta88 commented Sep 16, 2016

Please inform the customer of conversation # 148057 when this conversation has been closed.

@Rarst

This comment has been minimized.

Copy link
Contributor

Rarst commented Sep 20, 2016

Duplicates #3953 I think. ACF purposely marks its meta as private so it's highly not clear what would be optimal way to work with it.

@Rarst Rarst added the compatibility label Sep 20, 2016

@iamazik

This comment has been minimized.

Copy link
Member

iamazik commented Nov 30, 2016

Please inform the customer of conversation # 161776 when this conversation has been closed.

@omarreiss omarreiss added bug and removed compatibility labels Jan 5, 2017

@omarreiss

This comment has been minimized.

Copy link
Member

omarreiss commented Jan 5, 2017

This might indeed cause compatibility issues, but I think this is a bug in general. I am sure it got introduced with 3.0 when we rebuilt the snippet preview and content analysis in JavaScript. We should finally get to fixing this. @atimmer please give this prio for the queue. Also, I'd rather have you dive into this yourself, since this might be really hard to fix.

@Pcosta88 Pcosta88 changed the title Template Variables do not show in Yoast Snippet Tool ACF Template Variables do not show in SEO Title of the Yoast Snippet Tool Feb 3, 2017

@atimmer atimmer added the queue label Jun 27, 2017

@herregroen herregroen self-assigned this Aug 3, 2017

@herregroen herregroen added development and removed queue labels Aug 3, 2017

@herregroen herregroen removed their assignment Aug 4, 2017

@moorscode moorscode self-assigned this Aug 4, 2017

@moorscode moorscode removed the code-review label Aug 4, 2017

@giacomoalonzi

This comment has been minimized.

Copy link

giacomoalonzi commented Sep 8, 2017

Same problem on 5.4, any update?

@Pcosta88

This comment has been minimized.

Copy link
Contributor Author

Pcosta88 commented Sep 9, 2017

@Rarst @omarreiss

Can we confirm that this issue still happens and re-open it?

1. Add Custom Field via ACF

1

2. Add it into the titles and metas section

2

3.Custom Field does not appear in SEO TItle

3

4.Appears in source code

4

Tech Specs
WordPress: 4.8.1
Yoast: 5.4

@paulcham

This comment has been minimized.

Copy link

paulcham commented Oct 23, 2017

Same issue here (everything works as expected but the snippet preview):
WordPress: 4.8
Yoast: 5.5.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.