October 5, 2012 at 7:11 am #16833
Hi. I’m sorry but I am still having problems with the portfolio.
The blue visit website button on the thumbnail points to an external link but opens an internal one.
I need to disable the link on both the thumbnail photo and the text underneath which reads Lighthouse Lodge.
I also need to disable the hover effects on the thumbnail.
And I need the link from the button to open the external link.
Mark.October 5, 2012 at 7:03 pm #93075
Here is a video I just slapped together that tells you how to do most of it. https://docs.google.com/open?id=0B8hqGBMSfHtKQkpEclo3TnJHbTg The link will require editing of the templates to change, may be easier to just remove it the same way I did in video with the overlay. Unfortunately there is another piece to the overlay that has to be removed as well.
NickOctober 6, 2012 at 3:36 am #93076
Hi Nick. Thank you so much for that. Nobody from any WP support has ever gone to so much trouble before – and I have bought a lot of WP themes. I was almost about to give up but you have rekindled the flame. I know you went to a lot of trouble so hope you are not too peeved to hear that I have kind of reverted to the default.
Here is the page now: http://accommodationinwarrnambool.com.au/?page_id=155
I still have a few problems.
1: When you click on a thumbnail it opens with an image, a title and a description. I need to remove the link from the title. Having a link to a post here will just confuse people.
2: Not sure how to reorder the portfolio items. Tried changing the publication dates.
3: Some of the large images are being resized. Lighthouse Lodge (640×430) and Ashmur Villa (563×609) are rendering correctly. The 2 smaller photos – Beechwood (468×343) and Fairholme Apts (426×283) are not. Not sure why?
Again, Many thanks. Mark.October 8, 2012 at 5:47 am #93077
Sorry for the delay in answering. We aren’t regular WordPress support. We are the few, the proud, the Kriesi’s elite support team. :) We do appreciate the kind words though. Thanks!
1) Changing the link is tricky, you will have to figure out yourself how to do that since a portfolio that completely points to some other website is something custom.
I would just remove the title entirely, since its easier than rewriting the code. Try adding this to quick css in the backend
2) The portfolio is ordered by date, modifying it wont change anything since the entry date remains the same , just the modify date changes. Try this plugin http://wordpress.org/extend/plugins/post-types-order/ , it will help you out.
3) You need to set constraints. Please open up functions.php at the root of the theme. You will see
$avia_config['imgSize']['portfolio_small'] = array('width'=>241, 'height'=>179 ,'copy'=>'greyscale'); // images for portfolio 4 columns
This is where by the way you can remove the greyscale. So what you want to do is change it to
$avia_config['imgSize']['portfolio_small'] = array('width'=>241, 'height'=>179 ,'crop'=>'true'); // images for portfolio 4 columns
Try also with crop = false. Once you understand how aspect ratio works, you will get a better idea what’s going on here.
Now also go to the backend of the theme, Settings > Media, and make sure you have the checkbox off. Also for maximum width and height put down 241 width and 179 height. Here is where you have to play around with the numbers. The Settings > Media and the functions.php are the two places controlling the thumbnails. Try some different things.
You just have to remember that the original photo’s aspect ratio (height vs width) plays a key part. So if the original photo has 10 width and 200 height, and another has 200 height and 10 width, it is difficult to create a thumbnail that is square yet represents what the photo looks like, so you either have to crop it , or enlarge it (make blurry). Other wise you should use a program like Photoshop to prep the images first.
NickOctober 10, 2012 at 6:57 am #93078October 10, 2012 at 7:13 am #93079
The topic ‘Portfolio Problem.’ is closed to new replies.