Hi – I have added some iframe code but the correct height is not showing. I have been advised to Include the iframeResizer.min.js script in the containing page and I’m unsure where exactly to copy it. Can someone please help with this. Thank you.
Hey norwestarch,
To add a script to your WP site you will need to upload it and adjust this function so the path is correct and add it to your functions.php:
function my_custom_scripts() {
wp_enqueue_script(
'custom-script',
get_stylesheet_directory_uri() . '/js/my_custom.js',
array( 'jquery' )
);
}
I see that you are not using a child theme, I would point out that without using a child theme your customizations will be lost on the next update.
Please use our pre-built child theme
You will want to take a couple of steps, 1: please export your theme settings at: Enfold Theme Options > Import/Export > Export Theme Settings File to your computer, this is just for backup.
2: Once you install your child theme, please import your parent theme settings at:
Enfold Theme Options > Import/Export > Import Settings from your Parent Theme
Then you’ll need to re-set your menu options.
Finally, sometimes it is necessary to save your theme options one more time, to encourage the settings to be saved and activated in the merged /wp-content/uploads/dynamic_avia/ folder, a simple way to do this is to go to General Styling > Quick CSS field and place a space in the field so the theme options “Save all changes” button is clickable.
Best regards,
Mike