wp-theme: my-photo-blog
my-photo-blog ein WordPress Theme for photos and text articles
- my-photo-blog

- zum Theme Viewer von WebDesign-in.de
. WordPress Theme “my-photo-blog” is released under the Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported license. License.
You must credit MTS as the original author of this theme with a link back http://www.webdesign-in.de/ and include this license with the work. . All files are under this license. You may not distribute this work without this license, keeping a link back to http://www.webdesign-in.de/, nor redistribute the work as is by crediting yourself as the the sole or partial author.
How to use my-photo-blog with WordPress
- Download the theme :my-photo-blog download – bookmark this article because there you will find support and there I announce updates.
- Unzip.
- Read this faq or the das read-me-faq-my-photo-blog.pdf File you will find in my-photo-blog directory.
- Upload my-photo-blog to wp-content/themes/ .
- Aministration Panel==>Themes/Design==>choose.
my -photo- blog features:
- Different look for text articles or photo articles via custom field “article“.
- Archive view (tag and category view too) shows first your photos and then your text articles, if you are using the custom field “article” for text articles.
- Comments and trackbacks are separatly. Comments are in reverse order.
- Browse in same category or chronological at index.php (home) or single view.
- Sidebar has three widget ready columns and shows different things at homepage, single view, category view.
- my -photo-blog offers three places for your adsense or amazon or something similar.
- my-photo-blog is localized. You can us PoEdit to translate in your language.
- my- photo-blog is seo friendly if you are using the custom field “headmeta” and a very good content.
- my-photo-blog is tested with WP 2.3.2 and all browsers I know via browsershots.org. XHTML 1.0 transitional and css is valid.
You need no photo or gallery plugin to use WordPress as a photo blog, but with this plugin it is very easy to publish photos: PhotoQ
You will find here my-photo-blog template and their secrets and after this my-photo-blog faq. Don’t worry about all this pages – there are big screens
.
Support:
I give you support for the theme via Kommentare, if I know how to figure out your troubles. But I can’t give support via mail or for plugins
Monika /mts
my-photo-blog templates and their secrets
At header.php (html header) you will find all what you need to have a search enginee friendly theme, if you using the custom field “headmeta” for all your posts (photo articles and text articles) and if you are using “category description” to describe a category. Administration Panel==>Manage==>Categories==>Description
header-menu.php da kann man das obere Menü individuell gestalten. Näheres weiter unten bei “Sidebar left navigation- ohne Widgets”
header-menu.php for customize your menu please read also Sidebar left navigation- without using widgets
There are three places for adsense or whatever else you would like to use to earn money: After head menu (adsense-head-menu.php), above sidebar (adsense-above-sidebar.php) and only for text articles left to the content (adsense-content-article.php).
My -photo-blog sidebar (sidebar.php) has three columns. All are widget ready.
Sidebar left navigation- without using Widgets
- At single view you will see the article meta. Like: time, posted in category, the post tags and RSS feed button, the trackback URI with button.
- And under the headline “News” the titles of 5 articles without the last three.
- At homepage you will see RSS Feed button.
- Categories and pages are all over the world
- header-menu.php and pages-sidebar.php there you can customize Codex
Sidebar middle column-wihtout using Widgets
- At homepage(custom-field-article-sidebar.php): the last text articles with title and excerpt.
- At archive (tag, category, author, search view too) your tag cloud.
- At single view the comments and trackbacks separately
Sidebar right sidebar -wihtout using Widgets
- about-sidebar.php for one or two sentences about you.
- The search field.
- Blogroll
- Single and home view your tag cloud.
Archives
archive.php, tag.php, category.php
This archives show all photos first and then all text articles. That’s why a photo blog has never enough text and so you need all photos or articles on one page to avoid “double content”. But if you would like to change this open this files with a texteditor (never ever with word or dreamweaver or something else) and at top of each file you’ll find this:
<?php get_header(); ?> <?php $categoryvariable=$archive; // assign the variable as current category $query= 'archive=' . $categoryvariable. '&showposts=-1'; // concatenate the query query_posts($query); // run the query ?>
showposts=50 will show 50 articles, showposts=80 will show 80 articles and so on.
This files have no *paginate* code, because this is wether user nor search enginee friendly.
other templates from my-photo-blog
- 404.phpThis is a user friendly Error 404 .
- index.php your homepage. Administration Panel==>Options==>Reading==>Blog Pages==>Show at most==>1
- single.php shows one photo or one text article.
Both homepage view and single view show one photo or one text article in different look. Both offer to browse the category or chronological.
- page.php is for static content. Static content will never shown at RSS Feeds and my-photo-blog doesn’t work if you choose a static page as your homepage.
- searchform.php code for the searchfiled.
- comments.php necessary for comments and trackbacks, pings.
- functions.php – this is the secret of a widget ready theme
- style.css the Cascading Style Sheet.
Some css for IE you will find at header.php and there is a framebuster too.
my-photo-blog faq
Both homepage view and single view show one photo or one text article in different look. Both offer to browse the category or chronological.
Some css for IE you will find at header.php and there is a framebuster too.
You have to use width and height for the html tag “img”, because IE can’t show images, if this attributes are empty or not there.
Use the html attribute alt – google loves it
PhotoQ does this all for you.
Thumbs: max-width: 200px max-height: 132px
template tag ==>
<?php the excerpt ();?>
Admincenter:==>Schreiben==>Beitrag==>Optionale Kurzfassung
Photos: max-width: 816px max-height: 540px
template tag==>
<?php the_content();?>
PhotoQ does the same
necessary custom fields for my-photo-blog:
- headmeta: one or better two short sentences.
- descr: Two or three or five, six sentences to describe your photo.The text under your photo at single view or archive view.
- articles: necessary if you would like to write text articles. my-photo-blog use this custom field to know how this article has to look like. “value” whatever you would like.
PhotoQ creates the custom field “descr” and in the option panel you can create “headmeta”.
How to for custom fields
Administration Panel==>Write==>Post==> scroll down
- create a new custom field

Under “select” you will find all custom fields. Some plugins create custom fields too.
How to use WordPress Plugin PhotoQ for my-photo-blog ein?
Read the article from Manu
After installing PhotoQ you will find an Option Page under Administration Panel==>Options==>PhotoQ
Please study the following screen shots.
Screenshots for PhotoQ and my-photo-blog
- PhotoQ Options my-photo-blog Part 1

- PhotoQ Options my-photo-blog Part 2

- PhotoQ Options my-photo-blog Part 3

Update Options and publish your first photo:
Administration Panel==>manage==>PhotoQ
- PhotoQ <-> my-photo-blog

- PhotoQ 2.Screen

- PhotoQ 3.Screen

After this you can choose to publish this photo via cronjob or now.
Ready!
I wish you well! mts/Monika.;)








