Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #13574

    Which is the file for listing portfolio items?

    I need to create listing pages for portfolio items belonging to different categories.

    thanks.

    #79754

    Hi a b,

    Can you explain more of what you’re trying to do? If what I’m thinking you’re trying to accomplish is correct then you use the options under Propulsion > Portfolio to setup category specific pages. Alternatively you can also use the Template Builder. Both save you from editing the actual theme files.

    Regards,

    Mya

    #79755

    Hi Mya,

    Thank you for the workaround. I think I am a bit confused with what I want to do, so i will try to make up my mind first :)

    #79756

    Can portfolio page list items alphabetically? Can you adjust the order of the items?

    #79757

    Hello,

    Go to template-portfolio.php, find this code.

    $avia_config['new_query'] = array("paged" => get_query_var( 'paged' ), "posts_per_page" => $avia_config['portfolio_item_count'], "post_type"=>"portfolio");

    Replace it with this.

    $avia_config['new_query'] = array("paged" => get_query_var( 'paged' ), "posts_per_page" => $avia_config['portfolio_item_count'], "post_type"=>"portfolio", 'orderby' => 'title', 'order' => 'DESC');

    You can change orderby and order. Visit wp query_posts codex for reference.

    Regards,

    Ismael

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

The topic ‘Portfolio items page’ is closed to new replies.