Hello,
I added 3 additional images sizes to the function.php, just below the standard Enfold sizes.
It works and I can select them.
But using a child-theme I want to add these functions to the child-theme function.php
How can I do this, with which code?
Thanx in Advance
Hey Roger,
First off, thanks for using our theme.
This link should help you: http://kriesi.at/documentation/enfold/using-a-child-theme/
Best regards,
John Torvik
Hi John,
I got a child-theme running already. But want to put the function for the additional images sizes in the function there instead of modifying the funtions.php file in the original theme.
roger
Hi Roger,
You should be able to simply move the code from the parent’s functions.php to the functions.php file in your child theme, could you try that out? If that doesn’t work then please post admin login details in private and let us know what code you have used and we’ll have a closer look at it.
Best regards,
Rikard
Hi Rikard,
Partly it works.
Wordpress creates the images sizes which i added, but I can not select them when i try to insert them in a post of page.
I think the part which is not working is this one:
$avia_config[‘selectableImgSize’] = array(
‘rgr_portfolio’ => __(‘rgr large’,’avia_framework’),
‘rgr_thumb’ => __(‘rgr thumb’,’avia_framework’),
‘rgr_derde’ => __(‘rgr derde’,’avia_framework’),
);
Regards,
roger
Hi,
Please, to check it better, may you provide us your WP and the FTP credentials?
Best regards,
John Torvik