Support » Plugin: jQuery Categories List Widget » sub categories directly to post page

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Miguel Useche

    (@skatox)

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

    immanenimohan

    (@immanenimohan)

    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

    immanenimohan

    (@immanenimohan)

    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

    Plugin Author Miguel Useche

    (@skatox)

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘sub categories directly to post page’ is closed to new replies.