Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
  • #27580


    I wanted to know if there is a way to choose or to edit the way the portfolio items appear on an archive page?

    I want to edit the size of featured image and the number of items to appear in each clounm





    There is a taxonomy-portfolio_entries.php in your theme folder that allows you to set a few variables: you can edit them and also add the image size parameter like i did bellow:

    $grid = new avia_post_grid(array( 'linking' => '',
    'columns' => '3',
    'contents' => 'title',
    'sort' => 'no',
    'paginate' => 'yes',
    'image_size' => 'portfolio',
    'set_breadcrumb' => false,

    you can also find an array of available image sizes in the functions.php file around line 80


    Hi Kriesi ,thanks for your reply

    I wanted to know if I can use one of my custom templates I’ve created to be displayed on each archive page?


    Hi barrygur,

    You would need to use custom php page templates to do that. Each would be named taxonomy-{taxonomy}-{term}.php . You could use the current archive page as a reference or template and copy it over but each would be made via php as the theme doesn’t have an option to set them from the wordpress admin.

    See: http://codex.wordpress.org/Template_Hierarchy#Custom_Taxonomies_display




    Hi Devin

    Thanks for your answer.

    Do you have future plans to add the option to set archive page template via wordpress admin panel in the next theme updates?

    or you suggest I hire a developer to do this?

    (I know nothing about php and programming)



    You can request it here: http://www.kriesi.at/support/topic/enfold-feature-requests




    Hi there, rather than posting another support post for this, can I just quickly ask..What is the correct file to copy to create a custom archive template? My site is http://trainingplansonline.com/ and I am looking to add some SEO copy above the listed products on a page like this for example: http://trainingplansonline.com/product-type/season-plans/

    Do I need to use archive.php or which?

    Thanks so much for your help!!!!


    Yes, archive.php should work as a base for it.


    Ok great thanks Devin. I will try it out and come back with any further questions :)


    Sorry, one more quick question..how should I change the archive.php file to display the same thumbnail list of products like on the normal products page. After changing the file to taxonomy-product_cat-season-plans.php the full product page shows up instead of the thumbnails.

    thanks for your help!

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

The topic ‘Edit the archive page template’ is closed to new replies.