FreshPress v1.0

Welcome to FreshPress v1.0. Below you will find a list of help items in relation to this theme.

CSS Styles

The CSS styles are organized by element areas. So the all the main elements of the header area are within comments like this -

/* Header Elements Starts */



























#header {
example: 0px; 
}



























/* Header Elements Ends */

It repeats similarly for each area of the theme. Some common tags like "a" and "a:hover" have been consolidated into one style to minimize bytes.

Images

This theme uses three images totalling less than 2KB. This makes the theme ultra fast to load. Feel free to customize the theme as you see fit, but remember the more images you use the longer it will take to load.

For aligning images within blog posts, assign the "alignleft" or "alignright" selector to any image this will make that image float left or right respectively. For example:

<img src="example.gif" class="alignleft" alt="" />

Featured Articles

To show your featured articles on the home page in the Featured section, please follow the below instructions.

1. Open the index.php file either in a code editor or edit it from the "Theme Editor" panel in your WordPress admin panel. Make sure that you are editing index.php from the "FreshPress" theme.

2. Look for this bit of code in index.php -

<?php $my_query = new WP_Query('category_name=featured&showposts=1');
while ($my_query->have_posts()) : $my_query->the_post();
$do_not_duplicate = $post->ID; ?>

where it says "category_name=featured" either change the name of the category that you want to feature or "create a category" called "featured" in your Categories panel.

3. Then look for this bit of code, it's a little below the one above -

<?php
global $post;
$myposts = get_posts('numberposts=5&category=1');
foreach($myposts as $post) :
?> 

where it says "numberposts=5&category=1" is where you can specify the number of posts you want to show and from which category ID.

In this example "numberposts=5", and the ID of the category you want to feature is set to the default of 1 i.e. "category=1".

You can get your category ID by viewing your list of categories, hover over the category and view the status bar text to get your Category ID. This is only for WordPress 2.5.

Status Bar Text Example

In WordPress 2.3 and below the Category ID is shown next to the category itself.

Footer

You can add as many boxes in the footer area as you please, the footer area is wide enough to hold a maximum of 3 in one row.

Just make sure to give the last footer box to the right the class of class="footercalt" for proper spacing.

License

Please read the license agreement here, credit link is compulsory-

http://creativecommons.org/licenses/by-sa/2.5/si/deed.en

Removal of Credit Link

If you would like to remove the credit link in the footer from the theme we have a great idea to help you do so.

A Donation!

The suggested amount is $5. However, you cannot remove the attribution in the CSS file {don't worry nobody see that anyway}.

Thank you.

© FreshPress Themes | All Rights Reserved | FreshPressThemes.com is a Weborithm Production