Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ( is_singular( 'post' ) && ( $this->settings['content'] == 'post' || $this->settings['content'] == 'post_and_page' ) ) {
- $this->post_type = 'post';
- }
- if ( is_home( 'post' ) && ( $this->settings['content'] == 'post' || $this->settings['content'] == 'post_and_page' ) ) {
- $this->post_type = 'post';
- }
Add Comment
Please, Sign In to add comment