Forum Replies Created

Viewing 30 posts - 61 through 90 (of 9,352 total)
  • Author
    Posts
  • in reply to: Add anker to each Tab in a Tab Sektion #1016248

    Hi,

    Please try to add this code to your child theme functions.php and check if it fixes the issue on your end:

    
    add_action( 'wp_footer', 'avia_scroll_to_tab_section', 10);
    function avia_scroll_to_tab_section()
    {
    	?>
    	<script>		
    	setTimeout(function(){
          if(typeof location.hash == 'undefined') return;
          
          var hash = location.hash.substr(1);
          if(hash)
          {
            var current_tab = '';
            jQuery( ".av-layout-tab" ).each(function( index ) {
              var tab_id = jQuery(this).data('tab-section-id');
              if(tab_id) jQuery(this).attr('id', tab_id );
              if(hash == tab_id) current_tab = tab_id;
            });
            
            if(current_tab)
            {
              	var aTag = jQuery("#"+ current_tab);
              	jQuery('html,body').animate({scrollTop: aTag.offset().top -170},'slow');
            }
          }
    	}, 2000);
      
    	</script>
    	<?php
    }
    

    Best regards,
    Peter

    in reply to: Enfold (4.4.1) – Button in Colour Section doesn't work #1016242

    Hi,

    I tried to reproduce the issue on my test server but I couldn’t. Please create me an admin account and I’ll look into it on our website.

    Best regards,
    Peter

    in reply to: Website is down #1016240

    Hi,

    The error “PHP Parse error: syntax error, unexpected T_FUNCTION, expecting ‘)’ in wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/html-helper.class.php on line 1172” can be triggered by an outdated PHP version – please install PHP 5.6+ on your server, the recommended php version is PHP 7 ( https://wordpress.org/about/requirements/ ).

    If you’re not sure which PHP version you’re using please contact the server administrator/host and ask him to upgrade the PHP version for you.

    If the upgrade doesn’t solve the issue please update the theme by using ftp ( https://vimeo.com/64927356 ). 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: Home Page Avia Layout Builder not responding #1016238

    Hey Yaser,

    I get a 406 not acceptable error on the editor page which breaks the template builder. Please follow the instructions here: https://www.raymond.cc/blog/fix-wordpress-not-acceptable-error-406/ to fix it.

    Best regards,
    Peter

    in reply to: Portfolio Items & Admin Bar not showing #1016236

    Hi,
    Can you please activate the theme editor or install a plugin like: https://wordpress.org/plugins/theme-editor/ (otherwise I can’t view, modify or debug the theme code).

    Best regards,
    Peter

    Hi,

    I’m not sure if Velvet supports serialized data, it’s not mentioned on the plugin website. Please use the plugin I suggested or a this plugin https://wordpress.org/plugins/wp-migrate-db/ to change the urls in the database. Please use the UNMODIFIED database and not the database you already modified with the Velvet plugin because if the plugin does not support serialized data the database already contains corrupt/invalid data.

    Best regards,
    Peter

    in reply to: Add anker to each Tab in a Tab Sektion #1016232

    Hi,

    I tried to log in but the login credentials didn’t work for me. I get the error message: “FEHLER: Ungültiger Benutzername, E-Mail-Adresse oder ungültiges Passwort. Your Maximum Login Attempts left : 3”

    Best regards,
    Peter

    in reply to: Blog Social 'share' icons #1016230

    Hi,

    As far as I know Instagram currently doesn’t allow you to share a photo or video from another website – you can only upload photos/videos directly from your mobile device. Since there is no sharing mechanism, there is no way for us to include a button that will share your content to Instagram.

    If you’re aware of a sharing api which works with instagram please provide a link to it and we’ll look into it.

    Best regards,
    Peter

    in reply to: How to prevent Enfold adding ?s= to search url #1016229

    Hi,

    You can try to add following code to the child theme functions.php – it will add a rel=nofollow attribute to the search icon in the menu and will discourage search engines to follow/index the /?s url of the search icon.

    
    add_filter( 'wp_nav_menu_items', 'avia_append_search_nav', 9997, 2 );
    add_filter( 'avf_fallback_menu_items', 'avia_append_search_nav', 9997, 2 );
    
    function avia_append_search_nav ( $items, $args )
    {	
      if(avia_get_option('header_searchicon','header_searchicon') != "header_searchicon") return $items;
      if(avia_get_option('header_position',  'header_top') != "header_top") return $items;
    
        if ((is_object($args) && $args->theme_location == 'avia') || (is_string($args) && $args = "fallback_menu"))
        {
            global $avia_config;
            ob_start();
            get_search_form();
            $form =  htmlspecialchars(ob_get_clean()) ;
    
            $items .= '
     	<li id="menu-item-search" class="noMobile menu-item menu-item-search-dropdown menu-item-avia-special">
                <a href="?s=" rel="nofollow" data-avia-search-tooltip="'.$form.'" '.av_icon_string('search').'><span class="avia_hidden_link_text">'.__('Search','avia_framework').'</span></a></li>
    ';
        }
        return $items;
    }
    

    Best regards,
    Peter

    Hi,

    Can you please activate the theme editor or install a plugin like: https://wordpress.org/plugins/theme-editor/ (otherwise I can’t view, modify or debug the shortcode code).

    Best regards,
    Peter

    in reply to: Other thread marked as Read, but I still had follow up #1016227

    Hi!

    I fixed it by adjusting the code to

    
    
    add_filter( 'the_content', 'avia_add_social_share_bar' );
    function avia_add_social_share_bar( $content ) 
    {
    	global $avia_config;
    	
        // Check if we're inside the main loop in a single post page.
        if ( is_single() && in_the_loop() && is_main_query() && !empty($avia_config['conditionals']['is_builder']) ) 
        {
            return $content . do_shortcode("[av_social_share title='Share this entry' style='' buttons='' share_facebook='' share_twitter='' share_pinterest='' share_gplus='' share_reddit='' share_linkedin='' share_tumblr='' share_vk='' share_mail='' av-desktop-hide='' av-medium-hide='' av-small-hide='' av-mini-hide='']");
        }
    
        return $content;
    }
    

    Cheers!
    Peter

    in reply to: google mobile test is negative #1016224

    Hi,

    I think this is a theme configuration or plugin issue because I can’t reproduce these errors on my Enfold websites or on the demo website ( https://developers.google.com/speed/pagespeed/insights/?hl=de&url=https%3A%2F%2Fkriesi.at%2Fthemes%2Fenfold-2017%2F&tab=mobile ) Please check your performance settings (Enfold > Theme Options > Performance) – make sure the “CSS file merging and compression” and “Javascript file merging and compression” settings are enabled and the “Disable Features” and “Change WordPress defaults” checkboxes are NOT selected/activated.

    Best regards,
    Peter

    in reply to: deactivate portfolio #1016223

    Hey czar,

    You can add this code to the child theme to deactivate the portfolio:

    
    
    add_action('init', 'avia_deregister_portfolio', 5);
    function avia_deregister_portfolio()
    {
    	remove_action('init', 'portfolio_register');  
    }
    

    Best regards,
    Peter

    Hi,

    It’s not a bug but a known limitation. WordPress changes some code on the editor page (TinyMCE init script at the bottom) if the Reading settings include the page as “Posts page”. These code changes break our template builder because they overwrite our TinyMCE script code.

    However Enfold offers the same options in the theme options panel. I’d recommend to simply select “Your homepage displays” > “Your latest posts”, then go to Enfold > Theme Options and select your frontpage page from the “Frontpage Settings” dropdown and your Blog page from the “And where do you want to display the Blog? dropdown.

    Best regards,
    Peter

    in reply to: Align content 2nd column footer #1016219

    Hi,

    I fixed it by replacing the alignleft classes with aligncenter classes in the widget code (both languages) and by changing the css code in the quick css field to:

    
    #footer .av_one_third:nth-of-type(2){
    /*padding:0 100px!important;*/
    text-align:center!important;
    }
    
    #footer .av_one_third:nth-of-type(2) a, #footer .av_one_third:nth-of-type(2) img{
    display:inline;
    padding: 0 5px;
    }
    

    (also both languages).

    Best regards,
    Peter

    in reply to: Breadcrumbs – remove You are here, change home to icon #1016218

    Hi,

    Great, glad we could help you :)

    Best regards,
    Peter

    in reply to: Post Slider – activate on last selected post #1016183

    Hi,

    The post slider uses the same slideshow script like the easyslider. If you want to “activate” the “go to” slide buttons without javascript open up enfold/config-templatebuilder/avia-shortcodes/postslider/postslider.php and replace

    
    		protected function slide_navigation_arrows()
    		{
    			$html  = "";
    			$html .= "
    <div class='avia-slideshow-arrows avia-slideshow-controls'>";
    			$html .= 	"<a href='#prev' class='prev-slide' ".av_icon_string('prev_big').">".__('Previous','avia_framework' )."</a>";
    			$html .= 	"<a href='#next' class='next-slide' ".av_icon_string('next_big').">".__('Next','avia_framework' )."</a>";
    			$html .= "</div>
    ";
    
    			return $html;
    		}
    

    with

    
    		protected function slide_navigation_arrows()
    		{
              	$number_of_go_to = ceil($this->entries->found_posts / $this->atts['columns']);
              	$buttons = '';
    
              	for ($i = 1; $i <= $number_of_go_to; $i++) 
              	{
        			$buttons .= '<a href="#'.$i.'" class="goto-slide">'.$i.'</a>';
    			}
    
              	$buttons = '
    <div class="avia-slideshow-dots avia-slideshow-controls">'.$buttons.'</div>
    ';
    
    			$html  = "";
    			$html .= "
    <div class='avia-slideshow-arrows avia-slideshow-controls'>";
    			$html .= 	"<a href='#prev' class='prev-slide' ".av_icon_string('prev_big').">".__('Previous','avia_framework' )."</a>";
    			$html .= 	"<a href='#next' class='next-slide' ".av_icon_string('next_big').">".__('Next','avia_framework' )."</a>";
              	$html .= 	$buttons;
    
    			return $html;
    		}
    

    (you can also copy the modified postslider.php to your child theme folder to overwrite the parent theme postslider.php). Then modify your javascript function to trigger a click event based on the current url.

    Best regards,
    Peter

    Hi,

    I couldn’t find any javascript errors on the contact form pages. Can you please create us an admin account and we’ll look into it (I couldn’t access the admin dashboard with the login credentials above).

    Best regards,
    Peter

    in reply to: Social Share not on blog posts #1016175

    Hi,

    I’ll leave this thread open for now if you stumble over issues :)

    Best regards,
    Peter

    in reply to: Footer bug #1016174

    Hi!
    I fixed it by adding this code to the child theme functions.php

    
    add_action('ava_before_footer', 'avia_footer_fix_products' );
    function avia_footer_fix_products()
    {
    	global $avia_config;
      
      	$the_id 				= avia_get_the_id(); //use avia get the id instead of default get id. prevents notice on 404 pages
    	$footer 				= get_post_meta( $the_id, 'footer', true );
    	$footer_options			= avia_get_option( 'display_widgets_socket', 'all' );
      
        if( false !== strpos( $footer_options, 'page' ) )
        {
          /**
          * User selected a page as footer in main options
          */
          if( ! in_array( $footer, array( 'page_in_footer_socket', 'page_in_footer', 'nofooterarea' ) ) ) 
          { 
            $avia_config['layout']['current'] = array('content' => 'av-content-full alpha', 
                                                      'sidebar' => 'hidden', 
                                                      'meta' => '', 
                                                      'entry' => '',
                                                      'main' => 'fullsize');    
            $avia_config['conditionals']['is_builder'] = true;
            $avia_config['conditionals']['is_builder_template'] = true;
          }
        }
    }
    

    The css code is not required. I’ll report it as a bug to our developers and ask them to include a fix with the next update.

    Best regards,
    Peter

    in reply to: massiv problem with theme update #1016006

    Hi,

    We created a tutorial video: https://vimeo.com/64927356 which should help you to update Enfold via ftp (you can also study the article here: https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#reinstall-or-update-using-ftp ). 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: Move social icons above menu items #1016003

    Hey navindesigns,

    I added this code to the quick css field:

    
    
    .html_bottom_nav_header #top .av-logo-container .social_bookmarks {
        right: auto;
        left: 49%;
        top: 30%;
    }
    
    .html_header_top.html_logo_center .logo {
        margin-top: 30px;
    }
    

    to move the icon to the top and to center them. Maybe we need to adjust the code as soon as a different logo is set but it’s a starting point.

    Best regards,
    Peter

    Hey dcarlsondesign,

    1) Unfortunately you can’t remove the black bars by adjusting the theme settings or code. The black bars appear because the video uploaded by the users may include horizontal black bars at the bottom and top of the video player to fit an aspect ratio which is different from the screen aspect ratio or video player aspect ratio. For example if you upload videos with a 4:3 aspect ratio the YouTube video player adds vertical black bars because the player uses a 16:9 aspect ratio. You can try tools like: https://filmora.wondershare.com/youtube-video-editing/remove-youtube-videos-black-bars.html to convert your videos to the right ratio, but even then the aspect ratio can vary from screen to screen.

    2) You can use the avf_form_custom_autoresponder filter to customize the autoresponder message with your child theme.
    Please add this code to your child theme functions.php:

    
    add_filter('avf_form_custom_autoresponder', 'avia_custom_autoresponder', 10, 4);
    function avia_custom_autoresponder($autoresponder, $message, $class, $new_post)
    {
    	$name = urldecode($new_post['1_1']);
    	$message = "<strong>" . __('Dear ','avia_framework') . $name . " </strong>";
    
    	foreach($class->form_elements as $key => $element)
    	{
    		if(isset($element['id'])) $key = $element['id'];
    
    		$key = avia_backend_safe_string($key, '_', true);
    
    		if(empty($key) || !empty($class->form_params['numeric_names']) )
    		{
    			$iterations++;
    			$key = $iterations;
    		}
    
    		// substract 5 characters from the string length because we removed the avia_ prefix with 5 characters at the beginning of the send() function 
    		$key = avia_backend_truncate($key, $class->length - 5, "_", "", false, '', false);
    
    		$key .= $class->id_sufix;
    
    		if(!empty($new_post[$key]))
    		{
    			if($element['type'] != 'hidden' && $element['type'] != 'decoy')
    			{
    				if($element['type'] == 'textarea') $message .= "
    ";
    				$field_value = apply_filters( "avf_form_mail_field_values", nl2br(urldecode($new_post[$key])), $new_post, $class->form_elements, $class->form_params, $element, $key );
    				$message .= $element['label'].": ".$field_value."
    ";
    				if($element['type'] == 'textarea') $message .= "
    ";
    			}
    		}
    	}
    
    	$message .= 'FINAL TEXT';
    
    	$autoresponder = $message;
    
    	return $autoresponder;
    }
    

    You can replace the text strings “FINAL TEXT” with some custom text (i.e. “Kind regards….”). In the first line of the function you might need to adjust 1_1 with the field value of your name field. I.e. if it’s the second field use 2_1, the third field 3_1, etc.

    Best regards,
    Peter

    in reply to: Problem Updating Enfold #1015997

    Hi,

    If you want to enable automatic updates you need to generate an api key first (screenshot/instructions: https://kriesi.at/wp-content/themes/enfold/framework/images/layout/FIND_API.jpg ), then go to Enfold > Theme Options > Theme Update and paste the api key into the “Your Themeforest API Key” field. You also need to insert your themeforest username into the “Your Themeforest User Name” field.

    Best regards,
    Peter

    in reply to: Problem Updating Enfold #1015996

    Hi,

    If you want to enable automatic updates you need to generate an api key first (screenshot/instructions: https://kriesi.at/wp-content/themes/enfold/framework/images/layout/FIND_API.jpg ), then go to Enfold > Theme Options > Theme Update and paste the api key into the “Your Themeforest API Key” field. You also need to insert your themeforest username into the “Your Themeforest User Name” field.

    Best regards,
    Peter

    in reply to: Problem Updating Enfold #1015995

    Hi,

    If you want to enable automatic updates you need to generate an api key first (screenshot/instructions: https://kriesi.at/wp-content/themes/enfold/framework/images/layout/FIND_API.jpg ), then go to Enfold > Theme Options > Theme Update and paste the api key into the “Your Themeforest API Key” field. You also need to insert your themeforest username into the “Your Themeforest User Name” field.

    Best regards,
    Peter

    in reply to: Problem Updating Enfold #1015994

    Hi,

    If you want to enable automatic updates you need to generate an api key first (screenshot/instructions: https://kriesi.at/wp-content/themes/enfold/framework/images/layout/FIND_API.jpg ), then go to Enfold > Theme Options > Theme Update and paste the api key into the “Your Themeforest API Key” field. You also need to insert your themeforest username into the “Your Themeforest User Name” field.

    Best regards,
    Peter

    in reply to: Social Share not on blog posts #1015993

    Hi,

    Please add following code to the child theme functions.php to add the social share bar to all posts (at the bottom):

    
    
    add_filter( 'the_content', 'avia_add_social_share_bar' );
    function avia_add_social_share_bar( $content ) 
    {
        // Check if we're inside the main loop in a single post page.
        if ( is_single() && in_the_loop() && is_main_query() ) 
        {
            return $content . do_shortcode("[av_social_share title='Share this entry' style='' buttons='' share_facebook='' share_twitter='' share_pinterest='' share_gplus='' share_reddit='' share_linkedin='' share_tumblr='' share_vk='' share_mail='' av-desktop-hide='' av-medium-hide='' av-small-hide='' av-mini-hide='']");
        }
    
        return $content;
    }
    

    Best regards,
    Peter

    in reply to: Theme Upload Issue #1015990

    Hey Stevie,

    This is a common issue with some shared hoster, i.e. with GoDaddy ( https://www.godaddy.com/community/Managing-WordPress/Wordpress-theme-upload-error-quot-The-link-you-followed-has/td-p/101292 ). The solution is to increase some limits (PHP settings) to following values:

    
    
    max_execution_time  180
    
    memory_limit  512M (or your highest available)
    
    post_max_size  32M
    
    upload_max_filesize  64M
    
    

    If you don’t know how to increase the limits please talk to the host/server administrator and they’ll help you. 

    Best regards,
    Peter

    Hey!
    Glad I could help you!

    Cheers!
    Peter

Viewing 30 posts - 61 through 90 (of 9,352 total)