Adding Comic Easel to a template php or single.php
-
Hi My theme has its own template.php and I try putting the code in one of the template (which wasn’t the main page) and activated “Disable Comic on the Home Page” but it didn’t work. So i resorted to adding the code to my single post php and added a custom menu link to my webpage with /?latest.
The problem now is the single.php doesn’t have if ($post->post_type == ‘post’) {} for me to edit and I have no idea what variables to change to make this work as there’s two image posted on my post.
I would still hope its possible to add this into a template.php instead of the single post so that I can have like a landing page. The singlepost link is in the menu titled “comic” and the php file that I’ve edited is in the menu “comic test”my website is here
- The topic ‘Adding Comic Easel to a template php or single.php’ is closed to new replies.