Site logo

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

Home Forums Support [Resolved] Trying to display CPT content from radio button field type using GPP and GBP

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

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2447373
    Kevin

    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:

    Thanks for your help!

    #2448280
    Ying
    Staff
    Customer Support

    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?

    #2448343
    Kevin

    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.

    #2449584
    Fernando
    Customer Support

    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?

    #2450792
    Kevin

    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!

    #2450950
    Fernando
    Customer Support

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

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

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.