Delete the word "Image" from top of post
-
Can anyone write code for me to be able to delete these elements from the top of each post?
– The word “Image”
– The category
– CommentsSometimes, the category and comments sit at the bottom of a post but I can’t figure out when that happens sometimes and not others.
Here’s an example of a post with the unsightly word “Image” at top:
http://marthaleonedesign.com/2014/04/11/red-walnut-tallboy/Here’s an example of category and comment count are at the top rather than at the bottom of the post:
http://marthaleonedesign.com/2014/04/07/silver-custom-credenza/The blog I need help with is: (visible only to logged in users)
-
The word “Image” appears if the blog post is set to the image post format. Sometimes this happens automatically if images are the only content in the blog. You can avoid it by manually selecting the standard post format instead.
Here is more info about post formats in case you’d like to read more about them:
http://en.support.wordpress.com/posts/post-formats/For the other things, I have a couple questions.
I see the following post meta data “Posted by Martha Leone in • Classic Style, • Cottage + Beach Style, Before and After” at http://marthaleonedesign.com/2014/04/11/red-walnut-tallboy/
And then I see “≈ 3 Comments” to the right of that.
Is your end goal to hide that line completely or to hide everything on that line except the “Posted by Martha Leone” part?
Also, do you want to turn off comments competely, or just hide the text such ase “≈ 3 Comments” so it doesn’t appear at the top of the posts?
-
Hi. Thanks so much for the help. My intention is not to turn off comments or hide the “Posted by…Before and After”.
I would like to move those elements to the bottom of the post.
My end goal is to start each post with a picture, rather than copy.
Does this help? Thanks so much.
-
Hi there,
In your case you can use the following CSS to move the “Posted by”, category listing and comments number elements to the bottom:
.single .post-title { position: static; /* Originally 'relative', used as anchoring for the date */ } .post-permalink { position: relative; /* New anchoring for the date */ } #content .hentry { position: relative; /* Anchoring for post-info */ } .post-info { position: absolute; bottom: -30px; left: 140px; }Lastly, you can use the following CSS to remove the “Image” link on the top of single post view:
.single .entry-format-link { display: none; }
- The topic ‘Delete the word "Image" from top of post’ is closed to new replies.