WordPress.org

Ready to get started?Download WordPress

Forums

jQuery Categories List Widget
[resolved] Use with custom taxonomy? (10 posts)

  1. janellv
    Member
    Posted 11 months ago #

    Is there a way to use this with a custom taxonomy instead of the Categories specifically?

    Thanks,
    Janell

    http://wordpress.org/plugins/jquery-categories-list/

  2. Miguel Useche
    Member
    Plugin Author

    Posted 11 months ago #

    Hello, i don't have the source code in here (I'm at work), but i have a
    method where i extract the categories, it calls wordpress function named
    get_categories()

    In there, i think I pass as arguments something like type=>'post' or
    =>'category'. You'll need to remove it or add your category type. In
    http://codex.wordpress.org/Function_Reference/get_categories you can
    find more information.

    So, just edit the get_Categories function and you should have you custom
    category.

  3. janellv
    Member
    Posted 10 months ago #

    Thanks, I will try that - I am not very familiar with php at all, so I will be feeling my way around. I'll let you know how it works.

  4. dealsclue
    Member
    Posted 10 months ago #

    I have tried this , i's working !
    But link to category is missing when use custom taxonomies

  5. Miguel Useche
    Member
    Plugin Author

    Posted 10 months ago #

    I haven't used any custom categories, but i guess you'll need to change my call to get_category_link() function and add support for your custom categories.

    You can get more information at: http://codex.wordpress.org/Function_Reference/get_category_link

  6. janellv
    Member
    Posted 10 months ago #

    I finally tried this and got the error message: Warning: Cannot modify header information - headers already sent by (output started at /home/genvines/public_html/wp-content/plugins/jquery-categories-list/jquery-categories-list.php:1) in/home/genvines/public_html/wp-includes/pluggable.php on line 875

    Any ideas what might be causing that?

  7. Miguel Useche
    Member
    Plugin Author

    Posted 10 months ago #

    Usually that error is because you added an "echo" somewhere, and the when PHP tries to print document's header throws that error because the addded error created a previous header, check any modified code and delete echos.

  8. janellv
    Member
    Posted 10 months ago #

    Thanks, I do my best not to get into php at all, and I'm pretty sure that I haven't changed any more than the css on the site until I edited this file. But thanks for the suggestion, I'll poke around and see if I can remember doing anything else.

  9. kashifbunty
    Member
    Posted 8 months ago #

    Good Day!
    I am using this plugin in a woocommerce site. I have installed this plugin and edit the taxonomy and post type.
    The categories of my all products are showing. The only problem is the links are not working i think i have to set the links settings. But i don't know how.
    Here is my page where is set the categories: http://ipakgifts.com/?page_id=1423

    Please help me how to set the links setting.

    Take care

  10. Miguel Useche
    Member
    Plugin Author

    Posted 8 months ago #

    Did you did the suggestion of above? to use the get_category_link() function?

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.