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
- Including categories in search results
- Search Custom Post Type Pages and Custom Fields in 2 Dropdowns?
- How to get Images included in Post
- Find the post an attachment is attached to
- Post slugs and images cannot have same name?
- Add existing images from Media Library in to custom gallery
- Download external images if post is publish
- How do I sort (order) the results from `get_children()`?
- Can I load posts via Ajax?
- 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?
- Get post embedded image caption
- how to grab first link in post… and of course call it
- Load post content into div with ajax
- Add an image box besides featured image?
- 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?
- Remove inline width from figure
- Remove permalink from images when inserting into post
- Differentiate between posts and pages in search results
- WordPress Theory Lesson – Image Columns within posts with alignment?
- 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
- Tags to Post-ID mysql query. Tag Search
- Copying and pasting emoji in a wordpress post
- 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
- creating front end image uploader that uploads images as posts
- Errors when uploading images in WP 3.5
- Get all attachment by post excluding featured and content inside
- wp-cli post create & media import issues
- Search results posts_orderby and ID
- Get attachments for posts that belongs to a specific category
- List all categories with featured image from post?
- Issue where WP Featured Image will not display
- Thumbnail Image to go in the post aswell
- Remove Featured Image & All Media Uploaded to the Post
- preg_replace not removed “class”
- Total number of posts in query (category/tag/author/search results/main page…)
- Upload attachment from external site
- Disable posts generated from image uploads
- See if a post has a specified tag
- Posts page not showing correct image
- Images showing up in Post Editor, but not in Published Post
- Image behind the post’s title
- How to retrieve certain number of images from a wordpress post?
- Show more than 200 images in one post
- Hide thumbnail if there is a gallery on the post
- Change the background of each post according to the category
- Where to insert the other site image url for our wordpress post
- Why does WordPress search returns same number of results for every search query?
- Hide parts of the post content after typing it’s name or searching it by category
- search content of pages and list in wp-admin
- Attachment image single page
- How to change the order of elements within a post?
- How to call WordPress First Image Post or else Attached Image or Default
- Regarding Posts
- Site/Post preview is not working on all social media
- Delete media from the post but keep my featured image and post
- Display image gallery if more than 1 image
- How do I fix broken links to images in imported posts’ post_content?
- How to search through “post title” and “tags” using WP_Query?
- Thumbnails and images in the blog post are not loading
- Blog featured images disappeared on my homepage
- Center crop the feature image
- Add another feature image box
- ‘posts’ table should not store the absolute image path
- On WordPress Search, how to search post from Author meta also
- How to hide meta from search result only on pages?
- How to show category image if no featured image is set?
- How to make an image appear as a thumbnail in the blog post?
- Manipulating images inside post content
- Custom author search
- Output wp_link_pages as raw url
- How can I alternate styling of images in a post? [closed]
- Embed image in post from external url
- Display result of custom form
- Is possible to do this from function.php
- SQL query to remove first image in all posts
- WP Gallery Image Page Issue When 2 galleries share one image
- How can i retrive the movies, trailers, news in a single page using search
- Why can’t I see my attachment page information for an image?
- How would I attach media/images to a post based on a ID stored in a each post’s custom field
- Extra Theme – Fit image inside of Featured Post Slider
- Is there any SEO impacts on unattached vs attached images for a post in WordPress?
- Import alt text in set_post_thumbnail
- 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 delete Full Size options from post Add Media?