What you’ve provided is the displayed code on the website. You’ll need to edit the single.php and make it match the archive/index page of your theme. search the index the code you want, place it in your post single.php.
Good luck and let me know if you have other questions.
Related Posts:
- removing inline styles from wp-caption div
- Add custom Attachment Display Setting for images
- Including categories in search results
- Search Custom Post Type Pages and Custom Fields in 2 Dropdowns?
- How to get Images included in Post
- disable WP automatically inserted line breaks after an image
- Find the post an attachment is attached to
- Delete the original big size image after upload and leave only 3 images crunched by media gallery
- Post slugs and images cannot have same name?
- Add existing images from Media Library in to custom gallery
- Replace image attributes for lazyload plugin (data-src)
- How do I detach images from posts?
- Display all search results
- Download external images if post is publish
- How do I sort (order) the results from `get_children()`?
- upload image in a meta box
- Can I load posts via Ajax?
- How do I use element instead of tags in WordPress post content having webP support?
- Search posts by post author name
- How to remove images from showing in a post with the_content()?
- Search not working with title and content
- Unattaching images from a post
- how to display post content without post image?
- How to wrap every image in a post with a div?
- upload featured image from front end using wordpress add media button
- how to hide specific post from google search
- How do I create Comma Separated list of attached image ids?
- Get post embedded image caption
- how to grab first link in post… and of course call it
- Load post content into div with ajax
- How to search only by post title and category?
- Search widget breaks when using multiple loops?
- Add an image box besides featured image?
- Remove image from post also removes photo from media library
- Pagination not working on custom query
- Limit function to specific post category
- How can I get all posts data from within a paginated search result?
- Post taxonomy from exif data
- Remove inline width from figure
- All my inserted images gets a link to the full image even if it is already full size image
- Search query – exact post title match
- pagination hook doesn’t work with search results
- get custom image size
- Search for posts based on their url in the admin?
- Remove permalink from images when inserting into post
- How to get only text from wordpress post content?
- wp_query ‘s’ parameter does not work with custom post type
- Get all images out of the posts content
- how to replace embedded “full” sized images within a post with the “large” ones
- Differentiate between posts and pages in search results
- WordPress Theory Lesson – Image Columns within posts with alignment?
- Batch process: remove first image from post content
- how can I put an image in a post with original size
- Count search results in heading
- Private Posts/Pages & Search
- Display number of posts via adress bar?
- Show featured image next to post-teasers in Genesis Framework?
- Get image from post’s gallery
- Image Insert into posts and pages not working after 3.2.1 update
- How to retrieve the postID in a “image_send_to_editor” hook function?
- Tags to Post-ID mysql query. Tag Search
- Copying and pasting emoji in a wordpress post
- Comma separated all attached image ID numbers except featured image ID number
- How to change wordpress dates to native language (even if the languge not available i wordpress)
- Modify Image Source With The_Content Filter?
- How to display featured image without it appearing in post?
- Can I use images as anchor tags with
- Featured Image uploaded, attached and set but only appearing in the media library
- Load post attached images on a single page site with fancybox
- creating front end image uploader that uploads images as posts
- Errors when uploading images in WP 3.5
- Format the Layout of Images In The Edit Post Textarea?
- Set size for attachments
- I have a site where attachments in the wp_posts table have guid values of guid, how did this happen?
- CSS: How can I show a photo beyond the template’s column, but contained within the browser window? [closed]
- Get all attachment by post excluding featured and content inside
- wp-cli post create & media import issues
- How to filter my search in post if contains a word in title, content or excerpt?
- Search results posts_orderby and ID
- Posts and Attachments with “Published” status in Search
- Get attachments for posts that belongs to a specific category
- List all categories with featured image from post?
- Get all images in post and comments like Twitter before post title
- Show only posts with images and a fixed amount of posts
- Issue where WP Featured Image will not display
- Broken images after importing posts and opening in Gutenberg
- Displaying all images from a WordPress post (including media library)
- How to move all images in a post to a single gallery for a bunch of posts?
- Inside post image title has been posting as a post title on my main post page
- Download button under all images WordPress
- website images getting corrupt automatically
- Optimize blog that serves hundred of images and videos
- Images and menu links disapearing after saving
- Images being uploaded via WP Media are not attached even they are used by some CPT posts
- Redirection – bulk edit 404s to new tomain
- how to display the actual size of the picture in post
- WordPress portfolio posts: media not displaying if several images
- Set Featured Image of a post
- Is there a way to eliminate flyout menus when adding a post?
- How to delete Full Size options from post Add Media?