Discussion on Newave - WordPress Responsive One Page Parallax

ClaPat

ClaPat supports this item

Supported

1042 comments found.

janaku

janaku Purchased

Hi there, Due to the new European data protection laws we need to state on our website, which data we collect on our websites. This includes also any information which is transmitted through the template (e.g. if it is using automatically Google Analytics – or if you check the license with a tracking pixel). May you please therefore confirm if anything like this is implemented in this template? Thank you!

ClaPat

ClaPat Author

Hi, yes we are located in Romania and I’m glad you raised the GDPR requirements here, on the public forum where all our european customers (and whoever is concerned) can read and participate to this discussion.

I will provide here the technical replies to your questions but first I want to point out that it does not make sense to modify the theme for a specific situation when there are more elegant solutions to it. Ideally a theme should just provide the styling of the content and should leave everything else to the plugins and / or child themes.

1. The meta tag referrer (or any other) can be added to ‘Space before </head>’ in theme options -> General Settings

2. Loading google fonts locally can be easily done with a child theme. https://victorfont.com/use-google-fonts-locally/ Put all CSS styles related with the fonts in separate files (not style.css) and in your child’s theme functions.php add the follwoing: /* enqueue parent and child styles */ function my_theme_enqueue_styles() { $parent_style = 'parent-style'; wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css', array( 'bootstrap' ) ); wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css', array( $parent_style ), wp_get_theme()->get('Version') ); // enqueue google fonts styles $body_font = get_body_font_option(); $htag_font = get_htag_font_option(); $protocol = is_ssl() ? 'https' : 'http'; if( !empty( $body_font ) ){ // google body font has been specified in Typography theme options wp_enqueue_style( 'mytheme-body-font', $protocol . "://fonts.googleapis.com/css?family=" . urlencode($body_font) . ":400,400italic,700,700italic&subset=latin,greek-ext,cyrillic,latin-ext,greek,cyrillic-ext,vietnamese"); } else{ wp_enqueue_style( 'newave-open-sans-font', local path to your body font css file); } if( !empty( $htag_font ) ){ // google htag font has been specified in Typography theme options wp_enqueue_style( 'mytheme-htag-font', $protocol . "://fonts.googleapis.com/css?family=" . urlencode($htag_font) . ":400,400italic,700,700italic&subset=latin,greek-ext,cyrillic,latin-ext,greek,cyrillic-ext,vietnamese"); } else{ wp_enqueue_style( 'newave-montserrat-font', local path to your body font css file); } } add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );

Using exactly the same handler names for enqueuing font styles (newave-open-sans-font, newave-montserrat-font) prevents parent theme loading the fonts from google servers (it will not override the handlers already defined). Thanks

janaku

janaku Purchased

Thanks a lot for the prompt and detailed answer. I tried, but regarding 2. I anyhow cannot cope with this solution as I have no idea about code at all. Do you plan to update the standard theme concerning this (e.g. so that a user like I just has to take care for the local upload of the fonts via FTP but so that all other settings are simply done through the backend). Unfortunately I never wrote code on my own and I do not know anybody among my friends who can help me… And if there is no update of the standard theme planned – can you offer direct support on this for my specific website? Maybe we can discuss the conditions via email? Thank you so much!!!

ClaPat

ClaPat Author

Sure, open a private ticket on clapat.ticksy.com, provide full wp admin access and we will help you with the child theme.

mediaeng

mediaeng Purchased

Sugegstion: fulscreen video background header is not working on mobile devices like ipad. It wiil be very useful if you add support of video background header replacing ytplayer with a script like this: https://stackoverflow.com/questions/9260501/html5-video-background-on-ipad-iphone (see first comment)

Thank you for your suggestion. We may add support for self-hosted videos in the future. If you want to try this solution yourself try opening /sections/home_section_parallax_video.php and add the initialization function in /js/script.js. You have to enqueue the video library in functions.php. Thanks

by
by
by
by
by
by