mgsisk / webcomic

Comic publishing power for the web. Turn your WordPress-powered site into a comic publishing platform with Webcomic.
http://wordpress.org/plugins/webcomic
GNU General Public License v2.0
110 stars 29 forks source link

Wordpress Updates messed up my layout. #274

Closed theoryofeverything closed 6 years ago

theoryofeverything commented 8 years ago

Hi,

So this is an issue I haven't had time to touch, www.theoryofeverythingcomic.com is supposed to have this layout (the purple bar is an ad banner).

webpage_01

My provider updated WP and the layout changed. I have no idea where to start to fix this. Maybe you could take a look. Hopefully its an easy fix.

mgsisk commented 8 years ago

Apologies for the trouble, @theoryofeverything. It looks there's an error that's causing the Webcomic-specific templates to stop rendering after the opening <footer class="post-footer"> element. Can you post a copy of your themes webcomic/content.php file?

theoryofeverything commented 8 years ago

<?php /** Generic webcomic content template. * * This is the generic content template for webcomics, mostly used * on archive pages. See webcomic/content-single.php for the * standard, full-size webcomic display with navigation. * * @package Archimedes */ ?> <div class="post-webcomic">

<div class="webcomic-img">

<?php the_webcomic( 'large', 'self' ); ?>

</div>

</div>

theoryofeverything commented 8 years ago

Hey Michael,

Do you see anything in webcomic/content.php ?

At least point me in the right direction to fix this.

mgsisk commented 8 years ago

Apologies @theoryofeverything; I thought I'd replied via email, but apparently not. =/

I believe the problem is actually in single-content.php. Line 34 calls the_webcomic_collection(), but that template tag was deprecated awhile ago and eventually removed. Try changing it to the_webcomic_collections() (with an s).