Featured images in wordpress
My current theme for the blog is not so good when the included text is not as deep as the featured picture. While not having a featured picture is OK for a screen based reader, it’s not so good for those using the wptouch interface. Maybe it’s not so good for deep pictures either.
A google search brings up the codex and these two, similarly named links, together with the codex pages,
- how to add featured image or post thumbnails in wordpress at wpbeginner
- how to add featured image thumbnails to your wordpress theme at sitepoint.com
With zbench the image and entry text are contained in a single <DIV> with a class name of “entry”. The text is contained in a <P> tag. The image class is “attachment-extra-featured-image wp-post-image”.
- Would it look better within a table? This would need to be developed in index & archive pages
- Should I use the thumbnail feature?
- Can I use the CSS? NB The <P> does not have a class name.
The deep pictures would be solved by by the thumbnail features.
Maybe I should consider the HTML recognition within the excerpt functions.
ooOOOoo
Also the facebook feed does not use the featured picture, but finds the first picture within the post, maybe even the post page since it often uses the up arrow on the vote this up widget.
zbench and photo headers
I finally got round to experimenting with a photo banner for the site. This is a standard feature in most themes and cropped a picture and uploaded it via the Appearance -> Header dialogue panel. It looks like this,…. Read More
zbench, footer.php
zbench
I have decided to use Zbench as my theme for the my revised blog, for which I have a wiki article, called davelevy.info v4
See also WordPress themes at davelevy.info, which deals with the header.php, front pages, read more and category and tag lists.
The two initial problems I have are using the heading tags, and their code style.
I also would like to have the pages having individual comment closure dates, so that I can create an always open guest book, which i believe is possible on this wiki.
I need to check out Child Themes. This will make preserving customisations much easier.
blog.davelevy.info V4
The first was at Sun, the second on snipsnap, the third on 1+1’s canned wordpress, and the 4th will be on wordpress at 1+1. Read More