WordPress.org

Forums

jQuery Categories List Widget
sub categories directly to post page (5 posts)

  1. immanenimohan
    Member
    Posted 1 year ago #

    hi please help me out

    when i click on child categories it doesnt go directly to post page

    for example when i click child to goes like this
    http://www.website.in/category/parent/child/

    but i want like this "when i click child it must goes directly go to post directly
    http://www.website.in/child/
    like this" please help me out

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

  2. Miguel Useche
    Member
    Plugin Author

    Posted 1 year ago #

    I don't get what do you mean by post? it should link only to categories.

  3. immanenimohan
    Member
    Posted 1 year ago #

    thanks for reply

    i mean

    categories
    -subcategories 1
    -subcategories 3
    -subcategories 4

    in this categories menu

    when i click "subcategories 1 " it goes to
    http://www.mysite.in/category/categories/subcategories 1/

    but i want like dis when i click "subcategories 1 "
    http://www.mysite.in/subcategories 1/

    when i click sub categories i want to go directly to that post

    please help me out

  4. immanenimohan
    Member
    Posted 1 year ago #

    thanks for reply

    i mean
    for example

    Fruits
    -------------orange
    --------------apple
    ---------------grapes

    in this categories menu

    when i click "orange" it goes to
    http://www.mysite.in/category/Fruits/orange/

    but i want like dis when i click "orange "
    http://www.mysite.in/orange/

    when i click orange want to go directly to that post

    please help me out

  5. Miguel Useche
    Member
    Plugin Author

    Posted 1 year ago #

    Ohh got it, well what i do is to use the official wordpress get_category_link function, because that's how it should be. What i recommend you is to modify my createCategoryLink function and generate the link according to your need.

    The easiest way is to remove any path between .in/ and the last /, you can do it by using a regex or substrings.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • jQuery Categories List Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.