Using Feature Box Options

Applies to Version(s): Thesis 1

Configure the Feature Box

To configure the Feature Box for your site, go to Design Options and expand the “Placement” section under Feature Box. There are four choices available in the dropdown selector:

  • Do not use feature box
  • In your content column
  • Full-width above content and sidebars
  • Full-width above header area

Do Not Use Feature Box

This option disables the Feature Box.

In Your Content Column

This option adds div#feature_box inside of div#content:

<div id="content_box">
	<div id="content" class="hfeed">
		<div id="feature_box">
		</div>

When you select this option, you will be given two additional configuration options:

  • Show feature box…
    Here, you can choose whether to enable the Feature Box only on the home page, or sitewide.
  • Display feature box after post…
    Here, you can either choose Above all posts, or choose to have the Feature Box appear after a particular post by selecting its number in the list. The highest post number which appears in this list corresponds to the number of featured posts you’ve elected to show (under Home Page Display Options on the Design Options subpanel).

Note that if you select the Sitewide option, and then elect to have the Feature Box appear after a particular post, the Feature Box will still appear on single posts and pages, regardless of which post number you choose.

In other words: if you choose to have the Feature Box appear after post number 2, single posts and pages will still include the Feature Box, even though they do not contain a second post.

Full-Width Above Content and Sidebars

This option adds div#feature_box just before div#content_box:

<div id="feature_box">
</div>
	<div id="content_box">
		<div id="content" class="hfeed">

When you select this option, you will be given one additional configuration option:

  • Show feature box…
    Here, you can choose whether to enable the Feature Box only on the home page, or sitewide.

Full-Width Above Header

This option adds div#feature_box just before div#header:

<div id="feature_box">
</div>
	<div id="header">
		<p id="logo">

When you select this option, you will be given one additional configuration option:

  • Show feature box…
    Here, you can choose whether to enable the Feature Box only on the home page, or sitewide.

Add Content to the Feature Box

Once the Feature Box has been configured to appear on your site, you will use a custom function + thesis_hook_feature_box to add content to it. Here is a basic example of such a function:

function add_to_feature_box() { ?>
	<p>Here is some text in the feature box.</p>
<?php }

add_action('thesis_hook_feature_box','add_to_feature_box');