Tag Archives

7 Articles

Posted by Dave on

Child Themes

Child Themes

Here are my notes on WordPress Child Themes. I made one for zbench and am now working with Nulis. The key wordpress codex page is here…. It documents how to create a child theme. The technique for defining inheritance has changed

Posted by Dave on

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,

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”.

  1. Would it look better within a table? This would need to be developed in index & archive pages
  2. Should I use the thumbnail feature?
  3. 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.

Posted by Dave on

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,….

Posted by Dave on

zbench, footer.php

When written the zbench theme’s footer text was

Copyright © 2013 wiki.davelevy.info | Powered by zBench and WordPress

This isn’t what I want.

There follows an extract from footer.php in the zbench theme.  The rest of the article discusses how to change it.

Posted by Dave on

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.