Tagged: archive page
-
AuthorPosts
-
August 11, 2013 at 6:21 pm #27580
Hi
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
thanks
Brarry
August 12, 2013 at 8:54 pm #134514Hey!
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
August 13, 2013 at 8:21 am #134515Hi 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?
August 14, 2013 at 12:49 am #134516Hi 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
Regards,
Devin
August 15, 2013 at 7:24 am #134517Hi 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)
August 15, 2013 at 3:14 pm #134518Hey,
You can request it here: https://kriesi.at/support/topic/enfold-feature-requests
Regards,
Ismael
August 27, 2013 at 3:42 pm #134519Hi 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!!!!
August 27, 2013 at 3:44 pm #134520Yes, archive.php should work as a base for it.
August 27, 2013 at 3:46 pm #134521Ok great thanks Devin. I will try it out and come back with any further questions :)
August 27, 2013 at 3:54 pm #134522Sorry, 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!
-
AuthorPosts
- The topic ‘Edit the archive page template’ is closed to new replies.