Files
archived-comicpress/options/general.php
Kniebremser f451d5e0a8 reworked texte for options pages
uniform design for texts
2019-07-12 11:24:35 +02:00

170 lines
5.9 KiB
PHP

<div id="comicpress-general">
<form method="post" id="myForm-general" enctype="multipart/form-data" action="?page=comicpress-options">
<?php wp_nonce_field( 'update-options' ); ?>
<div class="comicpress-options">
<table class="widefat">
<thead>
<tr>
<th colspan="3">
<?php _e( 'General', 'comicpress' ); ?>
</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">
<label for="home_post_count">
<?php _e( 'How many blog posts should be displayed on the homepage?', 'comicpress' ); ?>
</label>
</th>
<td>
<input type="text" size="2" name="home_post_count" id="home_post_count" value="<?php echo $comicpress_options['home_post_count']; ?>" />
</td>
<td>
<?php _e( 'Specify the number of blog posts to display on the index page at one time. This is different then the one in the wp-admin &#10132; settings &#10132; reading, the one in the settings will control how many show up on search and archive pages.', 'comicpress' ); ?>
</td>
</tr>
<tr class="alternate">
<th scope="row">
<label for="disable_blog_on_homepage">
<?php _e( 'Disable Blog Loop?', 'comicpress' ); ?>
</label>
</th>
<td>
<input id="disable_blog_on_homepage" name="disable_blog_on_homepage" type="checkbox" value="1" <?php checked( true, $comicpress_options['disable_blog_on_homepage'] ); ?> />
</td>
<td>
<?php _e( 'Enable this option, will DISABLE the blog from appearing on the home page AND any pages set as the blog posts page in the wp-admin &#10132; settings &#10132; reading.', 'comicpress' ); ?>
</td>
</tr>
<tr>
<th scope="row">
<label for="over-blog-sidebar-all-posts">
<?php _e( 'Allow the sidebar over-blog to appear on all posts?', 'comicpress' ); ?>
</label>
</th>
<td>
<input id="over-blog-sidebar-all-posts" name="over-blog-sidebar-all-posts" type="checkbox" value="1" <?php checked( true, $comicpress_options['over-blog-sidebar-all-posts'] ); ?> />
</td>
<td>
<?php _e( 'Sidebar Over-Blog appears on all posts not just the front page/blog loop when enabled.', 'comicpress' ); ?>
</td>
</tr>
</tbody>
</table>
<br />
<table class="widefat">
<thead>
<tr>
<th colspan="3">
<?php _e( 'Footer', 'comicpress' ); ?>
</th>
</tr>
</thead>
<tbody>
<tr class="alternate">
<th scope="row">
<label for="disable_footer_text">
<?php _e( 'Disable the copyright text in the footer?', 'comicpress' ); ?>
</label>
</th>
<td>
<input id="disable_footer_text" name="disable_footer_text" type="checkbox" value="1" <?php checked( true, $comicpress_options['disable_footer_text'] ); ?> />
</td>
<td>
<?php _e( 'Enable this option if you do not want text in the footer. If you wish to add you own custom content, you may do so via wp-admin &#10132; Appearance &#10132; Widgets &#10132; Footer.', 'comicpress' ); ?>
</td>
</tr>
<tr>
<th scope="row">
<label for="disable_scroll_to_top">
<?php _e( 'Disable the scroll to top link in the footer?', 'comicpress' ); ?>
</label>
</th>
<td>
<input id="disable_scroll_to_top" name="disable_scroll_to_top" type="checkbox" value="1" <?php checked( true, $comicpress_options['disable_scroll_to_top'] ); ?> />
</td>
<td>
<?php _e( 'Enable this option if you want to disable the scroll to top link. Remember, this link can be very helpful on long pages.', 'comicpress' ); ?>
</td>
</tr>
<tr class="alternate">
<th scope="row">
<label for="copyright_name">
<?php _e( '&copy; Copyright Name', 'comicpress' ); ?>
</label>
<input type="text" size="20" name="copyright_name" id="copyright_name" value="<?php echo stripcslashes( $comicpress_options['copyright_name'] ); ?>" />
<br />
</th>
<td colspan="2">
<?php _e( 'Set the name to which this site is &copy; Copyright to. Leave blank to have the site name.', 'comicpress' ); ?>
</td>
</tr>
<tr>
<th scope="row">
<label for="copyright_url">
<?php _e( '&copy; Copyright Holder URL', 'comicpress' ); ?>
</label>
<input type="text" size="30" name="copyright_url" id="copyright_url" value="<?php echo stripcslashes( $comicpress_options['copyright_url'] ); ?>" />
<br />
</th>
<td colspan="2">
<?php _e( 'Set the URL to the owner of the &copy; Copyright if different then this website. Leave blank for sites link.', 'comicpress' ); ?>
</td>
</tr>
</tbody>
</table>
<br />
<table class="widefat">
<thead>
<tr>
<th colspan="3">
<?php _e( 'RSS', 'comicpress' ); ?>
</th>
</tr>
</thead>
<tbody>
<tr class="alternate">
<th scope="row">
<label for="enable_post_thumbnail_rss">
<?php _e( 'Enable the post thumbnails in the RSS feed?', 'comicpress' ); ?>
</label>
</th>
<td>
<input id="enable_post_thumbnail_rss" name="enable_post_thumbnail_rss" type="checkbox" value="1" <?php checked( true, $comicpress_options['enable_post_thumbnail_rss'] ); ?> />
</td>
<td>
<?php _e( 'Enable this option if you want to show a post thumbnail of the post in the RSS feed.', 'comicpress' ); ?>
</td>
</tr>
</tbody>
</table>
<br />
</div>
<div class="comicpress-options-save">
<div class="comicpress-major-publishing-actions">
<div class="comicpress-publishing-action">
<input name="comicpress_save_general" type="submit" class="button-primary" value="<?php _e( 'Save Settings', 'comicpress' ); ?>" />
<input type="hidden" name="action" value="comicpress_save_general" />
</div>
<div class="clear"></div>
</div>
</div>
</form>
</div>