Sublime Wordpress Theme
How to install
- Unzip the sublime.zip
- Upload the sublime folder in the wp-content/themes directory.
- Activate it!
To make this theme work, particularly in the homepage you must know how to use custom fields and you must configure the category id of the featured category you are using.
How to configure the featured post carousel
- If you haven't created a featured category yet, pleaso do so.
- Know/get the featured category's category id.
- In featured.php, find the following code:
<?php query_posts("showposts=1cat=9"); ?>
Replace 9 with your featuredcategory ID. - In index.php, find the following code:
<?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts("showposts=2&cat=-9&paged=$paged"); ? ?>
Replace 9 with your featuredcategory ID as well.
How to post a featured image (for the featured post area) and recent image (for the recent posts area)
To make the theme work you should have a featured category. You must include a featured image in every post in that featured category. Non-featured posts (meaning all posts except featured posts) must have a recent image (those images in the left)
- To post a main featured image, the key should be "featured" (remove the quotes) and the value: the url of the image. Here's a screenshot:
The width and height of the featured image recommended size is 440px × 217px
- To post a recent image, the key should be "recent" (remove the quotes) and the value: the url of the image.
The width and height of the recent image recommended size is 90px × 90px
Thanks for using Sublime Wordpress Theme!