Skip Navigation

[Closed] Third party custom field (Yoast primary) not appearing in settings

This support ticket is created 3 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 3 replies, has 3 voices.

Last updated by Waqar 3 years, 2 months ago.

Assisted by: Waqar.

Author
Posts
#2276169
custom-field-options.JPG

Tell us what you are trying to do?

I need to filter by the Yoast primary category. In my site I have multiple CPT's and each have a custom Taxonomy. The problem I am having is the Taxonomy I need to filter by is not appearing in settings.

The field does exist as I can output it within the view.

I have been through the settings of a CPT and Taxonomy that is appearing and compared it to the one that isn't. The set up is identical (apart from the names of course). I've flushed the cache and updated permalinks but I'm not sure why this specific one cannot be found.

The field in question: _yoast_wpseo_primary_video-category

#2276313

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

Screenshot 2022-01-26 at 13.32.23.png

_yoast_wpseo_primary_category is a custom field, not a taxonomy.

Having exposed it in the settings (as per your screenshot), it is then available to use in custom field query filters (not taxonomy filters), as you can see in the screenshot.

#2280065

Hi Nigel,

I misspoke or didn't explain myself correctly. I understand that _yoast_wpseo_primary_video-category is a custom field, it stores the primary category of 'Video Category'.

As you'll see within my screenshot, '_yoast_wpseo_primary_video-category' isn't there so I'm not able to use it within views. That's the problem I am having.

Referring to CPT and Taxonomies, though it added confusion, I was checking that 'Video Category' had been set up correctly. As that's the only custom field for the Yoast primary category that I can't select.

#2280491

Hi,

Thanks for writing back.

I've performed some tests on my website and just like Nigel, I had no difficulty in enabling that hidden custom field, for the query filter.

Can you please make sure that at least one of the posts has a record for this custom field "_yoast_wpseo_primary_video-category"?
( i.e. at least one of the posts has a term for "video-category" taxonomy set as primary )

After that, you can clear all involved caches once again and then check the section for the hidden custom fields again.

In case the issue still persists, you're welcome to share temporary admin login details, in reply to this message, for further troubleshooting.

Note: Your next reply will be private and it is recommended to make a complete backup copy, before sharing the access details.

regards,
Waqar

The topic ‘[Closed] Third party custom field (Yoast primary) not appearing in settings’ is closed to new replies.