Comic Easel
Title of newest comic on front-page.php? (2 posts)

  1. plantperson
    Posted 2 years ago #

    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:

    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(); ?>


  2. Frumph
    Plugin Author

    Posted 2 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Comic Easel
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic