Closed GaryTomato closed 10 years ago
What's the collection setting for the widget? If it's (current collection) that might be the problem. It's impossible for Webcomic to know what the current collection is on the homepage or static pages, and it won't display the widget unless it knows what collection is currently being viewed, so in those cases no widget will be displayed. The sole exception to this is if you've specifically set a collection for a static page on the Add/Edit Page screen using the Webcomic Collection post field.
Selecting a specific collection should correct the issue (unless you already did that…).
Thanks Mike you pointed me to the right direction. I tried three settings with different results, it might need some looking into in the long term:
The only twist in the setup is that I didn't overwrite the front-page.php in the theme but created it as "comic-template.php" so I can turn it on and off in the page's settings as a template. The template is almost the same as single.php but it uses a custom loop to set it to "webcomic1" posts and only show one. Apart from that it's a standard setup with one collection and not much other content.
I'm closing this ticket now, as option #1 is good enough for me. If I ever figure out what is happening in option #2 and #3 I'll give you a shout.
Regards, Gary
Thanks Gary! Number 1 and 3 sound correct, but number 2 may be a bug; I'll look into it.
[Short version: the characters widget is not showing up on "page" or "post" just "webcomic1" post_types. I'd like them to show up everywhere but I can't seem to find how.]
Hi Michael,
I'm using your great webcomic plugin (4.1.0.3) with the InkBlot theme. I've created a child theme to make modifications (copied the style.css as you mentioned in another post) and so far so good, all my modifications work. The only thing that's weird is that the Characters widget doesn't show up on the front-page (a static page) but it shows correctly on any single page. I have the Search and Archives widget turned on also, they show up properly on all pages. I didn't find any options to show/hide the widget on specific pages and the widget.php doesn't seem to have any filtering for is_page or is_front_page. What am I missing? Is this a bug or am I overlooking some basic principle?
Regards, Gary