Closed amaliaelliott closed 10 years ago
You can use WordPress' own the_title()
template tag to render the webcomic title. It looks like you're using Inkblot, so you'll want to edit wp-content/themes/inkblot/webcomic/webcomic.php
and replace these lines (16 and 26):
<?php random_webcomic_link( '%link', get_theme_mod( 'random_webcomic_image' ) ? sprintf( '<img src="%s" alt="%s">', get_theme_mod( 'random_webcomic_image' ), __( '∞', 'inkblot' ) ) : '' ); ?>
and replace them with something like:
<?php the_title(); ?>
To keep the styling consistent you might have to wrap the title in an anchor, as well:
<a><?php the_title(); ?></a>
Okay, so, in the webcomic navigation currently there is a random link in the center. My client wants to have the page title of the current page there instead and NOT have it be a random link. I can't find how to call the webcomic title, or whether or not I can replace the random_webcomic_link php with a static button in webcomic.php
comic page can be seen at http://hollowtreecomics.com/untitled-webcomic/141/