Articolo in evidenza

Feb 18th, 2008 | By admin | Category: In Evidenza

BranfordMagazine features a lead story with a photo, a category title, an article title and an excerpt. This is part of the tabed section on top of the homepage. The content of the tabed section will be defined and configured in the “ui.tabs.php” file. Everything that is displayed as a tab and its content has to be configured here.

Let’s start with the photo. First find an appropriate image and resize it to a size that fits (300×200px is fine). Next, upload it using standard WP-Upload functionality. Make sure the standard upload path is used (normally /wp-content/uploads/).

Write your story and put it into the right category (Standard is the category with ID 1). You might also write an optional excerpt for full text control.

Define the custom field key and value by typing the name of the key “leadimage” and it´s value which is the path of the image after /wp-content/uploads/. This is quite easy to find in the uploader of the post. Once you have typed in a key it is available for all other posts, so you don´t have to type it in twice. In the picture you see all required keys and an example of the value for the lead image.

Leave Comment