Themes | Widgets | WordPress Tutorials
Tutorials für Wordpress Themes | Widgets und Design.
Home

Jan 14

Probably one of the most undervalued features of are its category structure and commands. The category feature of can change a blog into a powerful (Content Management System) tool.

One of my friends, didn’t want to use a real calendar for since many of them are general, like “Fall 2008″, so I decided to use and Categories instead. Though the process of maintaining these are manual, it really works well for them.

I split the into different sections. The sections marked, “”, “Classes” and “Trunk Show” are three different categories. Actually, they are sub-categories of the main category “ & Classes”, which you’ll find in the Menu section on the top right.

When he wants to create an Event, he just writes a normal post and select the “” category. The Post automatically appears in the Categories proper place in the . The same with creating “Classes” or “Trunk Shows”. You’ll also notice that the post does not appear on the home page. That is because I the static front page option, which you’ll find under: Options - Reading - Front Page.

Since these are all sub-categories of the main category “ & Classes”, when you click on the “ & Classes” link in the Menu section you get a list of all the under all the sub-categories. Essentially allowing you to view all the , Classes and Trunk Shows on one page.

You’ll notice at the bottom of the “ & Classes” page there’s a link marked “See our past and Classes”. This is another category. Once an event date passes, our client edits the Post, unchecks the current category, and then checks “Past and Classes”. The post is removed from it’s section (category) in the , and is added to the “Past and Classes” page.

NOTE: doesn’t do a very good job of displaying different categories separately in the . We Scott Reilly’s “Customizable Post Listings” Plugin, which you can find here.

Hopefully this post will inspire you to be creative with Categories, I’ll post later a better with real examples!

Tags: , , , , , ,

Read more     1 Comment
 

Jan 14

nt-polar-life_de.jpg

mit Eisbär

Der Header in diesem ist eine tolle Komposition mit einem netten Eisbären. Vielleicht ist es ja auch ? Oder Knuts Papa? Wer weiss…

Das passt gut zu Blogs, die sich mit Wintersport, Winterreisen, Eisbären, Arktisurlaub oder Eskimos beschäftigen. Wieviele Blogs es wohl geben mag, die sich mit Eskimos beschäftigen?

Bestimmt kann man es auch einfach so benutzen, wenn man die Winterlandschaft toll findet und im Blog über die Kanarischen Inseln schreibt…

Tags: , , , , , , , , , , ,

Read more     No Comments
 

Dec 26

Ich stand vor kurzen vor dem Problem, dass ich das Aussehen meines Blogs ://.flimmerblog.de unterschiedlich haben wollte, je nachdem, ob man eingeloggt ist, doer auch nicht.

Ich habe hierzu sozusagen einen zweiten Blog dazu gemerged, da sich der Membersbereich auf einer anderen Subdomain und einem anderen Verzeichnis befinden sollte. Aber erstmal eins nach dem anderen:

1. Ein komplettes Backup fahren, sowohl Webspace als auch !!!
2. Die Tabelle “. (”wp_” steht für das gewählte Präfix) Die neue Tabelle “members_options” nennen.
3. Den kompletten Webspace in das neue Verzeichnis kopieren, in das der Membersbereich kommen soll.
4. Im Verzeichnis die Datei /.php öffnen und folgendes suchen:

// Table names
$wpdb-> = $wpdb-> . '';
$wpdb->users = $wpdb-> . 'users';
$wpdb->categories = $wpdb-> . 'categories';
$wpdb->post2cat = $wpdb-> . 'post2cat';
$wpdb-> = $wpdb-> . '';
$wpdb->link2cat = $wpdb-> . 'link2cat';
$wpdb->links = $wpdb-> . 'links';
$wpdb->options = $wpdb-> . 'options';
$wpdb->postmeta = $wpdb-> . 'postmeta';
$wpdb->usermeta = $wpdb-> . 'usermeta';
$wpdb->terms = $wpdb-> . 'terms';
$wpdb->term_taxonomy = $wpdb-> . 'term_taxonomy';
$wpdb->term_relationships = $wpdb-> . 'term_relationships';

hier nun die Zeile: $wpdb->options = $wpdb-> . 'options';
ändern in: $wpdb->options = 'members_options';

Das war es. Nun werden bis auf die Options alle von der original - verwendet. Das Verzeichnis kann nun mittels . oder ähnlichem Passwort geschützt werden. Einträge werden von beiden Domains/Verzeichnissen aus in die selben vorgenommen.

Eine einfache und schnelle Möglichkeit Redundanz von Daten entgegenzuwirken.

Tags: , , , , , , , , ,

Read more     No Comments