Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #1782044
Single Post
Closed

Comments

  •  1
    Muhammad started the conversation

    Hi Dear Sir,

    i am using your theme i face one issue i have meduim large images on server but single post not getting medium large image 768x0 which is create default medium_large image wordpress so how can i fix it ?

    https://wallpapergun.com/1920x1200-birds-of-paradise-wallpapers-9/

    http://myprintscreen.com/s/y7rs/6626f6361b

    this only example one link but all there post getting full image i want to showing there mideum_large image 768x0 how can i do that?


    Thanks

  •  501
    Penci replied

    Hi,

    Please edit image you want change image size and change size you want as screenshot http://prntscr.com/lhvxamhttp://prntscr.com/lhvws2.

    Best Regards,

    PenciDesign

  •  1
    Muhammad replied

    Hello,


    it's not resolve my issue why there not getting auto medium_large image ? in localhost server work fine but in webhosting server making issue why?


    thanks

  •  2,700
    PenciDesign replied

    Hi,

    I see everything fine on your site:

    http://prntscr.com/li34mp


    Best Regards,

    PenciDesign

  •  1
    Muhammad replied

    Hi,


    i removed your code from entry-content.php file

    <?php
    penci_render_google_adsense( 'penci_single_ad_before_content' );
    the_content( sprintf(
    wp_kses( __( 'Continue reading %s <span class="meta-nav">→</span>', 'pennews' ), array( 'span' => array( 'class' => array() ) ) ),
    the_title( '<span class="screen-reader-text">"', '"</span>', false )
    ) );

    wp_link_pages( array( 'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'pennews' ), 'after' => '</div>', ) );
    penci_render_google_adsense( 'penci_single_ad_after_content' );
    ?>


    then i repalce my code 


    <a href="<?php echo $large_image_url[0];?>" title="<?php the_title();?>" target="_blank"> <?php the_post_thumbnail('medium_large', array('class'=>'img-responsive img-thumbnail'));?></a>


    that's why its working but why in your code not getting medium_large image ?


    thanks



  •  2,700
    PenciDesign replied

    Hi,

    For any theme - It can't auto load medium_large image - we need to use image sizes from the theme.

    medium_large size is the size from Wordpress itself. And customers can change it to any other size their want - that will make the theme display not look good on all other places.

    You can try with any other premium Wordpress theme - no any theme use medium_large size on the single post page.


    Best Regards,

    PenciDesign

  •  1
    Muhammad replied

    Hi,


    ok now i got your point so how can i display there medium_large image with theme code no need my own code. can you modified this code to display medium_large image,

    <?php penci_render_google_adsense( 'penci_single_ad_before_content' ); the_content( sprintf( wp_kses( __( 'Continue reading %s <span class="meta-nav">→</span>', 'pennews' ), array( 'span' => array( 'class' => array() ) ) ), the_title( '<span class="screen-reader-text">"', '"</span>', false ) ) );

    wp_link_pages( array( 'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'pennews' ), 'after' => '</div>', ) ); penci_render_google_adsense( 'penci_single_ad_after_content' ); ?>


    Thanks


  •  501
    Penci replied

    Hi,

    Please install and active "Penci Custom Content Width" plugin attachment.

    then add image , choose size image  you want as screenshot http://prntscr.com/li59kj


    Best Regards,

    PenciDesign