• 14-10-2019, 22:08:35
    #1
    Bir türlü silinecek kodları bulamadım. thumbnail diye aratıyorum çıkanları siliyorum ama bir şey farketmiyor.
    functions.php


    <?php
    /**
    * This file use for define custom function
    * Also include required files.
    *
    * @package Paperio
    */
    
    /*
    * Paperio Theme namespace.
    */
    
    define( 'PAPERIO_THEME_VERSION', '1.7' );
    define( 'PAPERIO_ADDONS_VERSION', '1.7' );
    
    /*
    * Paperio Theme Folders
    */
    
    define( 'PAPERIO_THEME_DIR', get_template_directory() );
    define( 'PAPERIO_THEME_TEMPLATE', PAPERIO_THEME_DIR . '/templates' );
    define( 'PAPERIO_THEME_LANGUAGES', PAPERIO_THEME_DIR . '/languages' );
    define( 'PAPERIO_THEME_ASSETS', PAPERIO_THEME_DIR . '/assets' );
    define( 'PAPERIO_THEME_JS', PAPERIO_THEME_ASSETS . '/js' );
    define( 'PAPERIO_THEME_CSS', PAPERIO_THEME_ASSETS . '/css' );
    define( 'PAPERIO_THEME_IMAGES', PAPERIO_THEME_ASSETS . '/images' );
    define( 'PAPERIO_THEME_ADMIN_JS', PAPERIO_THEME_JS . '/admin' );
    define( 'PAPERIO_THEME_ADMIN_CSS', PAPERIO_THEME_CSS . '/admin' );
    define( 'PAPERIO_THEME_LIB', PAPERIO_THEME_DIR . '/lib' );
    define( 'PAPERIO_THEME_CUSTOMIZER', PAPERIO_THEME_LIB . '/customizer' );
    define( 'PAPERIO_THEME_CUSTOMIZER_MAPS', PAPERIO_THEME_CUSTOMIZER . '/customizer-maps' );
    define( 'PAPERIO_THEME_MEGA_MENU', PAPERIO_THEME_LIB . '/mega-menu' );
    define( 'PAPERIO_THEME_TGM', PAPERIO_THEME_LIB . '/tgm' );
    
    /*
    * Paperio Theme Folder URI
    */
    define( 'PAPERIO_THEME_URI', get_template_directory_uri() );
    define( 'PAPERIO_THEME_TEMPLATE_URI', PAPERIO_THEME_URI . '/templates' );
    define( 'PAPERIO_THEME_LANGUAGES_URI', PAPERIO_THEME_URI . '/languages' );
    define( 'PAPERIO_THEME_ASSETS_URI', PAPERIO_THEME_URI . '/assets' );
    define( 'PAPERIO_THEME_JS_URI', PAPERIO_THEME_ASSETS_URI . '/js' );
    define( 'PAPERIO_THEME_CSS_URI', PAPERIO_THEME_ASSETS_URI . '/css' );
    define( 'PAPERIO_THEME_IMAGES_URI', PAPERIO_THEME_ASSETS_URI . '/images' );
    define( 'PAPERIO_THEME_ADMIN_JS_URI', PAPERIO_THEME_JS_URI . '/admin' );
    define( 'PAPERIO_THEME_ADMIN_CSS_URI', PAPERIO_THEME_CSS_URI . '/admin' );
    define( 'PAPERIO_THEME_LIB_URI', PAPERIO_THEME_URI . '/lib' );
    define( 'PAPERIO_THEME_CUSTOMIZER_URI', PAPERIO_THEME_LIB_URI . '/customizer' );
    define( 'PAPERIO_THEME_CUSTOMIZER_MAPS_URI', PAPERIO_THEME_CUSTOMIZER_URI . '/customizer-maps' );
    define( 'PAPERIO_THEME_MEGA_MENU_URI', PAPERIO_THEME_LIB_URI . '/mega-menu' );
    define( 'PAPERIO_THEME_TGM_URI', PAPERIO_THEME_LIB_URI . '/tgm' );
    
    /**
    * Sets up theme defaults and registers support for various WordPress features.
    *
    * Note that this function is hooked into the after_setup_theme hook, which
    * runs before the init hook. The init hook is too late for some features, such
    * as indicating support for post thumbnails.
    */
    if ( ! function_exists( 'paperio_theme_setup' ) ) :
    function paperio_theme_setup() {
    
    /*
    * Text Domain
    */
    
    load_theme_textdomain( 'paperio', get_template_directory() . '/languages' );
    
    /*
    * To add default posts and comments RSS feed links to theme head.
    */
    
    add_theme_support( 'automatic-feed-links' );
    
    /*
    * Let WordPress manage the document title.
    * By adding theme support, we declare that this theme does not use a
    * hard-coded <title> tag in the document head, and expect WordPress to
    * provide it for us.
    */
    
    add_theme_support( 'title-tag' );
    
    
    /**
    * Custom image sizes for posts, pages, gallery, slider.
    */
    
    add_theme_support( 'post-thumbnails' );
    set_post_thumbnail_size( 1200, 771 );
    add_image_size( 'paperio-medium-thumb', 420, '', true );
    add_image_size( 'paperio-popular-posts-thumb', 81, '', true );
    
    add_theme_support( 'custom-header', apply_filters( 'paperio_custom_header_args', array(
    'width' => 1920,
    'height' => 170,
    'wp-head-callback' => 'paperio_header_style_callback',
    ) ) );
    
    // Set Custom Body Background
    add_theme_support( 'custom-background' );
    /*
    * Register menu for Paperio theme.
    */
    
    register_nav_menus( array(
    'paperiomegamenu' => esc_html__( 'Paperio Mega Menu', 'paperio' ),
    ) );
    
    
    /*
    * Switch default core markup for search form, comment form, and comments
    * to output valid HTML5.
    */
    add_theme_support( 'html5', array(
    'search-form', 'comment-form', 'comment-list', 'gallery'
    ) );
    
    /*
    * Enable support for Post Formats.
    * See http://codex.wordpress.org/Post_Formats
    */
    
    add_theme_support( 'post-formats', array(
    'image', 'gallery', 'video', 'audio', 'quote',
    ) );
    
    /*
    * Add custom stylesheet file to the TinyMCE editor within the Post/Page edit screen.
    */
    add_editor_style( PAPERIO_THEME_CSS_URI.'/editor-style.css' );
    
    /******************* gutenberg support *************************/
    
    // Default block styles
    add_theme_support( 'wp-block-styles' );
    
    //Wide Alignment
    add_theme_support( 'align-wide' );
    
    // default editor style
    add_theme_support('editor-styles');
    
    // Enqueue editor styles.
    add_editor_style( 'style-editor.css' );
    
    // Add support for responsive embedded content.
    add_theme_support( 'responsive-embeds' );
    
    $tz_theme_type = get_theme_mod( 'tz_theme_type', 'theme-yellow' );
    $theme_colors = array();
    
    if ( $tz_theme_type == 'theme-orange' ) {
    $theme_colors = array(
    'name' => __( 'Orange', 'paperio' ),
    'slug' => 'orange',
    'color' => '#f77a52',
    );
    } elseif ( $tz_theme_type == 'theme-magenta' ) {
    $theme_colors = array(
    'name' => __( 'Blue', 'paperio' ),
    'slug' => 'magenta',
    'color' => '#0b55be',
    );
    } elseif ( $tz_theme_type == 'theme-deep-green' ) {
    $theme_colors = array(
    'name' => __( 'Deep green', 'paperio' ),
    'slug' => 'deep-green',
    'color' => '#92ab82',
    );
    } elseif ( $tz_theme_type == 'theme-turquoise-blue' ) {
    $theme_colors = array(
    'name' => __( 'Turquoise blue', 'paperio' ),
    'slug' => 'turquoise-blue',
    'color' => '#79ceb9',
    );
    } elseif ( $tz_theme_type == 'theme-fast-red' ) {
    $theme_colors = array(
    'name' => __( 'Fast red', 'paperio' ),
    'slug' => 'fast-red',
    'color' => '#fb4055',
    );
    } else {
    $theme_colors = array(
    'name' => __( 'Yellow', 'paperio' ),
    'slug' => 'yellow',
    'color' => '#edbd27',
    );
    }
    
    // Editor color palette.
    add_theme_support( 'editor-color-palette', array(
    $theme_colors,
    array(
    'name' => __( 'Dark gray', 'paperio' ),
    'slug' => 'dark-gray',
    'color' => '#232323',
    ),
    array(
    'name' => __( 'Light gray', 'paperio' ),
    'slug' => 'light-gray',
    'color' => '#f7f7f7',
    ),
    array(
    'name' => __( 'Black', 'paperio' ),
    'slug' => 'black',
    'color' => '#000000',
    ),
    ) );
    
    // Add custom editor font sizes.
    add_theme_support(
    'editor-font-sizes',
    array(
    array(
    'name' => __( 'Small', 'paperio' ),
    'shortName' => __( 'S', 'paperio' ),
    'size' => 12,
    'slug' => 'small',
    ),
    array(
    'name' => __( 'Normal', 'paperio' ),
    'shortName' => __( 'M', 'paperio' ),
    'size' => 13,
    'slug' => 'normal',
    ),
    array(
    'name' => __( 'Large', 'paperio' ),
    'shortName' => __( 'L', 'paperio' ),
    'size' => 16,
    'slug' => 'large',
    ),
    array(
    'name' => __( 'Huge', 'paperio' ),
    'shortName' => __( 'XL', 'paperio' ),
    'size' => 23,
    'slug' => 'huge',
    ),
    )
    );
    
    }
    endif;
    add_action( 'after_setup_theme', 'paperio_theme_setup' );
    
    /*
    * Content Width (Set the content width based on the theme's design and stylesheet.)
    */
    if ( ! function_exists( 'paperio_content_width' ) ) :
    function paperio_content_width() {
    $GLOBALS['content_width'] = apply_filters( 'paperio_content_width', 1200 );
    }
    endif;
    add_action( 'after_setup_theme', 'paperio_content_width', 0 );
    
    /**
    * Register Paperio theme required widget area.
    *
    * @link https://codex.wordpress.org/Function...gister_sidebar
    *
    */
    if ( ! function_exists( 'paperio_widgets_init' ) ) :
    function paperio_widgets_init() {
    
    register_sidebar( array(
    'name' => esc_html__( 'Sidebar', 'paperio' ),
    'id' => 'sidebar-1',
    'description' => esc_html__( 'Add widgets here to appear in your sidebar.', 'paperio' ),
    'before_widget' => '<div class="widget %2$s" id="%1$s">',
    'after_widget' => '</div>',
    'before_title' => '<h5 class="widget-title">',
    'after_title' => '</h5>',
    ) );
    
    register_sidebar( array(
    'name' => esc_html__( 'Menu Banner 1', 'paperio' ),
    'id' => 'menu-banner1',
    'description' => esc_html__( 'Appear in menu.', 'paperio' ),
    'before_widget' => '<div id="%1$s" class="widget %2$s">',
    'after_widget' => '</div>',
    'before_title' => '<h5 class="widget-title">',
    'after_title' => '</h5>',
    ) );
    
    register_sidebar( array(
    'name' => esc_html__( 'Menu Banner 2', 'paperio' ),
    'id' => 'menu-banner2',
    'description' => esc_html__( 'Appear in menu.', 'paperio' ),
    'before_widget' => '<div id="%1$s" class="widget %2$s">',
    'after_widget' => '</div>',
    'before_title' => '<h5 class="widget-title">',
    'after_title' => '</h5>',
    ) );
    
    register_sidebar( array(
    'name' => esc_html__( 'Content Bottom 1', 'paperio' ),
    'id' => 'left-sidebar',
    'description' => esc_html__( 'Appears at the bottom of the content on posts and pages.', 'paperio' ),
    'before_widget' => '<div id="%1$s" class="widget %2$s">',
    'after_widget' => '</div>',
    'before_title' => '<h5 class="widget-title">',
    'after_title' => '</h5>',
    ) );
    
    register_sidebar( array(
    'name' => esc_html__( 'Content Bottom 2', 'paperio' ),
    'id' => 'right-sidebar',
    'description' => esc_html__( 'Appears at the bottom of the content on posts and pages.', 'paperio' ),
    'before_widget' => '<div id="%1$s" class="widget %2$s">',
    'after_widget' => '</div>',
    'before_title' => '<h5 class="widget-title">',
    'after_title' => '</h5>',
    ) );
    
    register_sidebar( array(
    'name' => esc_html__( 'Footer Sidebar 1', 'paperio' ),
    'id' => 'footer-sidebar-1',
    'description' => esc_html__( 'Add widgets here to appear in your footer.', 'paperio' ),
    'before_widget' => '<div id="%1$s" class="widget %2$s">',
    'after_widget' => '</div>',
    'before_title' => '<h5 class="widget-title">',
    'after_title' => '</h5>',
    ) );
    
    register_sidebar( array(
    'name' => esc_html__( 'Footer Sidebar 2', 'paperio' ),
    'id' => 'footer-sidebar-2',
    'description' => esc_html__( 'Add widgets here to appear in your footer.', 'paperio' ),
    'before_widget' => '<div id="%1$s" class="widget %2$s">',
    'after_widget' => '</div>',
    'before_title' => '<h5 class="widget-title">',
    'after_title' => '</h5>',
    ) );
    
    register_sidebar( array(
    'name' => esc_html__( 'Footer Sidebar 3', 'paperio' ),
    'id' => 'footer-sidebar-3',
    'description' => esc_html__( 'Add widgets here to appear in your footer.', 'paperio' ),
    'before_widget' => '<div id="%1$s" class="widget %2$s">',
    'after_widget' => '</div>',
    'before_title' => '<h5 class="widget-title">',
    'after_title' => '</h5>',
    ) );
    
    register_sidebar( array(
    'name' => esc_html__( 'Custom Sidebar 1', 'paperio' ),
    'id' => 'custom-sidebar-1',
    'description' => '',
    'before_widget' => '<div id="%1$s" class="widget %2$s">',
    'after_widget' => '</div>',
    'before_title' => '<h5 class="widget-title">',
    'after_title' => '</h5>',
    ) );
    
    register_sidebar( array(
    'name' => esc_html__( 'Custom Sidebar 2', 'paperio' ),
    'id' => 'custom-sidebar-2',
    'description' => '',
    'before_widget' => '<div id="%1$s" class="widget %2$s">',
    'after_widget' => '</div>',
    'before_title' => '<h5 class="widget-title">',
    'after_title' => '</h5>',
    ) );
    
    register_sidebar( array(
    'name' => esc_html__( 'Custom Sidebar 3', 'paperio' ),
    'id' => 'custom-sidebar-3',
    'description' => '',
    'before_widget' => '<div id="%1$s" class="widget %2$s">',
    'after_widget' => '</div>',
    'before_title' => '<h5 class="widget-title">',
    'after_title' => '</h5>',
    ) );
    
    register_sidebar( array(
    'name' => esc_html__( 'Custom Sidebar 4', 'paperio' ),
    'id' => 'custom-sidebar-4',
    'description' => '',
    'before_widget' => '<div id="%1$s" class="widget %2$s">',
    'after_widget' => '</div>',
    'before_title' => '<h5 class="widget-title">',
    'after_title' => '</h5>',
    ) );
    
    register_sidebar( array(
    'name' => esc_html__( 'Custom Sidebar 5', 'paperio' ),
    'id' => 'custom-sidebar-5',
    'description' => '',
    'before_widget' => '<div id="%1$s" class="widget %2$s">',
    'after_widget' => '</div>',
    'before_title' => '<h5 class="widget-title">',
    'after_title' => '</h5>',
    ) );
    }
    endif;
    add_action( 'widgets_init', 'paperio_widgets_init' );
    
    /**
    * Handles JavaScript detection.
    *
    * Adds a `js` class to the root `<html>` element when JavaScript is detected.
    *
    */
    if ( ! function_exists( 'paperio_javascript_detection' ) ) :
    function paperio_javascript_detection() {
    echo "<script>(function(html){html.className = html.className.replace(/bno-jsb/,'js')})(document.documentElement);</script>n";
    }
    endif;
    add_action( 'wp_head', 'paperio_javascript_detection', 0 );
    
    if( file_exists( PAPERIO_THEME_LIB . '/paperio-require-files.php' ) ) :
    require_once( PAPERIO_THEME_LIB . '/paperio-require-files.php');
    endif;



    single.php



    <?php
    /**
    * The template for displaying all single posts and attachments
    *
    * @package Paperio
    */
    
    get_header(); ?>
    <?php
    // Start the loop.
    while ( have_posts() ) : the_post();
    
        // Set post view counter
        paperio_set_post_views( get_the_ID() );
    
        $tz_single_post_content_container_fluid = $tz_blog_theme_color = '';
        $tz_single_post_container_fluid = paperio_option( 'tz_single_post_container_fluid', 'no' );
    
        if( isset( $tz_single_post_container_fluid ) && $tz_single_post_container_fluid == 'yes' ){
         $tz_single_post_content_container_fluid .= 'container-fluid';
        } else {
         $tz_single_post_content_container_fluid .= 'container';
        }
    
        $tz_hide_category = get_theme_mod( 'tz_hide_category', 0 );
        $tz_hide_date = get_theme_mod( 'tz_hide_date', 0 );
        $tz_post_date_format = get_theme_mod( 'tz_post_date_format', '' );
        $tz_hide_author = get_theme_mod( 'tz_hide_author', 0 );
        $tz_hide_breadcrumb_navigation = get_theme_mod( 'tz_hide_breadcrumb_navigation', 0 );
        $tz_hide_tags = get_theme_mod( 'tz_hide_tags', 0 );
        $tz_hide_comment_link = get_theme_mod( 'tz_hide_comment_link', 0 );
        $tz_hide_like = get_theme_mod( 'tz_hide_like', 0 );
        $tz_hide_share = get_theme_mod( 'tz_hide_share', 0 );
        $tz_hide_post_author_box = get_theme_mod( 'tz_hide_post_author_box', 0 );
        $tz_hide_related_posts = get_theme_mod( 'tz_hide_related_posts', 0 );
        $tz_related_posts_title = get_theme_mod( 'tz_related_posts_title', 0 );
        $tz_no_of_related_posts = get_theme_mod( 'tz_no_of_related_posts', 0 );
        $tz_related_posts_date_format = get_theme_mod( 'tz_related_posts_date_format', 0 );
        $tz_hide_comment = get_theme_mod( 'tz_hide_comment', 0 );
        $tz_theme_type = get_theme_mod( 'tz_theme_type', 'theme-yellow' );
        $tz_hide_post_titlewrapper = paperio_option( 'tz_hide_post_titlewrapper', 0 );
        switch( $tz_theme_type ) {
            case 'theme-magenta':
                $tz_blog_theme_color = ' bg-white';
            break;
            
            case 'theme-fast-red':
                $tz_blog_theme_color = ' bg-dark-gray2';
            break;
    
            default:
                $tz_blog_theme_color = ' bg-gray';
            break;
        }
    
        /* For Title Background Image*/
        $tz_title_background_image_single = '';
        $tz_title_background_image_single = get_post_meta( get_the_ID(), 'tz_post_title_bg_image', true );
        if ( !empty( $tz_title_background_image_single ) ) {
            $tz_title_background_image = $tz_title_background_image_single;
        } else{
            $tz_title_background_image = get_theme_mod( 'tz_title_background_image', '' );
        }
    
        $tz_title_background_image_style = ( $tz_title_background_image ) ? ' style="background: url('.esc_url( $tz_title_background_image ).') repeat-x left top;"' : '';
    
        /* Get post class and id */
        $tz_post_classes = '';
        ob_start();
    post_class();
    $tz_post_classes .= ob_get_contents();
    ob_end_clean();
        echo '<div id="post-'.get_the_ID().'" '.$tz_post_classes.'>';
    
            /* For post top part title and post meta */
            if ( $tz_hide_post_titlewrapper != 1 ) {
                echo '<section class="page-title border-bottom-mid-gray border-top-mid-gray blog-single-page-background'.esc_attr( $tz_blog_theme_color ).'"'.$tz_title_background_image_style.'>';
                 echo '<div class="container-fluid">';
                 echo '<div class="row">';
                 echo '<div class="col-md-12 col-sm-12 col-xs-12 text-center">';
                 echo '<h1 class="title-small font-weight-600 text-uppercase text-mid-gray blog-headline entry-title blog-single-page-title no-margin-bottom">'.get_the_title().'</h1>';
                 if( $tz_hide_category != 1 || $tz_hide_date != 1 || $tz_hide_author != 1 ) :
                     echo '<ul class="text-extra-small text-uppercase alt-font blog-single-page-meta">';
                                        if( $tz_hide_category != 1 && !is_attachment() ) :
                                            echo '<li>'.paperio_post_category( get_the_ID(), 'text-link-light-gray blog-single-page-meta-link', '1' ).'</li>';
                                        endif;
                                        if( $tz_hide_date != 1 ) :
                                            echo '<li class="published">'.get_the_date( $tz_post_date_format ).'</li>';
                                        endif;
                                        if( $tz_hide_author != 1 ) :
                                            echo '<li>'.esc_html__( 'By ', 'paperio' ). '<a class="text-link-light-gray blog-single-page-meta-link" href='.get_author_posts_url( get_the_author_meta( 'ID' ) ).'>'.get_the_author().'</a></li>';
                                        endif;
                     echo '</ul>';
                     endif;
                 echo '</div>';
                 echo '</div>';
                 echo '</div>';
                echo '</section>';
            }
            /* For post single breadcrumb */
            if( $tz_hide_breadcrumb_navigation != 1 ) :
                echo paperio_breadcrumb_navigation();
            endif;
    
            /* For page sidebar and content */
            echo '<div class="post-content-area">';
                echo '<section class="margin-five no-margin-lr sm-margin-eight-top xs-margin-twelve-top">';
                    echo '<div class="'.esc_attr( $tz_single_post_content_container_fluid ).'">';
                        echo '<div class="row">';
    
                            /* Get post left sidebar */
                            get_template_part( 'templates/single-post', 'left' );
    
                            if( $tz_theme_type == 'theme-magenta' ) {
                                echo '<div class="col-md-12 col-sm-12 col-xs-12 padding-four xs-padding-five bg-white">';
                            }
                            
                                // Include Post Format Data
                                if ( !post_password_required() ) {
                                    get_template_part( 'loop/single/content', get_post_format() );
                                }
    
                                // Show Post Content
                                echo '<div class="entry-content">';
                                 the_content();
                                echo '</div>';
    
                                /* Displays page-links for paginated posts. */
         wp_link_pages(
         array(
         'before' => '<div class="page-links"><span class="pagination-title">' . esc_html__( 'Pages:', 'paperio' ).'</span>',
         'after' => '</div>',
         'link_before' => '<span class="page-number">',
         'link_after' => '</span>',
         )
         );
    
                                /* Check post tags, comment link and like */
                                if( $tz_hide_tags != 1 || $tz_hide_comment_link != 1 || $tz_hide_like != 1 ) :
                                    echo '<div class="col-md-12 col-sm-12 col-xs-12 blog-meta text-uppercase margin-top-20 padding-top-25 padding-bottom-25 border-top-mid-gray alt-font post-details-tags-main no-padding-lr paperio-meta-border-color">';
                        
                         if( $tz_hide_tags != 1 ) {
                                            paperio_single_post_meta_tag();
                         }
                                    
                                     if( $tz_hide_comment_link != 1 || $tz_hide_like != 1 ) {
                                         echo '<div class="col-md-4 col-sm-12 col-xs-12 no-padding text-center pull-right meta-border-right">';
                                         echo '<ul class="blog-listing-comment">';
                                                if( comments_open() && $tz_hide_comment_link != 1 ) {
                                         echo '<li>';
                                                        comments_popup_link( __( '<i class="far fa-comment"></i><span>Leave a comment</span>', 'paperio' ), __( '<i class="far fa-comment"></i><span>1 Comment</span>', 'paperio' ), __( '<i class="far fa-comment"></i><span>% comments</span>', 'paperio' ), 'comment comments-link inner-link' );
                                         echo '</li>';
                                     }
                                                if( $tz_hide_like != 1 && function_exists( 'paperio_get_simple_likes_button' ) && ( get_post_type( get_the_ID() ) == 'post' ) ) {
                                                    echo '<li>'.paperio_get_simple_likes_button( get_the_ID() ).'</li>';
                                                }
                                         echo '</ul>';
                                         echo '</div>';
                                        }
                                    echo '</div>';
                                endif;
    
                                /* Check if share button hide / show */
                                if( $tz_hide_share != 1 ) :
                                    echo '<div class="col-md-12 col-sm-12 col-xs-12 text-center padding-top-40 padding-bottom-40 no-padding-lr border-top-mid-gray paperio-meta-border-color">';
                                        echo paperio_share_button( get_the_ID() );
                                    echo '</div>';
                                endif;
    
                                /* Check if author box hide / show */
                                if( $tz_hide_post_author_box != 1 && get_the_author_meta( 'description' ) ) :
                                    get_template_part( 'author-bio' );
                                endif;
    
                                /* Check if related post hide or show */
                                if( $tz_hide_related_posts != 1 ) :
                                    paperio_related_posts( get_the_ID() );
                             endif;
                            
                                // If comments are open or we have at least one comment, load up the comment template.
                                if( $tz_hide_comment != 1 ) {
                                    if ( comments_open() || get_comments_number() ) {
                                        comments_template();
                                    }
                                }
    
                            if( $tz_theme_type == 'theme-magenta' ) {
                                echo '</div>';
                            }
                                
                            /* Get post right sidebar */
                            get_template_part( 'templates/single-post', 'right' );
                            
                        echo '</div>';
                    echo '</div>';
                echo '</section>';
            echo '</div>';    
    
        echo '</div>';
    
    // End of the loop.
    endwhile;
    
    get_footer();
  • 14-10-2019, 22:18:11
    #2
    facebook üzerinde mi sorun yaşıyorsunuz genel olarak mı?
  • 14-10-2019, 22:20:04
    #3
    Mutlubiter adlı üyeden alıntı: mesajı görüntüle
    facebook üzerinde mi sorun yaşıyorsunuz genel olarak mı?
    yazının içerisindeki öne çıkarılmış görseli
  • 14-10-2019, 22:25:36
    #4
    Kimlik doğrulama veya yönetimden onay bekliyor.
    Temanın veya sitenizin de bi' linkini bırakırsanız Sağ Klik > İncele yaparak daha kolay bulunabilir. Hem sizin için hem burada yardım etmek isteyenler için daha kolay olur yani.
  • 14-10-2019, 22:28:52
    #5
    temanın single php dosyasına bakmalısınız. tema yöneticisi neyi nasıl çekmiş belli olmuyor bazen.
  • 14-10-2019, 22:29:29
    #6
    tuuruls adlı üyeden alıntı: mesajı görüntüle
    Temanın veya sitenizin de bi' linkini bırakırsanız Sağ Klik > İncele yaparak daha kolay bulunabilir. Hem sizin için hem burada yardım etmek isteyenler için daha kolay olur yani.
    Site ismi yukarıda mevcut.

    tema: https://themeforest.net/item/paperio...theme/19342188



    Aşağıdaki eklenti sayesinde sorun çözüldü.

    https://wordpress.org/plugins/hide-featured-image/