• Resolved Dragonmun

    (@dragonmun)


    I started off with Easel and a child theme for my website a few years back and while I liked it, I wanted more control over the theme itself.

    When Comic Easel (the plugin) was announced, I was rather excited and downloaded/installed it… which worked about as expected, but came with a unique problem that is preventing me from using it at all.

    I use Market Press light to run my storefront and well… when I have Comic Easel activated, it prevents the store from listing the products on category pages.

    Because this is kind of hard to explain, I created a video showing what it’s doing: http://livestre.am/48eOg (I apologize for the advertisements. It was just easier to use livesteam to record everything).

    As I state a couple of times in the video, I don’t really know what’s affecting what. I tried debugging it some myself, but I can’t pinpoint any calls to the same function or anything like that.

    Since you wrote the code, I would assume you have a better idea than I do and would like to know what’s up. 🙂

    http://wordpress.org/extend/plugins/comic-easel/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Frumph

    (@frumph)

    Watching video, I do have forums at http://forum.frumph.net/

    😉

    Plugin Author Frumph

    (@frumph)

    I believe I know what this is,

    How well can you handle editing some .php files to test?

    Edit the file wp-content/plugins/comic-easel/functions/filters.php

    At the top of the file you will see this:

    add_filter('request', 'ceo_rss_request'); // Add comics to the main RSS
    add_filter('the_content_feed','ceo_insert_comic_into_feed'); // Insert the comic image into the rss
    add_filter('the_excerpt_rss','ceo_insert_comic_into_feed');
    add_filter('the_content', 'ceo_insert_comic_into_archive'); // Insert the comic into the archive and search pages
    add_filter('the_excerpt', 'ceo_insert_comic_into_archive');
    add_filter('previous_post_rel_link', 'ceo_change_prev_rel_link_two', $link); // change the rel links for comic pages
    add_filter('next_post_rel_link', 'ceo_change_next_rel_link_two', $link);
    add_filter('pre_get_posts', 'ceo_query_post_type');
    add_filter('body_class', 'ceo_body_class');
    add_filter('get_terms_args', 'ceo_chapters_find_menu_orderby');
    // add_filter('get_lastpostmodified', 'ceo_lastpostmodified');

    What I want you to do is add a // in front of the add_filter for the pre_get_posts so it looks like this:

    add_filter('request', 'ceo_rss_request'); // Add comics to the main RSS
    add_filter('the_content_feed','ceo_insert_comic_into_feed'); // Insert the comic image into the rss
    add_filter('the_excerpt_rss','ceo_insert_comic_into_feed');
    add_filter('the_content', 'ceo_insert_comic_into_archive'); // Insert the comic into the archive and search pages
    add_filter('the_excerpt', 'ceo_insert_comic_into_archive');
    add_filter('previous_post_rel_link', 'ceo_change_prev_rel_link_two', $link); // change the rel links for comic pages
    add_filter('next_post_rel_link', 'ceo_change_next_rel_link_two', $link);
    // add_filter('pre_get_posts', 'ceo_query_post_type');
    add_filter('body_class', 'ceo_body_class');
    add_filter('get_terms_args', 'ceo_chapters_find_menu_orderby');
    // add_filter('get_lastpostmodified', 'ceo_lastpostmodified');

    What that will do is disable the filter that I created for the pre_get_posts, it will stop the archive from working for comic easel yeah but at least we can check if that’s the function that is causing the issue.

    Make sure you clear cache and all that of course.

    – Phil

    Plugin Author Frumph

    (@frumph)

    Okay nevermind all that above.

    I found out the issue 😉

    It’s actually Marketpress after all, but no worries it’s a very easy fix.

    I posted it here: http://wordpress.org/support/topic/plugin-marketpress-wordpress-ecommerce-bug-report-marketpress?replies=1#post-3167094

    Basically the marketpress plugin isn’t setting the is_post_type_archive boolean to true so the ‘archive’ for Easel isn’t allowing multiple components to utilize it.

    Thread Starter Dragonmun

    (@dragonmun)

    I never got a chance to reply to this until now, but that totally corrected the issue
    Thank you so much for the help! 😀

    Plugin Author Frumph

    (@frumph)

    Thank you for pointing me towards the Marketplace plugin, <3 it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Comic Easel] Function Weirdness?’ is closed to new replies.