so you can do that in 2 different ways
1. modify directly on template-parts/content-single.php
2. you can plug it using the
add_action(pre_get_post,func_with_your_staff )
inside this
function func_with_your_staff( $query ) {
global $wp ;
if ( $query->is_single() && empty($query->post_type) $query->set('post_type', 'wherever_is_type'); // perhaps you have a custom_post_type
?> and then you can add your extra staff <img src"" class="big-img"> <?
}
- you can use jQuery(myImg).css(‘width’,’600px’)
Related Posts:
- Is there a hook which fires after all thumbnails are generated?
- get_the_post_thumbnail_url with an unregistered size
- Cropped featured image replaces original image in gallery
- How do I delete all generated images from my server except those currently used in posts
- “There has been an error cropping your image” when cropping image
- No srcset for hard-cropped thumbnails
- Cannot access the thumbnails of attachment images… Cannot find the reason
- Display different header images based on current page
- Removing Title Tag from Thumbnails
- How to make programmatic image upload generate thumbnail and sizes?
- Disable wordpress image sizes generation
- WP 3.4 has missing photo data
- Display latest 12 images from media library
- Image Quality Thumbnail Compression in WordPress?
- Lazyload post thumbnails
- Show full image thumbnail
- Get thumbnail url of custom meta image?
- Image thumbnails not available post migration, but still accessible via direct URL – DB issue
- Upload media files to Amazon S3
- How to stop thumbnail generation from some images and different size thumbnail generate
- Update old Post image metadata to ‘thumbnail’ wp_attached_file
- How to stop wordpress always displaying full-res images
- Using SRCSET with Images and Featured Images
- Fixing image names for a site being restored
- force feed readers to pick atom version
- How to make thumbnails of uploaded animated gifs NOT animated
- Resize header image
- Gallery with thumbnail carousel
- Is it possible to change image size used for preview thumnail in Add Media popup
- Filter for post_thumbnail: link to small src and add data-attribute [duplicate]
- Multiple post image, echo url (path of image)
- Dynamic image crop in WP 3.0+?
- How do I get a smaller size of an avatar image
- Why WordPress suddenly changed sizes of thumbnails?
- Stop WordPress compressing images? – Quality is terrible
- Rebuild thumbnails via WP Cli – how?
- Can we use featured image as third party website image URL
- Get an image from url, resize it, and save on a custom folder (not the media library)
- Add retina “2x” in attribute “srcset”
- add_image_size not working
- Disable Media File Image Link On Mobile Devices
- Product Images Low Quality After Updating From WP 3.5 to 4 [closed]
- adding image to post thumbnail from another server
- How to add thumbnails to posts and pages automatically in a uniformed fixed elegant way?
- Broken thumbnails (sometimes) with TimThumb
- Is it possible to save crop to a different size of the image when in image editor?
- how to change format jpg to webp?
- x2 images for retina?
- Apply manual image cropping not to thumbnail but medium_large size
- Images not showing after wordpres update 5.6
- how to regenerate webp et-pb-portfolio-image
- How to use default image as featured image by implement some code in function.php
- Auto Generate Thumbnail
- WordPress Multisite: Images moved to /sites/1?
- How to echo images Urls from a wordpress post, that are relally in the post
- unsharp thumbnails after uploading image
- ADD class to all my images (thumbail)
- When upload a PNG a noise appears in the thumbnails
- I cannot upload images to post or the media library in wordpress
- Why image Thumbnail url is not displaying with custom size?
- Blank image thumbnails in media library
- How to disable post-thumbnail from generation?
- New portfolio items appearing smaller on the grid
- WordPress can’t detect any thumbnails size?
- WooCommerce Variation Swatches and Photos – get attribute thumbnail
- Automatically generate multiple image sizes for element
- Image thumbnail on single product issue | WooCommerce
- How Do I Auto Generate Thumbnail from First Embedded Image?
- Why doesn’t WordPress make thumbnails for videos?
- Create a custom attachment thumbnail for quick page load
- Why are my ‘medium’ images the wrong size
- Making a thumbnail if there exist a link with. jpg or .png extension in WordPress
- Imagem resolution responsive
- WP is showing wrong image dimensions
- How to include featured image on blog post preview?
- Thumbnail size keeps resetting automatically
- Delete all thumbnails & regenerate them?
- Media Library shows default image instead of image preview
- How to get dimension of Logo and Crest
- Automatically replace original uploaded image with large image size
- How to scale up featured post thumbnail?
- How to resize images in wordpress without adding any compression or changing the color profile of the images, possible?
- Get img alt tag from a Image that has been uploaded through the Customizer
- Get Attachment ID from URL [duplicate]
- Can’t Display Featured Image in RSS Feed
- How to Optimize images after uploading all images to WordPress Site?
- How to get relative URL of medium sized featured image?
- Stripping the_content() from images then displaying them seperately
- Can’t generate thumbnail images
- Does wp_get_attachment_image_src also work with non-image files?
- Display attached images as background-image css
- Remove Additional image sizes created by theme
- Show Image Size as Dragging it Larger or Smaller
- How to get image name, mime type, width, height, file size from post custom field?
- Regenerate BIG threshold scaled images
- WordPress Link To Image Missing Dropdown
- Issues Adding a jQuery Image Slider
- Newly uploaded images are not updating in featured image
- Thickbox not displaying just the image, instead showing full page in lightbox
- Images have dissapeared from media library and site