Site logo

Archived topic

Trying to display CPT content from radio button field type using GPP and GBP

5 replies · Started by Kevin on December 2, 2022

Viewing posts 1–6 of 6

Hi,

I've created a custom post type using CTP UI and Advanced Custom Fields Pro that includes multiple field types.

Using GeneratePress Premium 2.2.1 and GenerateBlocks Pro 1.4.0 I can display text, text area, and image content, but not radio button content.

I've tried switching the Return Value within the Field Group from Value, to Label, to Both (Array) but nothing seems to work.

Is this a shortcoming of GPP and GBP, or am I doing something wrong?

For reference, I'm following Kyle Van Deusen's video here:

https://youtu.be/kXsIoudMKEM

Thanks for your help!

Hi Kevin,

The radio button field should work with the GB headline block. It does not require GB Pro.

What's the GB version you are using? Is it 1.6?

If so, can you take a screenshot of the dynamic data setting for the radio button field?

Yes, GB version is 1.6

Here's a screenshot of the single post template:

screenshot of single post template

Is that what you're looking for?

Please let me know.

Hi Kevin,

Yes, thank you for the screenshot.

It seems that it is set up correctly though. Is the Field name correct?

If it is correct, to test, can you try creating a new Radio Button field and test if it will work?

Ok, I added a new radio button field, the same way I created the others, and it works while the originals still don't. I've replaced the other radio button fields and they're working properly now too. Perhaps it was a caching issue?

Anyway, thanks again for your help!

Yes, it's likely a caching or a database issue.

Glad it's working now though! You're welcome, Kevin!

This archived topic is closed to new replies.