Support

Account

Home Forums General Issues Hide Content with radio button Reply To: Hide Content with radio button

  • You need to check the post type of the post being displayed
    This is just an example, untested code, it will probably need to be altered based on your needs. For example, I don’t even know if get_post_type() will work here

    
    if (get_post_type() != 'slider-post-type' || get_field('vedi_autore') == 'si') {
     Output Post Author element
    }