Ejemplo n.º 1
0
</td>
</tr>

<tr class="background-extras" valign="top" <?php 
if (arras_get_option('background_type') == 'original') {
    echo 'style="display: none"';
}
?>
>
<th scope="row"><label for="arras-background-tiling"><?php 
_e('Background Tiling', 'arras');
?>
</label></th>
<td>
<?php 
echo arras_form_dropdown('arras-background-tiling', array('no-repeat' => __('Do not Tile', 'arras'), 'repeat-x' => __('Tile Horizontally', 'arras'), 'repeat-y' => __('Tile Vertically', 'arras'), 'repeat' => __('Tile Both Horizontally and Vertically', 'arras')), arras_get_option('background_tiling'));
?>
</td>
</tr>

<tr class="background-extras" valign="top" <?php 
if (arras_get_option('background_type') == 'original') {
    echo 'style="display: none"';
}
?>
>
<th scope="row"><label for="arras-background-color"><?php 
_e('Background Color', 'arras');
?>
</label></th>
<td>
</table>

<h3><?php 
_e('Footer Information', 'arras');
?>
</h3>
<table class="form-table">

<tr valign="top">
<th scope="row"><label for="arras-footer-sidebars"><?php 
_e('No. of Columns', 'arras');
?>
</label></th>
<td>
<?php 
echo arras_form_dropdown('arras-footer-sidebars', array(1 => 1, 2, 3, 4), arras_get_option('footer_sidebars'));
echo '<br />' . __('Footer sidebars will be labelled respectively (eg. Footer Sidebar #1, etc.)', 'arras');
?>
</td>
</tr>

<tr valign="top">
<th scope="row"><label for="arras-footer-title"><?php 
_e('Footer Title', 'arras');
?>
</label></th>
<td>
<?php 
echo arras_form_input(array('name' => 'arras-footer-title', 'id' => 'arras-footer-title', 'style' => 'width:40%', 'value' => arras_get_option('footer_title')));
?>
</td>
Ejemplo n.º 3
0
    echo '<span class="grey">' . __('The developer of the child theme has disabled layout settings.', 'arras') . '</span>';
}
?>

</td>
</tr>

<tr valign="top">
<th scope="row"><label for="arras-style"><?php 
_e('Default Style', 'arras');
?>
</label></th>
<td>
<?php 
if (!defined('ARRAS_INHERIT_STYLES') || ARRAS_INHERIT_STYLES == true) {
    echo arras_form_dropdown('arras-style', $styles, arras_get_option('style'));
    ?>
<br />
<?php 
    printf(__('Alternate stylesheets can be placed in %s.', 'arras'), '<code>wp-content/themes/' . get_stylesheet() . '/css/styles/</code>');
} else {
    echo '<span class="grey">' . __('The developer of the child theme has disabled alternate stylesheets.', 'arras') . '</span>';
}
?>
</td>
</tr>

<tr valign="top">
<th scope="row"><label for="arras-logo"><?php 
_e('Custom Logo', 'arras');
?>
</label></th>
<td>
<?php 
echo arras_form_dropdown('arras-taxonomy-featured2', arras_get_taxonomy_list(arras_get_option('featured2_posttype')), arras_get_option('featured2_tax'));
?>
</td>
</tr>

<tr valign="top">
<th scope="row"><label for="arras-taxonomy-news"><?php 
_e('News Posts', 'arras');
?>
</label></th>
<td>
<?php 
echo arras_form_dropdown('arras-taxonomy-news', arras_get_taxonomy_list(arras_get_option('news_posttype')), arras_get_option('news_tax'));
?>
</td>
</tr>

</table>

<?php 
do_action('arras_admin_taxonomy');
?>

<p><?php 
_e('<strong>Note:</strong> Custom taxonomies require the <code>query_var</code> parameter to be defined to work.', 'arras');
?>
</p>
Ejemplo n.º 5
0
echo arras_form_dropdown('arras-cat-news[]', arras_get_terms_list(arras_get_option('news_tax')), arras_get_option('news_cat'), 'class="multiple" multiple="multiple"');
?>
<br /><?php 
_e('Selected categories will be shown below the featured section in the index page.', 'arras');
?>
</td>
</tr>

<tr valign="top">
<th scope="row"><label for="arras-layout-index-newsdisplay"><?php 
_e('Tapestry (Display Type)', 'arras');
?>
</label></th>
<td>
<?php 
echo arras_form_dropdown('arras-layout-index-newsdisplay', arras_get_tapestries_select(), arras_get_option('news_display'));
?>
</td>
</tr>

<tr valign="top">
<th scope="row"><label for="arras-layout-index-count"><?php 
_e('News Count', 'arras');
?>
</label></th>
<td>
<?php 
echo arras_form_input(array('name' => 'arras-layout-index-count', 'id' => 'arras-layout-index-count', 'size' => '5', 'value' => arras_get_option('index_count'), 'maxlength' => 2));
?>
 <?php 
_e('posts', 'arras');
Ejemplo n.º 6
0
</table>

<h3><?php 
_e('Archive / Search', 'arras');
?>
</h3>
<table class="form-table">

<tr valign="top">
<th scope="row"><label for="arras-layout-archive-newsdisplay"><?php 
_e('Posts Display Type', 'arras');
?>
</label></th>
<td>
<?php 
echo arras_form_dropdown('arras-layout-archive-newsdisplay', array('default' => __('Node Based', 'arras'), 'quick' => __('Quick Preview', 'arras'), 'line' => __('Per Line', 'arras'), 'traditional' => __('Traditional', 'arras')), arras_get_option('archive_display'));
?>
</td>
</tr>

</table>

<h3><?php 
_e('Single Post', 'arras');
?>
</h3>
<table class="form-table">

<tr valign="top">
<th scope="row"><?php 
_e('Display in Single Posts', 'arras');
echo arras_form_dropdown('arras-cat-featured2', array('-1' => __('Don\'t Show Featured Posts #2', 'arras'), '-5' => __('Stickied Posts', 'arras'), __('Available Categories', 'arras') => $cats), arras_get_option('featured_cat2'));
?>
<br /><?php 
_e('Articles from this category will be shown below the featured slideshow of the index page. <br />You can also specify your stickied posts as the featured \'category\'.', 'arras');
?>
</td>
</tr>

<tr valign="top">
<th scope="row"><label for="arras-cat-news"><?php 
_e('News Category', 'arras');
?>
</label></th>
<td>
<?php 
echo arras_form_dropdown('arras-cat-news', $cats, arras_get_option('news_cat'));
?>
<br /><?php 
_e('The news category will be shown below the featured section in the index page.', 'arras');
?>
</td>
</tr>

</table>

<p class="submit">
<input class="button-primary" type="submit" name="save" value="<?php 
_e('Save Changes', 'arras');
?>
" />
</p>
?>
 <?php 
_e('Link Category', 'arras');
?>
<br />
</td>
</tr>

<tr valign="top">
<th scope="row"><label for="arras-nav-linkcat"><?php 
_e('Link Category', 'arras');
?>
</label></th>
<td>
<?php 
echo arras_form_dropdown('arras-nav-linkcat', $linkcats, arras_get_option('topnav_linkcat'));
?>
<br /><?php 
_e('To organise and arrange the links in the top navigation, you can create a link category with all the links you want to display at the main navigation and assign the link category here.', 'arras');
?>
</td>
</tr>

</table>

<p class="submit">
<input class="button-primary" type="submit" name="save" value="<?php 
_e('Save Changes', 'arras');
?>
" />
</p>
Ejemplo n.º 9
0
</table>

<h3><?php 
_e('Archive / Search', 'arras');
?>
</h3>
<table class="form-table">

<tr valign="top">
<th scope="row"><label for="arras-layout-archive-newsdisplay"><?php 
_e('Tapestry (Display Type)', 'arras');
?>
</label></th>
<td>
<?php 
echo arras_form_dropdown('arras-layout-archive-newsdisplay', arras_get_tapestries_select(), arras_get_option('archive_display'));
?>
</td>
</tr>

</table>

<h3><?php 
_e('Single Post', 'arras');
?>
</h3>
<table class="form-table">

<tr valign="top">
<th scope="row"><?php 
_e('Display in Single Posts', 'arras');
Ejemplo n.º 10
0
</label></th>
<td>
<?php 
echo arras_form_dropdown('arras-posttype-featured2', $posttypes_opt, arras_get_option('featured2_posttype'));
?>
</td>
</tr>

<tr valign="top">
<th scope="row"><label for="arras-posttype-news"><?php 
_e('News Posts', 'arras');
?>
</label></th>
<td>
<?php 
echo arras_form_dropdown('arras-posttype-news', $posttypes_opt, arras_get_option('news_posttype'));
?>
</td>
</tr>

</table>

<?php 
do_action('arras_admin_posttype');
?>

</div>


<p class="final-submit">
<input type="hidden" name="type" value="posttype" />