Replace in portfolio_category


  • Member
    linger
    July 30, 2014 at 10:24 am #20858

    Hi there:

    Sorry for repeating the same post for other users, I have read all but I can not change the “portfolio_category” with “xxx”.

    Changes here?

    register_taxonomy (‘portfolio_category’, ‘portfolio’, array (‘hierarchical’ => true, ‘label’ => ‘Portfolio Categories’, ‘query_var’ => true, ‘rewrite’ => true));

    my_option_posts_per_page function ($ value) {
         global $ option_posts_per_page;
         if (is_tax (‘portfolio_category’)) {
             return (ot_get_option (‘portfolio_items_per_page’, 9) ot_get_option (‘portfolio_items_per_page’, 9): 9?)
         Else {}
             return $ option_posts_per_page;
         }
    }

    Please Can you help? thank you

    * Translated with google translator ….

    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.