-
AuthorPosts
-
April 19, 2017 at 11:39 pm #780212
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
April 20, 2017 at 5:59 am #780304Hey 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 TorvikApril 20, 2017 at 9:10 am #780381Hi 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
April 21, 2017 at 5:26 am #780966Hi 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,
RikardApril 21, 2017 at 2:43 pm #781217Hi 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
April 22, 2017 at 5:31 am #781523Hi,
Please, to check it better, may you provide us your WP and the FTP credentials?
Best regards,
John TorvikApril 22, 2017 at 6:09 pm #781726April 23, 2017 at 5:51 am #781880 -
AuthorPosts
- You must be logged in to reply to this topic.
