Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #894

    Hi Kriesi!

    First of all i wanted to let you know what a great time i’m having customizing the CleanCut theme, it’s by far the easiest theme to really understand that i have come across (i’m still a wp rookie but i just love it!).

    I succesfuly duplicated the “Portfolio” part of it with all it’s functionality, admin options menu, admin item management and a working template and renamed the duplicate “Client” to use it as a client-only password-protected area, it all works wonderful, except for the category sorting.

    What i did was basically to literally duplicate all the bits of the portfolio functions and rename them client, and the client template is an almost exact copy of the portfolio one, but with the word “client” instead of “portfolio” in every line it is used.

    Since everything else is working perfectly, i am assuming that my problem (the category sorting in the client template no working) has to do with something i didn’t change in the code from the template, i’ve been through it a lot of times and the only bit i didn’t change because i don’t really get what it does is this :

    ‘matrix_slider_port_final’
    [ /code]

    as in the following piece of code from the 26 and 27 lines in the template_portfolio.php:

    [code]
    $additional_loop = new WP_Query($query_string);
    $categories = get_categories(‘title_li=&orderby=name&hide_empty=0&taxonomy=client_entries&include=’.$k_option[‘client’][‘matrix_slider_port_final’][$post->ID]);
    [ /code]

    I was wondering if it has something to do with my problem, and if it does, where or how can i make it work, it’s getting a bit frustrating having being able to figure out how to create the admin menus and make them functional and not sorting this one out! =D

    Thanks in advance for your help!

    [code]

    ‘matrix_slider_port_final’

    [ /code]

    as in the following piece of code from the 26 and 27 lines in the template_portfolio.php:

    $additional_loop = new WP_Query($query_string);
    $categories = get_categories(‘title_li=&orderby=name&hide_empty=0&taxonomy=client_entries&include=’.$k_option[‘client’][‘matrix_slider_port_final’][$post->ID]);
    [ /code]

    I was wondering if it has something to do with my problem, and if it does, where or how can i make it work, it’s getting a bit frustrating having being able to figure out how to create the admin menus and make them functional and not sorting this one out! =D

    Thanks in advance for your help!

    [code]

    $additional_loop = new WP_Query($query_string);

    $categories = get_categories(‘title_li=&orderby=name&hide_empty=0&taxonomy=client_entries&include=’.$k_option[$post->ID]);

    [ /code]

    I was wondering if it has something to do with my problem, and if it does, where or how can i make it work, it’s getting a bit frustrating having being able to figure out how to create the admin menus and make them functional and not sorting this one out! =D

    Thanks in advance for your help!

    #33300

    Hi!

    Sounds like a bug somewhere in the coding of the new page.

    Can you post the content to http://pastebin.com and post the link?

    Regards,

    James

    #33301

    I didn’t have internet the past week, but today i did a new “vanilla” install without any plugins, custom code or demo content and started checking all the files again and was able to sort it out!

    I had forgotten to duplicate the jquery functions as well!! no doubt why it wasn’t working!

    Thank you very much and i’ll show it to you guys when its ready!

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Portfolio sorting’ is closed to new replies.