Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1143752

    Hi
    I want to link to portfolio category, which works fine with:

    …/portfolio_entries/CATEGORY-NAME/

    However when I click on a single portfolio item the view is not in ajax but other format.

    The view in the overall portfolio is configured for Ajax.

    Questions:
    How can I make sure when I link a portfolio category that the view for the portfolio items is same as in the overall portfolio view configured ?
    Is it possible to set a default view for all portfolios?

    #1144805

    Hey tonyplanet,

    Thank you for the inquiry.

    That is the default layout of the portfolio archive pages. If you want to change it, edit the taxonomy-portfolio_entries.php file and replace the “avia_post_grid” with the “avia_sc_portfolio” element, then adjust the parameters.

    Best regards,
    Ismael

    #1144930

    Hi Ismal

    I changed the the “avia_post_grid” with the “avia_sc_portfolio” and left the parameter as they are ok. However after changing this parameter the portfolio category is blank.

    Best regards
    Tony

    #1145578

    Hi,

    Thank you for the update.

    The post_type parameter should be set to “portfolio” and taxonomy to “portfolio_entries”. Try to replace the default parameters with the following.

     $grid = new avia_sc_portfolio(array(	
    		'style' => '',
    		'linking' => '',
    		'columns' => '4',
    		'items' => '16',
    		'contents' => 'yes',
    		'sort' => 'yes',
    		'paginate' => 'yes',
    		'categories' => '',
    		'preview_mode' => 'auto',
    		'image_size' => 'portfolio',
    		'post_type' => 'portfolio',
    		'taxonomy' => 'portfolio_entries',
    		'linking' 	=> '',
    ));
    

    Best regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.