Forum Replies Created

Viewing 30 posts - 451 through 480 (of 9,352 total)
  • Author
    Posts
  • in reply to: Enfold Theme Update #1010923

    Hi,

    The LARGE BLACK BOX is GONE – because I DISABLED the plugin. When you ENABLE the plugin – the site becomes a nightmare,

    Yes this is a bug of the toolbox plugin you’re using – see https://wordpress.org/support/topic/php-7-2-errors-6/

    I’d recommend to downgrade to php 7.0. You can upgrade to 7.2 again as soon as the plugin developers fixed the issue. I’ll check the slider after the downgrade to php 7.0 – then we can be sure the toolbox plugin code doesn’t interfere with the slider.

    Best regards,
    Peter

    in reply to: Google API issue on update. #1010909

    Hi,

    I copied it and checked no blank spaces are before or after the api key.

    Best regards,
    Peter

    in reply to: Enfold 4.4.1, Relevanssi und WPML #1010904

    Hi,

    I fixed it. I deactivated the css/js compression on the English option panel. It’s not required because you’re using the WP Fastest Cache Plugin which does the same :)

    Best regards,
    Peter

    in reply to: can't update 4.2.6 to 4.4.1 #1010899

    Hey jb84,

    This is a known bug in the Envato update api. We found a fix/workaround for it on our end and we’ll include it with the next update. You can add this fix manually – use the theme editor (Appearance > Editor) and edit Enfold. Go to enfold/framework/php/auto-updates/ and open the class-pixelentity-theme-update.php file. Clear the entire file (remove the code) and copy the entire code from here https://pastebin.com/raw/epetJ1SG into the blank file. Afterwards save the file and the update should work.

    You can also use ftp to update the file. Save the code from here: https://pastebin.com/raw/epetJ1SG to a file called class-pixelentity-theme-update.php. Then connect to your server via ftp, go to the directory wp-content/enfold/framework/php/auto-updates/ and overwrite the class-pixelentity-theme-update.php with the updated file you created before.

    Best regards,
    Peter

    in reply to: Polylang and Post Grid #1010895

    Hey Günter,

    According to the polylang docs ( https://polylang.pro/doc/developpers-how-to/ – section “How to query content in a different language than the current one”) you can use the lang parameter to query the German posts.

    You can use this code in your child theme functions.php to adjust the query

    
    add_filter('avia_post_slide_query', 'avia_post_slider_custom_query', 10, 2);
    function avia_post_slider_custom_query( $query, $params ) {
    	$query['lang'] = 'de';
    	return $query;
    }
    

    If this code doesn’t work please talk to the plugin developers because we officially only support WPML and they can use the code above as a starting point if other query parameters are required.

    Best regards,
    Peter

    in reply to: Privacy policy message in registration form #1010887

    Hi,

    It will be part of the next update but we’ve no ETA yet. If you need a quick solution you can add the code snippets from here: https://wpbrigade.com/add-privacy-policy-checkbox-registration-form/ to your child theme functions.php

    Best regards,
    Peter

    in reply to: Exclude ID item in portfolio grid bottom right #1010883

    Hey Stefano,

    You can use this code to exclude certain entries from the portfolio grid

    
    add_filter( 'avia_post_grid_query', 'avia_post_grid_query_mod', 10, 2);
    function avia_post_grid_query_mod( $query, $params ) {
    	$query['post__not_in'] = array(1301);
    	return $query;
    }
    

    You can replace 1301 with any other id (1301 would exclude “Odontoiatria Generale”). You can also exclude more entries, just separate the ids with commas like 1301,1302,1302…

    Best regards,
    Peter

    Hi!
    I updated the dev website for you. I just renamed /www/dev/wp-content/themes/enfold/ to /www/dev/wp-content/themes/enfold_bak/ and then uploaded the new theme files into the /www/dev/wp-content/themes/enfold/ directory.

    Cheers!
    Peter

    in reply to: Google API issue on update. #1010876

    Hi!
    I just entered the api key again and re-saved the theme settings – maybe it was a cache issue or there was a blank space before or after the api key.

    Best regards,
    Peter

    Hi!

    You could use a prefix to mark your data – i.e. use this code

    
    
    add_filter('avf_sc_contact_form_elements', 'avf_shortcode_sc_contact_form_elements', 10, 4);
    function avf_shortcode_sc_contact_form_elements($form_fields, $atts) 
    {
    	$data = '';
    	$googlevariable = 'myvariable';
    	$prefix = 'gv_';
    	
    	if(!empty($_REQUEST[$googlevariable]))
    	{
    		$data = htmlspecialchars($_REQUEST[$googlevariable]);
    	}
    	
    	if($data)
    	{
    		$form_fields[$googlevariable] = array('label' => '', 'type' => 'hidden', 'value' => $prefix.$data); 
    	}
    
    	return $form_fields;
    }
    

    – in the example I used the prefix ‘gv_’.

    Then – in your filter code – you can use it to determine the right data field. I.e.:

    
    add_filter('avf_form_message', 'avf_form_message_mod_new_field', 10, 3);
    function avf_form_message_mod_new_field($message, $new_post, $form_params) {
    	$message = '';
    	$prefix = 'gv_';
    	
    	foreach($new_post as $key => $data)
    	{
    		$pos = strpos($data, $prefix);
    		if($pos !== false && $pos == 0)
    		{
    			$message = substr($data, strlen($prefix));
    		}
    	}
    
        return $message;
    }
    

    would replace the message with the content of your variable. If you want to append the content of the variable with some text to the message use:

    
    $variabletext = 'My variable is: ' . substr($data, strlen($prefix));
    $message .= $variabletext;
    

    Regards,
    Peter

    in reply to: Same Title for all Blog Archiv Pages #1010751

    Hi,

    Great, glad I could help you :)

    Best regards,
    Peter

    Hi,
    I now tested the code and obviously it’s not possible to make the hidden field the first one without breaking the code. I’d recommend to leave it at the end to use the field type hidden to hide it. Use this code for the form:

    
    add_filter('avf_sc_contact_form_elements', 'avf_shortcode_sc_contact_form_elements', 10, 4);
    function avf_shortcode_sc_contact_form_elements($form_fields, $atts) 
    {
    	$data = '';
    	$googlevariable = 'myvariable';
    
    	if(!empty($_REQUEST[$googlevariable]))
    	{
    		$data = htmlspecialchars($_REQUEST[$googlevariable]);
    	}
    
    	if($data)
    	{
    		$form_fields[$googlevariable] = array('label' => '', 'type' => 'hidden', 'value' => $data); 
    	}
    
    	return $form_fields;
    }
    

    Best regards,
    Peter

    in reply to: Facebook Plugin & GDPR #1010746

    Hey Sjoerd,

    Enfold does not support the facebook pixel (or other facebook widgets) out of the box but you can use a plugin like https://wordpress.org/plugins/opt-out-facebook-pixel-dsgvo-gdpr/ to implement it in a GDPR complaint way.

    Best regards,
    Peter

    in reply to: SEO-Issues. Ghost URLs. #1010743

    Hey Maskenzauber,

    The embed enpoint was introduced in WordPress 4.4 ( https://make.wordpress.org/core/2015/10/28/new-embeds-feature-in-wordpress-4-4/ ) and enables others to embed your website (i.e. with an iframe on their website). WordPress then redirects the url (i.e. https://maskenzauber.com/faq ) to the embed endpoint (i.e. https://maskenzauber.com/faq/embed/ ). You can’t edit the embed endpoint directly with the post editor but it will display the page/post content. If you want to deactivate the embed endpoint please install this plugin: https://wordpress.org/plugins/disable-embeds/

    Best regards,
    Peter

    in reply to: Same Title for all Blog Archiv Pages #1010704

    Hi ak-muc!

    Please add this code to your child theme to fix this issue:

    
    add_filter( 'wpseo_title', 'avia_yoast_paged_title', 10, 1 );
    function avia_yoast_paged_title($title)
    {
    	global $paged;
    	if(!empty($paged)) $title .= ' – PAGE '.$paged;
    	return $title;
    }
    
    

    Best regards,
    Peter

    in reply to: Google API issue on update. #1010698

    Hey jamiebgp,
    I checked your website code and the api key is missing. Please create me an admin account and post the api key and I’ll look into it.

    Best regards,
    Peter

    in reply to: Enfold them update fatal error #1010695

    Hi,
    Great, glad it works now :)

    Best regards,
    Peter

    in reply to: Password-Protect Page Not Working in Google Chrome #1010691

    Hi,

    To be honest I don’t know other plugins to protect pages with a password.

    Another possible solution would be to protect your pages by simply hiding them from the public. Make sure the page is not indexed by a search engine (set the robots meta to noindex and nofollow) and use a random slug for the page (i.e. you could generate a long hash here: https://hashgenerator.de/ and use it as a slug). Then you could send out the url with the random slug (let’s say it looks like https://mywebsite.com/8617f366566a011837f4fb4ba5bedea2b892f3ed8b894023d16ae344b2be5881 ) to your users and it works like a password you send to them. With such a slug it’s impossible for others to guess the right url, also search engines won’t find it unless you add it to the sitemap.

    Best regards,
    Peter

    in reply to: Can not update to ENFOLD 4.4.1 ( on all our websites ) #1010687

    Hi,
    I couldn’t update the theme on your website however the download url from envato seems to be correct (I debugged the code). Maybe a third party plugin breaks the update process.

    Personally I’d recommend to use ftp to update the theme ( https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#update-via-ftp ) otherwise you’d need to deactivate all plugins to chec if they may affect the update. If you use ftp make sure to replace the entire theme folder. If you just overwrite the existing files you’ll get a blank page (500 error). Connect to ftp, go to wp-content/themes and rename the theme folder “enfold” to “enfold_bak”. Then download the new files from themeforest, unzip the theme files and upload them to wp-content/themes/enfold. Make sure the style.css file is located in wp-content/themes/enfold (file path wp-content/themes/enfold/style.css). If the theme works, you can simply delete the enfold_bak folder. If not, delete the enfold folder and rename enfold_bak to enfold.

    Best regards,
    Peter

    in reply to: Enfold them update fatal error #1010680

    Hey jamiebgp,

    The apply_filters_deprecated function was introduced in WordPress 4.6. Upgrading your WordPress to version 4.6+ (I’d recommend to update to the latest 4.9.x branch) will resolve this problem.

    Best regards,
    Peter

    in reply to: Default woocommerce pages #1010677

    Hey Sorinwd,

    I’d recommend to use hooks (actions and filters) to redesign the account page. This article may help you: https://businessbloomer.com/woocommerce-how-to-customize-the-my-account-page/

    If you want to overwrite the templates you can download them here https://github.com/woocommerce/woocommerce/tree/release/3.4/templates/myaccount , and add them to the child theme folder (wp-content/themes/enfolf-child/woocommerce/templates/myaccount/). There you can modify the templates and they will overwrite the default templates.

    Best regards,
    Peter

    in reply to: website is not working on mobile phone! #1010670

    Hi,

    The browser console shows a javascript error with a tri.be events calendar script:

    
    TypeError: e.attr(...) is undefined   tribe-events-ajax-calendar.min.js:1:545
    

    Ülease try to deactivate the events calendar plugin, clear all caches (browser cache and server cache if necessary) and check if this solves the issue. If yes please talk to the events calendar plugin developers and ask them to fix the error.

    Best regards,
    Peter

    Hi,

    Great, glad it works now :)

    Best regards,
    Peter

    in reply to: portfolio item showing error in Masonry with WPML #1010653

    Hi,

    Can you please check the login credentials. When I try to log in I get the error: “ERROR: The password you entered for the email address (Email address hidden if logged out) is incorrect. Lost your password?”

    Best regards,
    Peter

    in reply to: update fail #1010651

    Hi,

    Glad I could help you :)

    Best regards,
    Peter

    in reply to: Site not working after theme update! #1010650

    Hi,

    This error message does not mean that the theme you have purchased is broken. If you are getting the no style.css message it means you aren’t actually uploading the actual theme file.

    When you download the theme files from themeforest you can either download:

    – All files (with documentation, psd files, wordpress theme, licence, versions file etc).
    -: Only the theme files.

    If you download only the theme files and upload them to your server the theme will work fine. If you download “All files” you need to unpack the downloaded zip file first. Inside you will find another ZIP file that contains the actual theme files. This is the folder you can upload to your server.

    If you need more information about this topic. Here is a video tutorial by themeforest: http://support.envato.com/index.php?/Knowledgebase/Article/View/269/0/my-wordpress-theme-isnt-working-what-should-i-do

    Best regards,
    Peter

    in reply to: update fail #1010644

    Hi,
    I updated Enfold for you :)

    Best regards,
    Peter

    in reply to: update fail #1010633

    Hi,

    I updated the theme for you. I had to deactivate the “UpdraftPlus – Backup/Restore” plugin, then updated the theme and then re-activated the plugin.

    Best regards,
    Peter

    in reply to: update fail #1010631

    Hi,

    Please post the website url :)

    Best regards,
    Peter

    in reply to: z-index assistance #1010629

    Hey Briana,

    You need to change the opacity of the section below (container of the headline below the slider). Sounds funny but this article describes it pretty well: https://philipwalton.com/articles/what-no-one-told-you-about-z-index/

    This code should fix the issue:

    
    #below {
        opacity: 0.99;
    }
    

    Best regards,
    Peter

Viewing 30 posts - 451 through 480 (of 9,352 total)