comicpress-2.8/options/indexoptions.php

65 lines
3.0 KiB
PHP

<div id="indexoptions" class="<?php if ($tab == 'index') { ?>show<?php } else { ?>hide<?php } ?>">
<form method="post" id="myForm" name="template" enctype="multipart/form-data">
<?php wp_nonce_field('update-options') ?>
<div class="stuffbox" style="background: #ebf8ff;">
<h3>Post</h3>
<table class="form-table" style="width: auto;">
<tr>
<th scope="row"><?php _e('Disable the blog on the Home page?','comicpress'); ?></th>
<td valign="top">
<input name="disable_blog_frontpage" type="checkbox" value="1" <?php checked(true, $comicpress_options['disable_blog_frontpage']); ?> />
</td>
<td valign="top">
<?php _e('Checkmark this and the blog will not display on the Home page of your site. The features allows to either not have a blog at all, or, if you place a menu link to your blog page, you can maintain your blog within the same site without readers having to see it when they are just trying to read your comic.','comicpress'); ?>
</td>
</tr>
</table>
</div>
<div class="stuffbox" style="background: #edffeb;">
<h3>Comic</h3>
<table class="form-table" style="width: auto;">
<tr>
<th scope="row"><?php _e('Disable comic on Home page?','comicpress'); ?></th>
<td valign="top">
<input name="disable_comic_frontpage" type="checkbox" value="1" <?php checked(true, $comicpress_options['disable_comic_frontpage']); ?> />
</td>
<td valign="top">
<?php _e('Checkmark this and the comic will not display on the home page of your site. You can use the Latest Thumbnail widget to display your comic in a sidebar. Make sure you set the archive-thumbnail size to under 200px. Note: Turning this off and using the Graphic Novel style turns ComicPress into a blog only.','comicpress'); ?>
</td>
</tr>
<tr>
<th scope="row"><?php _e('Disable the comic blog on Home page?','comicpress'); ?></th>
<td valign="top">
<input name="disable_comic_blog_frontpage" type="checkbox" value="1" <?php checked(true, $comicpress_options['disable_comic_blog_frontpage']); ?> />
</td>
<td valign="top">
<?php _e('Checkmark this and the comic blog will not display on the Home Page. Enabling this allows you to either not have a comic blog at all, or you can place it where you want using the comic blog post widget. If there is no content in the post it will not display regardless.','comicpress'); ?>
</td>
</tr>
<tr>
<th scope="row"><?php _e('Disable the comic blog on the single pages?','comicpress'); ?></th>
<td valign="top">
<input name="disable_comic_blog_single" type="checkbox" value="1" <?php checked(true, $comicpress_options['disable_comic_blog_single']); ?> />
</td>
<td valign="top">
<?php _e('Checkmark this and the blog portion of the comic will not display on the single/archive pages of your site.','comicpress'); ?>
</td>
</tr>
</table>
</div>
<input name="comicpress_save_index" type="submit" class="button-primary" value="Save Settings" />
<input type="hidden" name="action" value="comicpress_save_index" />
</form>
</div>