I want to show widgets only on some GDv2 pages / archives. Therefore I’m using widget logic plugin. https://de.wordpress.org/plugins/widget-logic/
I have 2 CPT: gd_place (standard) and gd_project (new added CPT)
What are the widget logic “conditional tags” to show a widget on GDv2 pages?
https://codex.wordpress.org/Conditional_Tags
GD Details Page: show a widget only on details page for “places” and for “projects”.
GD Archive Page: show a widget only on listing pages for “places” and for “projects”.
is_post_type_archive( $post_type )
Is it like this? But what should I put in $post_type? gd_place or gd_project (new CPT) is not working.
Or this?
is_page_template( ‘about.php’ )
But what are the names of the templates for gd_place and gd_projects for detail and archive pages?
Thanks for help.