Theme Options
In the Structure theme, you have a theme settings page that lets you control several elements of your theme from the WordPress Dashboard. I’ll briefly go through them here.
The settings page is located at “Dashboard > Design > Structure Theme Settings.”
Home Sections
There are three content areas stacked vertically on your home page. You can choose from a few different options on how you’d like your home page to be set up.
None
This is pretty easy to understand. This doesn’t display anything.
Excerpts
This displays your latest posts in excerpt form. It is controlled by the number of posts you set in your WordPress dashboard.
/includes/excerpts.php
Feature
This displays your latest feature article excerpt with a feature image. Feature articles need to be tagged “features” for this to work.
/includes/feature.php
Full Posts
This displays your latest posts in full content form. It is controlled by the number of posts you set in your WordPress dashboard.
/includes/full-posts.php
Post Block Tabs
These tabbed sections are the category tab sections seen in previous versions of the theme. Your latest post excerpts are shown by either categories, tags, or authors with a thumbnail.
/includes/post-block-tabs.php
Post List Tabs
Your latest post excerpt is shown by either categories, tags, or authors with a thumbnail for each tab. The following posts are on the right side of the tab content area in list format.
/includes/post-list-tabs.php
Post Tabs
Your latest post excerpt along with a thumbnail is displayed by either categories, tags, or authors.
/includes/post-tabs.php
Widget Blocks
Widget blocks have been a part of theme since the beginning. If you choose to use these, you’ll need to add widgets in your widget control panel to “Home Block Left” and “Home Block Right.”
/includes/widget-blocks.php
Custom 1 - 3
These are just customizable sections that you can play around with. The really do nothing or have no style by default. They’re your sections to customize.
/includes/home-custom-1.php
/includes/home-custom-2.php
/includes/home-custom-3.php
Sidebar Placement
You can choose to display your sidebar on the right or left of the page. Be careful when editing CSS for these sections because the stylesheet completely controls how this looks.
Feed Options
Both of these default to your blog’s feed address if nothing is added.
Feed URL: Input your feed address, and it will be automatically added to your header feed section.
Feed By Email URL: Input your feed by email URL, and it will be automatically added to your header feed section.
Tabs/Sections 1- 8
For your home tabbed sections (Post Block Tabs, Post List Tabs, Post Tabs), you can choose what category (default), tag, or author is used for each tab from a select drop-down list.
If you pick an option with no posts, then it obviously will not show any posts and could potentially break the layout.
Using tags or authors instead of categories
Open the file /app/config.php. You’ll see this code:
function choose_tab_type() {
$type = __('Categories','structure');
// $type = __('Tags','structure');
// $type = __('Authors','structure');
return $type;
}
If you want to display your posts by tag, then comment out the categories like this:
// $type = __('Categories','structure');
Then, uncomment the tags like this:
$type = __('Tags','structure');
Use the same process for displaying tabs by author.