Support » Plugin: Widget Options – The #1 Widget Control Plugin » Conditional Logic Doesn’t work

  • Peyton


    how should the code in the conditional logic box be formatted?

    I want the widget to only appear on the archive page of a custom post type labeled “physicians”

    I’ve tried many variations of the following code which doesn’t work.




    <?php if ( is_post_type_archive(‘physicians’) ) {} ?>

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Conditional Logic Doesn’t work’ is closed to new replies.