I have the 2 new added sized that I am testing: // testing add_image_size('new-small', 500, false); add_image_size('medium-large', 768, false); // just added today for devices support image outputted html:...
Is there a native function to display the correct responsive image size for post thumbnails or gallery images depending on the screen resolution? Normally I’m using: 1.Custom image sizes:...
I don’t understand how to customize responsive sizes images in WP 4.4.1. The only available hooks that I see are wp_calculate_image_srcset and wp_calculate_image_sizes, and neither has the named image...
The goal Point the upload-folder to a static subdomain to serve adaptive images, that can get cached. WordPress Rewrite Rules You can read more in detail about rewrite rules...
I’m looking for a way to get the ID of the background_image when I am using custom headers? I tired using url_to_postid like this: $url = get_header_image() $postid =...
I have 2 divs: one in the left side and one in the right side of my page. The one in the left side has fixed width and I...
I’m building a custom theme for a client’s website and want to allow them to use embedded content in their posts (Youtube videos, Facebook posts, Twitter feeds, etc.) Typically,...
I have upgraded a neglected WordPress installation the was a few versions off. After the installation and upgrading multiple version, all of my images are now broken which were...
I have this function in my theme to create thumbnail sizes. set_post_thumbnail_size( 620, 848, true ); if (function_exists('add_image_size')){ add_image_size( 'compare-shop-logo', 150 ); add_image_size( 'compare-single-product-2', 250, 188, true ); add_image_size(...
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for WordPress Development Stack Exchange. Closed 7...