Chapter 3. stripShow Options

stripShow uses the familiar WordPress admin panel to set its configuration options. From your WordPress dashboard, select the Settings menu, then the stripShow menu item. This will take you to the stripShow Options page.

Figure 3.1. stripShow Options Page

stripShow Options Page

The options you can confsigure from this page are:

Comics folder

Tells stripShow where your comic files will be located. This is relative to your WordPress root, so if the full path to your comics folder is /home/bob/public_html/wordpress/comics, you would just enter comics here.

Date format

stripShow allows you to specify what date format you'll be using to name date-based comics. The string you enter here uses the same format as the PHP date() function. For instance, a date string of Ymd would match a file called 20080901.gif, while a date string of Y-m-d would match a file called 2008-09-01.gif. That latter format is the default in ComicPress, so if you're a ComicPress user, that's probably what your comics are already called. All the characters that can be used as date codes can be found in Appendix B, PHP Date Codes.

[Caution] Caution

I recommend against using any of the formatting codes that do not add leading zeroes to dates, such as j or n. Some functions in stripShow extract dates from filenames based on their lengths, which can result in incorrect dates being returned, if dates between 1 and 9 are not padded with a leading zero.

Comics category

This option determines which WordPress category you'll be using for comics. stripShow has two operating modes when it comes to categories: Single-category mode, which is the default, wherein all comics are stored in one single category, and a post any other category is considered a blog post, and Multiple-category mode, wherein only one category is used for blog posts and all others are considered to be comics. This used to be the default behavior of ComicPress, and this option was created for the benefit of people migrating from that platform.

Non-comics category

If Multiple-category mode is chosen below, this is the category for non-comic blog posts.

Category mode

Determines which of the two operating modes (as listed above) is in effect.

Index Page

By default, the index page of your stripShow site will show the most recent comic entered, which is standard for episodic comics that are still being updated. However, what if you've posted your entire 200-page graphic novel online, with each comic post representing a page? You don't want people starting at the end, so you can set this option to First Comic and the index page will take them to the first page. In addition, there is a Random Comic which makes your index page unpredictable and goofy.

Walk back from date if no comic file exists

Usually, if a comic post has neither a custom comic file attached to it nor a file with the proper date in the comics directory, the show_comic template tag will "walk back" through the files that do exist until it finds the most recent comic file prior to that date. It will then show whatever file it finds. You can turn this feature off and on using this option. Default is ON.

Show comics in RSS feeds

By default, stripShow adds the comic to the RSS feed for comic posts. This option allows you to enable or disable this feature.

Hide path to comic files

This option allows you to disguise the path where your comics are located. Usually, anyone reading the comic can view the source of the site and see the path to your comics. If for any reason you wish to disguise this path, select this option, and stripShow will mask it for you.

This option comes with some restrictions, however:

  • You must have the GD extension enabled on your copy of PHP. If you don't, this option will be unavailable.

  • You may only use one comic file per post. If more than one file is found, only the first one will be used.

  • The comic file for the post must be in GIF, PNG, or JPEG format. HTML, text, and Flash files are not supported.

  • Animated GIFs will not be animated. Only the first frame will be shown.