Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * The Template for displaying all single posts.
- *
- * @license For the full license information, please view the Licensing folder
- * that was distributed with this source code.
- *
- * @package Bimber_Theme 4.10
- */
- // Prevent direct script access.
- if ( ! defined( 'ABSPATH' ) ) {
- die( 'No direct script access allowed' );
- }
- // We don't need to double the code here, so this will be enough.
- if (get_post_type( get_the_ID()) == 'entity'){
- get_template_part( 'g1-template-post-classic-no-sidebar' );
- }
- else if (is_attachment()){
- get_template_part( 'g1-template-post-classic-no-sidebar' );
- }
- else {
- get_template_part( 'g1-template-post-classic' );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement