Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

  • Profile
  • Topics Started
  • Replies Created
  • Favorites

Forum Replies Created

  • 10 years, 3 months ago critara
    Participant

    Expired

    in reply to: change image size display in single blog post

    OK, I think I might have found the answer here: https://wpshout.com/adding-using-custom-image-sizes-wordpress-guide-best-thing-ever/

     

    10 years, 3 months ago critara
    Participant

    Expired

    in reply to: change image size display in single blog post

    Thank you Mihaila,

    however, the second image I linked is certainly cut. It is a vertical photo, and the text is cut. See here

    [caption id="" align="alignnone" width="489"]cut image cut image[/caption]

    this is the original image:

    [caption id="" align="alignnone" width="489"]original image original image[/caption]

    One question: in the loop-index.php (/wp-content/themes/specular/includes/view/blog) in line 135 there is this code to place the image in the “div class=media” section of the post:

    <?php if(!is_single() || (is_single() && $cl_redata[‘use_featured_image_as_photo’]) ): ?>
           <img src="<?php echo esc_url(codeless_image_by_id(get_post_thumbnail_id(), ‘blog’, ‘url’)) ? />”
    <?php endif; ?>

    Does that determine which image will be placed there?
    Or weather it will insert the original image or the reduced version of the image?

     

    10 years, 3 months ago critara
    Participant

    Expired

    in reply to: Blog post

    You could work around it with a display:none; in your CSS file. I did it.

Viewing 3 posts - 1 through 3 (of 3 total)

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password