'Typography {separator}',
'bodyfontsize' => 'Base Font Size ## The base font size globally affects all font sizes throughout your blog. This can be in any unit (e.g., px, pt, em), but I suggest using a percentage (%). Default is 75%.
Format: Xy where X = a number and y = its units.',
'bodyfontfamily' => 'Base Font Family {radio|arial, helvetica, sans-serif|Arial (Helvetica, sans serif)|"courier new", courier, monospace|Courier New (Courier, monospace)|georgia, times, serif|Georgia (Times, serif)|"lucida console", monaco, monospace|Lucida Console (Monaco, monospace)|"lucida sans unicode", lucida grande, sans-serif|Lucida Sans Unicode (Lucida Grande, sans serif)|tahoma, geneva, sans-serif|Tahoma (Geneva, sans serif)|"times new roman", times, serif|Times New Roman (Times, serif)|"trebuchet ms", helvetica, sans-serif|Trebuchet MS (Helvetica, sans serif)|verdana, geneva, sans-serif|Verdana (Geneva, sans serif)} ## The base font family sets the font for all elements except headers (see below). A fall-back font and the font family are in parentheses. Default is Arial.',
'headerfontfamily' => 'Header Font Family {radio|arial, helvetica, sans-serif|Arial (Helvetica, sans serif)|"courier new", courier, monospace|Courier New (Courier, monospace)|georgia, times, serif|Georgia (Times, serif)|"lucida console", monaco, monospace|Lucida Console (Monaco, monospace)|"lucida sans unicode", lucida grande, sans-serif|Lucida Sans Unicode (Lucida Grande, sans serif)|tahoma, geneva, sans-serif|Tahoma (Geneva, sans serif)|"times new roman", times, serif|Times New Roman (Times, serif)|"trebuchet ms", helvetica, sans-serif|Trebuchet MS (Helvetica, sans serif)|verdana, geneva, sans-serif|Verdana (Geneva, sans serif)} ## This selects the font for headings (h1, h2, h3, etc.) and other elements throughout your blog. A fall-back font and the font family are in parentheses. Default is Georgia.',
'postentryalignment' => 'Post Text Alignment {radio|justify|Justified|left|Left aligned ("Ragged right")|right|Right aligned ("Ragged left")} ## Choose one for the text alignment of the post body text. Default is left aligned.',
'separ2' => 'Layout {separator}',
'wrapperwidth' => 'Layout Width ## Set the overall width of content in the browser window. This can be in any unit (e.g., px, pt, em), but I suggest using % for a fluid layout. Default is 90%.
Format: Xy where X = a number and y = its units.',
'separ3' => 'Content {separator}',
'sidebaraddin' => 'Sidebar Add-in {checkbox|showsidebaraddin|yes|Display the add-in sidebar content} ## If checked, the sidebar content below will appear in the sidebar throughout the blog, except on single post pages. Default is unchecked.
Note to Widgets users: If you are actively using the Widgets plugin, then the sidebar add-in text will not appear.',
'sidebartext' => 'Sidebar Add-in Content {textarea|10|55} ## Add/edit content for the sidebar section. This text must be parsed in HTML tags. You can use HTML, but beware of special characters: i.e., & = &. Remember that this text will not appear unless "Sidebar Add-in" is checked above. Default is Lorem ipsum… .',
'footeraddin' => 'Footer Add-in {checkbox|showfooteraddin|yes|Display the add-in footer text} ## If checked, the footer text below will appear in the footer throughout the blog. Default is unchecked.',
'footertext' => 'Footer Add-in Text {textarea|10|55} ## Add/edit content for the footer. This text is placed within <p>...</p> tags. Beware of special characters: i.e., & = &. Remember that this text will not appear unless "Footer Add-in" is checked above. Default is Lorem ipsum… .',
'debug' => 'debug',
),
__FILE__
);
/************************************************************************************
* FUNCTION CALLS
************************************************************************************/
function barthelme_bodyfontsize() {
global $barthelme;
if ( $barthelme->option['bodyfontsize'] ) {
print 'body { font-size: ';
print $barthelme->option['bodyfontsize'];
print "; }\n";
}
}
function barthelme_bodyfontfamily() {
global $barthelme;
if ( $barthelme->option['bodyfontfamily'] ) {
print 'body { font-family: ';
print $barthelme->option['bodyfontfamily'];
print "; }\n";
}
}
function barthelme_headerfontfamily() {
global $barthelme;
if ( $barthelme->option['headerfontfamily'] ) {
print 'div.post-header, h2.post-title, p.post-date-single, h2.post-title-single, div.post-entry h1, div.post-entry h2, div.post-entry h3, div.post-entry h4, div.post-entry h5, div.post-entry h6, div.post-entry blockquote, div.post-footer, h3#comment-count, h4#comment-header, div#comments ol li p.comment-metadata, h4#respond { font-family: ';
print $barthelme->option['headerfontfamily'];
print "; }\n";
}
}
function barthelme_postentryalignment() {
global $barthelme;
if ( $barthelme->option['postentryalignment'] ) {
print 'div.post-entry p { text-align: ';
print $barthelme->option['postentryalignment'];
print "; }\n";
}
}
function barthelme_wrapperwidth() {
global $barthelme;
if ( $barthelme->option['wrapperwidth'] ) {
print 'div#wrapper { width: ';
print $barthelme->option['wrapperwidth'];
print "; }\n";
}
}
function barthelme_sidebartext() {
global $barthelme;
if ( $barthelme->option['showsidebaraddin'] == 'yes' ) {
print $barthelme->option['sidebartext'];
}
}
function barthelme_footertext() {
global $barthelme;
if ( $barthelme->option['showfooteraddin'] == 'yes' ) {
print $barthelme->option['footertext'];
}
}
/************************************************************************************
* FUNCTION DEFAULTS
************************************************************************************/
if ( !$barthelme->is_installed() ) {
$set_defaults['bodyfontsize'] = '75%';
$set_defaults['bodyfontfamily'] = 'arial, helvetica, sans-serif';
$set_defaults['headerfontfamily'] = 'georgia, times, serif';
$set_defaults['postentryalignment'] = 'left';
$set_defaults['wrapperwidth'] = '90%';
$set_defaults['sidebartext'] = '
Lorem ipusm text here can be customized in the Presentation > blog.txt Themes Options menu. You can also select within the options to exclude this section completely. Most XHTML tags will work.