Ack, nevermind I just discovered that using get_the_post_thumbnail( $post_id, 'full' ); // Original resolution
will use the width and height of the featured image.
I do apologize for wasting everyone’s time. I should have been a little more patient 😉
Related Posts:
- How can I get the title attribute from get_the_post_thumbnail()?
- Set Featured Image for Archive templates
- How can I add a set featured image function to a theme that doesn’t already have it built in?
- How do you get thumbnails to show up in the admin edit post?
- Featured images, am I missing something?
- Recommended Media Size for Twenty Fourteen
- get_the_post_thumbnail() produces different HTML on same arguments
- Migrating a website using custom image tags to use featured images instead
- How do I get the featured image to sit below the header in the twenty nineteen theme?
- Edit box-header on WordPress Dashboard
- Featured images are cropped on index and post page
- Change theme’s thumbnail to cropped WP featured image
- Theme stops media uploader from working
- Featured image on page is not displayed with certain theme: how to debug this?
- Override parent theme translation on child theme
- The the_post_thumbnail without srcset?
- What does exactly GPL license mean for my WordPress theme?
- How to set thumbnail image for a (child) theme
- Categorising themes by folders in backend
- How to incorporate admin theme in my back-end-plugin
- Using chunk theme from wordpress.com on my own host
- What is the first file wordpress looks at in a theme?
- Duplicate and change a Theme Widget
- Custom Upload Panel in Menu Bar
- WordPress themes under GPL license
- Theme not showing after uploading
- I want to run different WordPress websites under the same database
- get_template_directory_uri does not seem to work when defining WP_CONTENT_DIR
- Using a _GET gives me a debug error (over my head)
- Possible to put header-{your_custom_template}.php in subdirectory?
- Why wp_enqueue_style() not working?
- How to remove header image on subpages in Twenty Eleven (default theme)?
- Can I update themes without enabling maintenance mode?
- 404 Error while accessing the font files
- Child Style.css not overriding parent theme style located in assets/css/main.css
- How to remove background image from post navigation elements?
- Child theme Page Template not loading
- Load a different theme for IE less than 9
- Theme Check reporting an incorrect theme slug and text domain
- Understanding Theme specific Code
- How to merge two WordPress themes?
- WordPress themes that are browser tested and maintained?
- Remove transparancy in Sydney theme’s headerimage
- Browser back button does not work on firefox and safari [closed]
- stylesheet is not readable error after installation
- How to display message (with switch_theme hook) after deactivating My theme?
- GPL 2 Theme using a framework for commercial Theme?
- Using twitter bootstrap in a theme
- Is there a way to upgrade a theme without losing custom templates?
- What hook is the currently active theme’s functions.php file loaded on? [duplicate]
- It’s okay if I do not write add_action()
- i would like to have 3 default columns editable in guttenberg
- Set a featured image as a replacement to the header image
- Basic Theme for a Static Corporate Website?
- WordPress 5.1 upgrade has lost the parent theme JavaScript
- SOLVED Custom Add rewrite rule and Get string
- Section Background Images?
- Theme update deleted my custom page
- Create page options for theme?
- Permissions error
- Where is the best place to catch useragent?
- Knowing blog name using blog id
- Setting a new default template for the creation of a page
- How can I change the prev / next buttons text to Dutch?
- Woocommerce single product image blurred and small. Actual image is big
- Event Organiser breaks the theme [closed]
- Get data from Theme Options and use them into meta options field in custom post type
- How to remove the tripadvisor logo from the wordpress theme?
- Can’t see themes for Multi-site wildcard subdomain
- Are the Theme frame works or Theme builders slow downs the performance? [closed]
- Make the “Add New Post” one column for all users
- What happened to my Inactive Widgets?
- Transclude/Import one wordpress page to another
- Remove admin sub menu from child theme
- removing side space between para and container on generatepress?
- Video not showing on smaller resolutions
- How Can I Disable WordPress Theme Self-Update?
- I want to remove part of a header
- Moving website from localhost to existing website without altering existing live theme
- CSS in child theme isn’t working properly
- Theme customizer hiding sections
- How do I change theme demo [duplicate]
- template_redirect() doesn’t seem to be working
- Theme installation error “The parent theme could not be found”
- WordPress theme is not displayed properly on other computers
- Media previews on posts
- Display ads by location [closed]
- load language file
- Are immediately-called actions not usable in themes?
- Where is the stylesheet code?
- Detect PHP script usage in themes?
- Problems Replacing Background Color with Static Background Image in Responsive Design
- Lost in creating multiple meta boxes
- WordPress Theme Problem
- wordpress not able to open theme-editor.php
- How to insert a column (part of theme) in the middle of the content body?
- A custom jquery posts slideshow?
- Search engine for themes [closed]
- Make it easier to add, change, and update pages on existing WP website
- WordPress site is not loading properly ( showing a min-page)