Portfolio URL/permalink and Portfolio Image Mask
Hey guys,
1) I need to know if there is a way to rename the permalink of the portfolio item - right now it's like
http://siteurl/portfolio-item/portfolio-item-name/ > I want it to be http://siteurl/customname/portfolio-item-name
Is there a way to edit this in the template or somewhere else?
2) Portfolio image mask has a very different aspect ratio (like 16:5) than the portfolio image (4:3, 16:9) - is there a way to change this? Because it's awful right now. We're using the portfolio to present persons, and right now their head is cut ...
Would be happy about a solution, let me know if there's any.
Best regards
1) I need to know if there is a way to rename the permalink of the portfolio item - right now it's like
http://siteurl/portfolio-item/portfolio-item-name/ > I want it to be http://siteurl/customname/portfolio-item-name
Is there a way to edit this in the template or somewhere else?
2) Portfolio image mask has a very different aspect ratio (like 16:5) than the portfolio image (4:3, 16:9) - is there a way to change this? Because it's awful right now. We're using the portfolio to present persons, and right now their head is cut ...
Would be happy about a solution, let me know if there's any.
Best regards
Comments
1. This can be done in Theme options > Getting started > Portfolio section.
2. Unfortunately we do not have option to change images sizes. This can be only done in functions/theme-functions.php file where are add_image_size() functions. But remember that all changes in files you do at your own risk
Thanks for understanding!
Solution?
Can be closed!
add_image_size( 'portfolio', 576, 450, true ); // portfolio
add_image_size( 'portfolio-list', 1160, 450, true ); // portfolio - list
add_image_size( 'portfolio-mf', 960, 750, true ); // portfolio - masonry flat
add_image_size( 'portfolio-mf-w', 960, 375, true ); // portfolio - masonry flat wide
add_image_size( 'portfolio-mf-t', 480, 750, true ); // portfolio - masonry flat tall
The one for the single portfolio image is it in here? Because I can't see it :d
= add_image_size( 'blog-single', 1200, 480, true ); // blog - single
/// Edit - NO it's not