• Resolved brichmond

    (@brichmond)


    Hi, I’m trying to get Comic Easel working on a new site: http://www.elephantscomic.com

    I’ve tried several different themes, and for now I’m trying to get Expound to work. I’ve added the <?php do_action(‘comic-area’); ?> code to both the index.php and single.php files.

    When I view the source on the site, it’s as if the action code is being completely skipped over.

    Any ideas? I’ve tried a complete reinstall of WordPress and Comic Easel, and at this point I’m stumped.

    Thanks in advance.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Frumph

    (@frumph)

    Looked at expound, this is where I would put the do-action in the index.php

    <?php
    		if ( is_home() && ! is_paged() ) // condition should be same as in pre_get_posts
    			get_template_part( 'featured-content' );
    	?>
    	<?php do_action('comic-area'); // place here for above the blog and sidebar ?>
    	<div id="primary" class="content-area">
    		<?php do_action('comic-area'); // place here for above blog section ?>
    		<div id="content" class="site-content" role="main">
    Thread Starter brichmond

    (@brichmond)

    Thanks!

    I figured out what was going on. Somehow I was using single quotation marks instead of apostrophes around the comic-area code, and that was screwing things up.

    I had this:
    <?php do_action(‘comic-area’); ?>

    Instead of this:
    <?php do_action(‘comic-area’); ?>

    Thanks so much for your help. Your post got me on the right track.

    Plugin Author Frumph

    (@frumph)

    Ah yeah that happens when you cut and paste sometimes

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Comic not appearing on index.php or single.php’ is closed to new replies.