MaxVaehling
Forum Replies Created
-
Forum: Plugins
In reply to: [Comic Easel] Blog PageYeah, those would be exactly the templates your blog uses. Have you tried making a copy of singular.php just for the comics and only include the code there? I think it should be called single-comics.php or single-comic.php, I keep forgetting how exactly the naming convention works. Alternately, you could wrap the CE code in a condition like “if (is_singular(‘comic’))” (or, again ‘comics’, but I’m pretty sure this time it’s ‘comic’).
- This reply was modified 5 years, 8 months ago by MaxVaehling.
Hi Cashlin,
Short answer: That’s not what CE is for.
Long answer:
If you set your comic up in issues and pages in CE, you’ll get a page a post. That’s how CE works. You might be able to tweak the archive pages to simulate the Tapas view, though. I’ve been meaning to give that a try myself but never got around to it, so no promises.If you want all the pages to show in one CE post, you have to make a post for the whole issue. There’s a multiple-page editor somewhere to the right side of your backend page that you can add pages to. It will create a flip-through view of all the pages but if javaScript is disabled, it should show them all next to each other, and with some CSS you can stack them, too.
There’s a more straight-forward way, too: You can upload the cover page as your post’s comics page and then enter the
<img />tags for the other pages in the “html below” section of your post’s admin backend. To get the layout you want, wrap the whole thing in a<div>container (opening tag in “html above”, closing tag at the end of the below field) that has a fixed width.- This reply was modified 5 years, 8 months ago by MaxVaehling.
- This reply was modified 5 years, 8 months ago by MaxVaehling.
Forum: Plugins
In reply to: [Comic Easel] Reverse the order of comics in the archive pageComic Easel uses your theme’s templates for the archive. You can customize those any way you want (depending on the theme, of course).
If there’s already a file called archive-comic.php, use that. Otherwise, make a copy of archive.php and call that archive-comic.php.
For details, it kind of depends on how the archive page is built: if the loop is called directly ( “while ( have_posts() ) : the_post()”) or via the wp_get_archives() function (this is probably the easiest for customization, see here for how to implement it) or if it’s one of those fancy themes with nested templates and the actual loop call is in some sub-folder in which case you’re on your own finding it.
The key is to add the right arguments to the loop call. See the links above for possible arguemts. One of them is “order” which should be ASC in your case.
This is a very brief pointer because it’s not really a Comic Easel question and I don’t know your theme. (Also, I’m keeping it general in case somebody else has the same question but not the same theme.) You can find lots of tutorials online for creating your own archive page.
- This reply was modified 5 years, 11 months ago by MaxVaehling.
Forum: Plugins
In reply to: [Comic Easel] Image centering problemIt appears you theme’s page size is limited to 900px. That’s why the #comic area starts whereever that outer frame puts it. The extended max-width of your comic image then makes it overflow to the right.
A simple fix would be to not limit the page itself like that but just the header and subcontent-wrapper area above and below the comic. That would allow you to also keep the default 100% max-width for the image – it would then just spread to the outer edge of the window and resize right on a mobile device.
Of course, I have no idea what that’ll do to the rest of your site but the layout seemns simple enough, so it should work.
Forum: Plugins
In reply to: [Comic Easel] Excluding Chapters from Archive-Dropdown WidgetHuh, you’re right – I never even noticed that bug was there. Luckily, it was fixed by Comic Easel 1.15 or so.
If for some reason you can’t or are hesitating to update, you can fix the script yourself, too:
1. Open the Comic Easel files in FTP.
2. In the ‘widgets’ folder, open the file ‘archive-dropdown.php’.
3. Whereever it says
'exclude' => array($exclude)
change it to
'exclude' => explode(',', $exclude)Either way you go, use the chapter IDs in the widget. I tried with one chapter title, it did not work.
Forum: Plugins
In reply to: [Comic Easel] REQUEST PROBLEM ON THE WEBSITEIf the standard navigation doesn’t do what you want it to, you can deactivate it in the Comic Easel config and instead use the “Comic Easel – Comic Navigation” widget in the “Under Comic” widget area. It offers some additional options, specifically for chapter navigation. It also offers the option to add an archive link.
Forum: Plugins
In reply to: [Comic Easel] Width Adjust to Width of Browser?I just had a look on my own site to see if that’s a thing I added, but it appears comic pages already have a max-width of 100% by default in the comiceasel.css file. Unlesss that setting is being overwritten somewhere else on your site, pages should max out at 100% on a smaller screen.
Forum: Plugins
In reply to: [Comic Easel] Error at top of pageDid you edit any of the Comic Easel files?
If it’s just comics pages, it can either be something amiss in the comic Easel files or some misconfiguration introduced by something else concerning custom post types. To check if it’s CE, you could try and replace your CE files, one by one, with freshly downloaded factory-setting files. (After making the proper amount of backups, of course.) If it goes away, you found the right file! (single.php is always a good place to start unless it’s also the archive pages.)
However, if you’re sure it isn’t doing any harm and you really just want the message to go away, there’s a quick fix:
Download and open your wp-config file and change the following code:
define('WP_DEBUG', true);
to ‘false’.If that doesn’t do it, try replacing the line with:
ini_set('display_errors','Off'); ini_set('error_reporting', E_ALL ); define('WP_DEBUG', false); define('WP_DEBUG_DISPLAY', false);(There’s a third option involving your .htaccess file, but these should do.)
What this does is, it turns off all php error messages. You should do that anyway because hackers might exploit these messages by provoking errors to learn about your site’s vulnerabilities.
- This reply was modified 7 years, 6 months ago by MaxVaehling.
Forum: Plugins
In reply to: [Comic Easel] Error at top of pageI only had a brief glimpse at line 284 of WP’s post-template.php just now, but that count() function refers to the post’s page count, more precisely an array called $pages that your site seems to lose before that function is called. Any chance you edited or deleted anything to do with pagination settings?
If not, from what I read this concerns all posts? Not just comic posts? It’s possible that this is a theme issue rather than a plugin issue, then. Remember doing anything that may affect pagination while setting that up?
- This reply was modified 7 years, 6 months ago by MaxVaehling.
Forum: Plugins
In reply to: [Comic Easel] Comic Navigation and Widget Areas Not AppearingOh, I thought you said something about the widgets not showing in the first post. I may have read that wrong. You meant the Comic Easel widget areas?
You basically have the right idea about trying different spots to place the code. Judging by where the featured image is now, I’m guessing you want it somehere there? Then I suggest either within the <div> with the id “primary” or right below (id=”content”). If index.php doesn’t work, you might also just try single.php or vice versa. I can’t direct you any better without knowing how your theme is built, though.
Forum: Plugins
In reply to: [Comic Easel] Comic Navigation and Widget Areas Not AppearingLooking into it some more, there seems to be a code oddity that’s not CE-related but may actually help figure stuff out. The ‘primary’ tag seems to encompass the left widget and the main area but not the right widget. It should just be the main area, the closing </div> should be before the ‘tertiary’ tag. (I swapped them in the F12 code but it didn’t fix the problem. Just though you’d like to know.)
Forum: Plugins
In reply to: [Comic Easel] Comic Navigation and Widget Areas Not AppearingI’m not even sure of what I’m looking at. I’ve hit F12 on your site and gone through the code that offered – and I can’t even find the comic area tags. It’s possible that what we’re seeing on the page isn’t the ocmic at all but the accompanying blog post with its featured image. This could mean that you’ve placed it in the wrong spot as you’ve assumed, or in the wrong template, or maybe I’m just overlooking the code.
Since the widgets aren’t showing either, let’s start with that. To test if there’s a connection, remove the comic area code from the template and see if they return. If they don’t, you have two problems. If they do, we’ll need to find a new spot for the code.
- This reply was modified 7 years, 7 months ago by MaxVaehling.
Forum: Plugins
In reply to: [Widget Logic] Show all category children… No wait, that was too simple.
This should work, though:function in_subcategory ($catorcats) { $truepositive = 0; $currentcatz = get_the_category( $post->ID ); foreach ($currentcatz as $currentcat) { if (is_array($catorcats)) { foreach ($catorcats as $arraycat) { if ( cat_is_ancestor_of( $arraycat, $currentcat->cat_ID ) ) { $truepositive = 1; } } } else { if ( cat_is_ancestor_of( $catorcats, $currentcat->cat_ID ) ) { $truepositive = 1; } } } if ($truepositive == 1 ) { return true; } else { return false; } }And now it also checks for arrays because once I had it, I started using it more and got fed up with using fake arrays.
Forum: Plugins
In reply to: [Comic Easel] Centering the Comic Easel NavigationIf that overrides whatever has been overriding your navi’s doing that in the first place, great!
If you want to switch out the buttons, you can do that by creating a folder like the one that has them now but in your child theme and upload your own graphics there. Just use one of the folders and its pics as a template and mimic that.
Okay, it may be a teensy bit more complicated but here’s a good breakdown:
Forum: Plugins
In reply to: [Comic Easel] Next and previous buttons change languageHve you tried a different multilanguage plugin? It sounds as if the plugin is confusing Comic Easel for some completely unknown reason.