<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>
</tr>

<tr valign="top">
<th scope="row"><label for="arras-footer-message">Footer Message</label></th>
<td>
<?php 
echo arras_form_textarea('arras-footer-message', arras_get_option('footer_message'), 'style="width: 70%; height: 100px;" class="code"');
?>
<br />
<?php 
_e('Usually your website\'s copyright information would go here.<br /> It would be great if you could include a link to WordPress and even greater if you could include a link to the theme website. :)', 'arras');
?>
</td>
</tr>

</table>

<?php 
do_action('arras_admin_settings-general');
?>

</div><!-- #general-settings -->
Пример #2
0
<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>
</tr>

<tr valign="top">
<th scope="row"><label for="arras-footer-message">Footer Message</label></th>
<td>
<?php 
echo arras_form_textarea('arras-footer-message', form_prep(stripslashes(arras_get_option('footer_message'))), 'style="width: 70%; height: 100px;" class="code"');
?>
<br />
<?php 
_e('Usually your website\'s copyright information would go here.<br /> It would be great if you could include a link to WordPress and even greater if you could include a link to the theme website. :)', 'arras');
?>
</td>
</tr>

</table>

<?php 
do_action('arras_admin_settings-general');
?>

</div><!-- #general-settings -->
Пример #3
0
<br />
<?php 
echo arras_form_radio('arras-layout-metapos', 'bottom', arras_get_option('single_meta_pos') == 'bottom');
?>
 <?php 
_e('After the Post Content', 'arras');
?>
<br />
</td>
</tr>

<tr valign="top">
<th scope="row"><label for="arras-single-custom-fields">Single Post Custom Fields</label></th>
<td>
<?php 
echo arras_form_textarea(array('name' => 'arras-single-custom-fields', 'id' => 'arras-single-custom-fields', 'class' => 'code', 'rows' => '3', 'cols' => '70', 'value' => stripslashes(arras_get_option('single_custom_fields'))));
?>
<br />
</td>
</tr>

</table>

<p class="submit">
<input class="button-primary" type="submit" name="save" value="<?php 
_e('Save Changes', 'arras');
?>
" />
<input type="hidden" name="action" value="save" />
</p>
Пример #4
0
_e('Import Theme Settings (BETA)', 'arras');
?>
</h3>
<p><?php 
_e('Import your theme settings by pasting the exported code below.', 'arras');
?>
</p>
<?php 
echo arras_form_textarea('arras-tools-import', null, 'style="width: 90%; height: 100px;" class="code"');
?>
</p>

<h3><?php 
_e('Export Theme Settings (BETA)', 'arras');
?>
</h3>
<p><?php 
_e('You can save the following code into a text file and use it when you need to import them into another installation. Note that not all options (custom background, child theme settings, etc.) will be exported.', 'arras');
?>
</p>
<?php 
echo arras_form_textarea('arras-tools-export', json_encode(maybe_serialize($arras_options)), 'style="width: 90%; height: 100px;" class="code"');
?>
</p>

<?php 
do_action('arras_admin_settings-tools');
?>

</div><!-- #tools -->