MaxVaehling
Forum Replies Created
-
Forum: Plugins
In reply to: [Comic Easel] no comic easel widgets are workingIs it only the Comic Easel widgets or other widgets, too?
Forum: Plugins
In reply to: [Comic Easel] “Add comic” function not workingMake sure to use a child theme for your changes. Makes it easier to track any mistakes.
Forum: Plugins
In reply to: [Comic Easel] Navigation ProblemYeah, I was wondering ’cause it seemed ookay on your linked site.
Delays between a change and its appearance can have several sources: your browser loading the page from the cache, a caching plugin, something something database. Nothing to worry about as long as it shows up eventually.
Forum: Plugins
In reply to: [Comic Easel] Navigation ProblemTo be able to traverse chapters in the nav, they need to be consecutively numbered. (The “order number” in the chapters menu.) Did you do that?
(Just checking the basics.)
- This reply was modified 8 years, 2 months ago by MaxVaehling.
Forum: Plugins
In reply to: [Comic Easel] “Add comic” function not workingApparently, the post information doesn’t get sent right. Might be something as small as a ‘}’ or whatever missing somewhere that does that. The difficult part is to locate it.
Do you get the same error when you try to save a regular blog post? If so, does it remain when you switch CE off?
By switching your plugins off and on one by one you can get a grasp of where, roughly, the problem is. If it’s with one of your theme tweaks rather than the plugins: Are you working with a child theme? If so, you can delete and undelete files to see if one of your theme changes caused it. (If it’s the theme.)
Forum: Plugins
In reply to: [Comic Easel] Navigation Font SizeIncidentally, I just ran across the same issue while redesigning my site. Yes, it’s .navi. And it looks like it’s not enough to fix it in your child theme’s css because that gets overwritten (or maybe that’s just mine). Best to do it in the customizer.
Forum: Plugins
In reply to: [Comic Easel] Navigation Font SizeRight, totally forgot those text links were there (I’m not using the styled menu myself).
In that case, the class you’r looking to change is most probably: .navi
Forum: Plugins
In reply to: [Comic Easel] Possible to collapse comments field?You could place the whole disqus code into an element or use the existing <div> with the id of “disqus_thread” and collapse that with a nice css handle for un-collapsing, say, a max-height and a css transition.
There’s a nice example for you to plunder here:
https://codepen.io/peternguyen/pen/hICga/Is that the kind of thing you’re looking for?
- This reply was modified 8 years, 5 months ago by MaxVaehling.
- This reply was modified 8 years, 5 months ago by MaxVaehling.
Forum: Plugins
In reply to: [Comic Easel] Navigation Font SizeI take it you use the text navigation?
If so, the most central point to edit the navi size seems to be the class “comic_navi_wrapper”. Just set it to whatever size you want in your site’s customizer. (There should be a section for custom css there. If not, try your child theme’s css file. Not sure if that’ll work, though – some theme css gets overwritten by plugin css.)- This reply was modified 8 years, 5 months ago by MaxVaehling.
Forum: Plugins
In reply to: [Comic Easel] How do I reorder new pages so they’re in a previous chapter?I don’t know if it’s the default or not, but Comic Easel can navigate by chapter. You may have to check “Navigate through only the chapters and not all comics” in the config/navigation’ menu. If you indeed havenÄ’t done that yet and you want the navigation to be able to traverse from the end of one chapter to the beginning of the next, there’s a checkbox for that, too. Make sure the chapters’ running numbers (in the ‘chapters’ menu) are consecutive and in the right order or there will be problems. Also, make sure that all the comics within a chapter are associated with it.
- This reply was modified 8 years, 7 months ago by MaxVaehling.
Forum: Plugins
In reply to: [Comic Easel] Redirect to latest comic with a specific tagI’ve looked around a little and apparently, what you’re asking is very difficult even for regular posts, let alone custom post types like CE’s comics. There doesnÄt seem to be an equivalent to /?latest when it’s tags. Theoretically, there’s a php function one could write to make it happen, I’ve seen pointers here and there but haven’t tried it myself yet. (Also, not sure about including that in the menu. If it’s a WP-generated menu, you can’t really put random code in there. A redirect might work, though.) It’s really less of a CP problem than a WP problem, so the answer might be elsewhere in this forum.
If you’re not too set on including the link in the menu, though, I may have a solution that only requires a minimum of coding.
There’s a plugin called Display Posts Shortcodes*. It’s basically a set of shortcodes you can include in posts and pages’ live areas and anywhere that’s cleared for shortcodes**, and it generates highly customizable lists of post links.
For a “list” of one comic post with a certain tag, I think the shortcode would be
[display-posts post_type=”comic” tag=”YOURTAG” posts_per_page=”1″ order=”DESC” orderby=”date”]
You can customize it further by including thumbnails and excerpts and stuff and place it in a sidebar or somewhere where it’s easy to find. What I haven’t found is an option to use custom text instead of the post title, but it might be in there, too. The parameters are well-documented on the plugin page.
* There are more plugins with useful functions for your purpose, but this is the one I use.
** Not all areas in WP are shortcode-compatible. If your WP doesn’t Do shortcodes in sidebars (by default it doesn’t), you can make it by adding this line to your functions.php:
add_filter('widget_text','do_shortcode');- This reply was modified 8 years, 9 months ago by MaxVaehling.
Forum: Plugins
In reply to: [Comic Easel] Index based permalinks?This shouldn’t be too hard, providing your site is set up to have all the action on the top level, url-wise. (No site.com/wprdpress/ shenanigans.)
ComicPress, by default, does half the work for you. It uses a custom slug for comics to show before your title and the default for that slug is actually /comics/. If you’ve named your comic posts by their numbers, you’ll have all your elements right there.
Now go to WordPress’ Settings/Permalinks panel and change the ‘Common Setting’ to Post Name.
That was your Easy Answer. Note, however, that…
– You may want your comics to actually have titles and only for the urls to carry the numbers. That’s a little more complicated. WP has the option to show the post number in the url bar, but it won’t be your comic number because WP counts everything you add as a post and numbers it. If you’re okay with the numbers not being consecutive, simply choose ‘Custom Structure’ as your Permalink default and enter:
/%post_id%
into the field. (Do not use the Numeric option – that’ll slap an /archive/ into the url. But apart from that it’s actually the shortcode from the Numeric option.)
If you want your old comic numbers for migration consistency, though, you’ll have to cheat a little: Set up your comic post, title and all. After saving, the form shows you the url it generated – along with an option to change that url, with no consequence to the title. (Similarly, you can start by naming your comic by the number and change the title later.) There’s no automatic option for this, though. You’ll have to do it manually.
– Your site may have some extra ‘shenanigan’ levels. (Mine’s dreadfulgate.de/wordpress/eng/andthenthetitle because the web host set it up that way and it’s a multisite.) In that case, I can’t make any promises. You may be able to hide that extra fluff by doing some .htaccess magic. (Just google ‘.htaccess url Rewrite’ and see if you find anything helpful. Actually, make that ‘WordPress .htaccess url Rewrite’ because that’ll help you find your .htaccess file, too. There may be a plugin for all that, too.
Forum: Plugins
In reply to: [Comic Easel] How to keep navigation on main pageShort answer: That’s not how it works.
The comic updates are posts, like the regular blog posts but within their own little taxonomy. This means each of these posts comes with its own blog post within its chapter and, if those are activated, category, and all of those define their own post page (not in the WordPress sense of page, that’s yet another taxonomy, more in the common-sense sense) and that’s what the navigation links to.
Also, the index.php is not your main page in WordPress. It’s the general base for how every page is built, or more to the point, every page that isn’t defined differently by other templates. If you want your code to show only on the home page, look for a template called ‘home.php’ (or create one) and place the code there. Then again, this won’t restrict your comic area with all its functionalities to the main page either. The comic posts will still be created and linked to in the navigation, but it’s possible they’ll show without leading images because that code is only happening on your home page.
Now, if you want your comic to really only appear on the main page and to navigate within that, I think there are several possibilities, but I’d understand if you didn’t like any of them:
– Don’t use comics as posts. Instead, activate Multi-Comic Support for one comic post (there’s a checkbox for that) and call your image files from there. I haven’t tried it myself yet but I’m assured it creates a javascript-enabled presentation that allows for several images (i.e. comics, if you use it that way) within one post. (Also, deactivate the navigation in Config to avoid confusion.) This can get messy if you want to upload a lot of comics to that post because that’s what the individual posts and the navigation are for.
– Alternately, don’t use the comic posts themselves on your homepage. Instead, use custmoized thumbnail previews (you can make them as elaborate as you want and even use full-size images as ‘thumbnails’) and show them within a carousel or slider. There are plugins for that. Make sure they work with custom post types, though, and that they support whatever amount of such previuews you have in mind.
– Instead of limiting the comics to your main page, take the main page with you to the comics’ posts. Just put everything you need from the main page into sidebars, adjust the template for the comic post layout if needed and roll with it. (This is the one I’d recommend.)
– Create a frameset for your home page and place the comic area within that. This is probably closest to what you have in mind, but it involves most meddling with php and/or finding a theme that does that (some themes offer special areas for the home page that you might exploit) and still meddling with the php. It’s possible but messy.
Please note, though, that this whole business of creating individual posts isn’t a bug, it’s a feature. It allows for you to customize individual posts and pages, add commentary and to link to each comic individually if you want to create attention for one of them. It’s how blogs wortk and it’s what WP was built for. Going against that will remain an uphill battle. It’s better to read up on how WP’s architecture is set up and adjust your project so it can work with it.
Forum: Plugins
In reply to: [Comic Easel] Multi-comic pages order is wrongThis is a bit late as answers go, so I’m directing it more generally at anybody who may have this problem in the future. ;P
Basically, you set up multiple comics by adjusting the chapter order. In the ‘comics->chapters’ menu, you can set up your main titles as top-level (‘parent’) chapters. If you have chapters or episodes within these comics, set them up as ‘child’ chapters and associate them with their would-be parents.
Now for the tricky part. To make the navigation browse the comics in the right order, you have to assign an order number to each of them. (It’s in the same menu.) These numbers need to be consecutive (1,2,3… or 1001,1002,1003, no matter) within each title because the navigation will just stop transversing whenever there’s a gap.
Make sure you leave enough of a gap between the individual comics, though. This ensures your navigation will not traverse into other comics (unless you want that) and you won’t have to renumber the second comic all the time.
Me, I’m using thousands. The parent chapters are 1000, 2000 etc. and the episodes are 1001, 1002, 2001, 2002 etc.If you have problems with the ordering of your comics, most likely the chapter order is off or the comics aren’t all assigned to the chapters.
Forum: Plugins
In reply to: [Comic Easel] Navigation Buttons Not Showing UpOkay then. You could try moving the do_action(‘comic-area’) code to different spots in your markup just to see what happens. (Not necessarily to keep it there, just to see if maybe the spot was wrpong.) If it still doesn’t show, it could be some weird incompatibility with another plugin which you could test for by deactivating them all and reactivating them one by one. (You could also deactivate and then reactivate them one by one, but switching them off all at once can save you a lot of time if it wasn’t any of them.)
If none of these help, we can have a more detailed look.