Changeset 1180006
- Timestamp:
- 06/13/2015 01:20:41 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
easy-content-adder/trunk/includes/display-functions.php
r1165421 r1180006 31 31 } 32 32 } 33 34 $page_conditionals = is_single() || is_page() || is_attachment(); 33 35 34 36 // display content if a post type is chosen and if the enable option is selected 35 if( in_array(get_post_type(), $selected_post_types) && $beca_options['enable'] == 1 ){37 if( in_array(get_post_type(), $selected_post_types) && $beca_options['enable'] == 1 && $page_conditionals ){ 36 38 37 39 // display content at top or bottom of content....or both top and bottom
Note: See TracChangeset
for help on using the changeset viewer.