comicpress-core/single.php

33 lines
1.2 KiB
PHP
Raw Normal View History

2009-11-08 03:00:14 +00:00
<?php
2009-11-08 03:42:09 +00:00
$storyline = new ComicPressStoryline();
$storyline->read_from_options();
2009-11-15 15:37:43 +00:00
echo 'Current: '; the_title(); echo '<br />';
2009-06-13 11:58:02 +00:00
2009-11-08 03:00:14 +00:00
Protect();
2009-07-12 23:31:47 +00:00
2009-11-15 15:37:43 +00:00
echo 'First in category: '; RT('first', 'from_post'); the_title(); echo '<br />';
echo 'Previous in category: '; RT('previous', 'from_post'); the_title(); echo '<br />';
echo 'Previous in root category: '; RT('previous', array('root_of' => '__post')); the_title(); echo '<br />';
echo 'Chronologically previous: '; RT('previous'); the_title(); echo '<br />';
echo 'Current: '; Restore(); the_title(); echo '<br />';
2009-11-09 03:11:26 +00:00
foreach (M() as $image) {
2009-11-15 15:37:43 +00:00
echo 'Default: '; echo $image->embed();
echo 'Comic: '; echo $image->embed('comic');
echo 'RSS: '; echo $image->embed('rss');
echo 'Archive: '; echo $image->embed('archive');
2009-11-09 03:11:26 +00:00
}
2009-11-15 15:37:43 +00:00
echo 'Chronologically next: '; RT('next'); the_title(); echo '<br />';
echo 'Next in root category: '; RT('next', array('root_of' => '__post')); the_title(); echo '<br />';
echo 'Next in category: '; RT('next', 'from_post'); the_title(); echo '<br />';
echo 'Last in category: '; RT('last', 'from_post'); the_title(); echo '<br />';
2009-11-08 03:00:14 +00:00
Unprotect();
2009-07-29 02:38:20 +00:00
2009-11-15 15:37:43 +00:00
echo 'Current: '; the_title(); echo '<br />';
2009-07-12 23:31:47 +00:00
2009-11-08 03:00:14 +00:00
finish_comicpress();
2009-11-15 15:37:43 +00:00
?>