WordPress.org

Support

Support » Plugins and Hacks » Comic Easel » Title of newest comic on front-page.php?

Title of newest comic on front-page.php?

  • Hello,
    I’m trying to get the title of the newest comic to display on front-page.php. I put in <?php the_title(); ?> but that displayed the title of the newest blog post instead.
    Here’s the code of my front-page.php:

    <?php
    /*
    Template Name: Comic Index
    */
    ?>
    <?php get_header(); ?>
    		<h1 id="pagetitle">Comics <span>&raquo; <?php the_title(); ?></span></h1>
    		<div id="content" class="comical">
    			<?php do_action('comic-area'); ?>
    
    			[other stuff below comic area goes here]
    
    <?php get_footer(); ?>

    https://wordpress.org/plugins/comic-easel/

Viewing 1 replies (of 1 total)
  • Plugin Author Frumph

    @frumph

    Comic Easel uses it’s own loop, if you use a template you’ll need to add a loop in it so that it recognizes the comic ID, otherwise it’s using that page ID that you attached the template to

Viewing 1 replies (of 1 total)
  • The topic ‘Title of newest comic on front-page.php?’ is closed to new replies.
Skip to toolbar