Forum Replies Created
December 15, 2013 at 4:24 pm in reply to: WordPress 3.8 and Lost of Categories in the Portfolio Item #200419
I have replaced ‘PL’ with ‘L’ and ‘L’ with ‘PL’ in condition in single.php and it works fine now!
In portfolio high preview image is 260 in blog (single post and list of posts) is 160 px :)
1. In functions.php I have added new imgSize named ‘PL
2. In single.php I have added this code (condition if else)
3. and in portfolio preview image has still 610 x 160 which is inconsistent with condition from point 2 :)
Here is a code after changes, maybe (probably) I did something wrong?
Thanks I really appreciate your help.
Hi it’s me again.
It worked but not exactly perfect.
If I change a height to 160 in line 23
$k_option['custom']['imgSize']['L'] = array('width'=>610, 'height'=>160); // image for blog posts
everything is ok in list of posts – here is an example:
and in single post: http://www.af-studio.pl/illustrator/jak-narysowac-platek-sniegu-w-illustratorze/
BUT there is new problem :) with preview image in portfolio item:
Preview image has 610 x 160 px also. :(
I’d like to have portfolio preview image in old size.
I try to create my own, additional size with my name of size – it’s working too!
Thanks again Chris!
Thanks, it’s working :).!
Can I prepare my own size (additional)? for example (small_preview):
$k_option['custom']['imgSize']['small_preview'] = array('width'=>610, 'height'=>200);
Oh, I see:
Version 1.2.1 File Updates:
file: js/custom.js fixes a IE 9 issue with preloading images
file: framework/fonts/cufon.js fixes a IE9 issue with font displaying
file:style.css: version number
I always resolve problem after question :)
Hi, I have a question. Could you tell me which files exactly should I change, because I don’t want change whole theme. Mabe only cufon.js?
I think there is something in code of placeholder, in this part where is image:
<img src="http://www.af-studio.pl/wp-content/blogs.dir/2/files//2011/04/vector.jpg" alt="" title="Ilustracje wektorowe" />
But I don’t know what is wrong with this part.
Here is screenshot (IE9)