• Resolved hommealone

    (@hommealone)


    I’m trying to get a widget to display on the archive page of a CPT called “people”. I’ve tried using the conditional logic field, entering

    is_post_type_archive('people');

    This isn’t working. (I’ve tried it with and without the trailing semicolon; which is correct?)

    I’ve also tried using the ACF method and a field in the People CPT:

    Hide/Show
    Show when Condition’s met

    Choose ACF field
    First Name

    Condition
    Is Equal to

    Conditional Value
    Andrew (he’s the first person displayed in the archive page)

    (I also tried…)

    Condition
    Is not empty

    Conditional value
    (left blank)

    But nothing seems to work! Any suggestions?

Viewing 1 replies (of 1 total)
  • Plugin Author Mej de Castro

    (@mej)

    Hi @hommealone

    Widget Options visibility feature does not support custom post types created with?Custom Post Type UI,?Post Type Builder, and other custom post type builder plugins yet.

    Without the ; is the correct one.

    Moving forward, this case has been submitted to our feature request for our team to consider implementing in the future.

    Thank you,
    Mej

Viewing 1 replies (of 1 total)
  • The topic ‘Display a widget on a CPT archive page?’ is closed to new replies.