Support » Plugin: WP Publication Archive » [Plugin: WP Publication Archive] Dropdown Idea for Filtering

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Eric Mann


    @jm300 – Thanks for the recommendation. I’ve added it to the ticket list on GitHub so I won’t forget about it in the future.

    Great! Also I don’t know if it is just me but the shortcode in the FAQ to list a specific category didn’t work for me. The FAQ says to write the shortcode as categories=”cat-1,cat2″ where cat-1 and cat2 is the slug. However I got it to work by using categories=’cat-1′ where cat-1 is the actual name of the category and not the slug. I am not sure if this was a typo but it’s working now. Thanks again!

    Sorry to bump my post. I have a plugin conflict. I am using the All in One Event Calendar and receive this error on the widget and on the main calendar itself.

    Warning: Missing argument 2 for WP_Publication_Archive::the_title() in /home/stleos/public_html/wp-content/plugins/wp-publication-archive/lib/class.wp-publication-archive.php on line 320

    Do you have any suggestions on how to fix the plugin conflict?


    Plugin Author Eric Mann


    No, this is not an error in WP Publication Archive.

    WP Publication Archive hooks on to WordPress’ built-in the_title filter. This filter is defined in /wp-includes/post-template.php on line 118 and takes in two parameters – the title itself, and the ID of the post.

    WP Publication Archive adds a filter to this hook that also accepts two parameters, the title and the ID.

    It looks like All in One Event Calendar is also adding a hook to this filter, but they’re adding a hook that doesn’t take two parameters.

    If you want to skip this functionality all together, comment out the line that adds the title filter on line 53 in wp-publication-archive.php instead.

    getting the same error, a fix would be great. I’ll check permissions in the mean time

    Plugin Author Eric Mann



    1. Please don’t post comments like this in a forum thread marked “resolved.” If you have a new support issue, create a new thread.
    2. Please read my last post in this thread. The error was caused by poor coding in another plugin … which means there is no fix I can give you unless I know what plugins your site is using.

    Apologies Eric.
    for any non coders search for:
    add_filter( 'the_title', array( 'WP_Publication_Archive', 'the_title' ), 10, 2 );
    and put a # in front.

    Thanks for the Doc Archive plugin:)

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: WP Publication Archive] Dropdown Idea for Filtering’ is closed to new replies.