Forum Replies Created

Viewing 30 posts - 181 through 210 (of 9,352 total)
  • Author
    Posts
  • in reply to: Enfold Avia Cookie Consent #1014703

    Hi,

    Technisch wäre es (mit sehr zeitaufwendigen Modifikationen) machbar, aber wir bieten eine derartige Funktion derzeit nicht an. Du kannst dir aber Plugins wie Borlabs Cache ansehen, welche ähnlich arbeiten.

    Best regards,
    Peter

    in reply to: Problem with Attachment Display Settings : only full size #1014700

    Hi,

    This issue pops up if WordPress can’t generate thumbnails (i.e. see https://wordpress.stackexchange.com/questions/192524/add-media-only-shows-full-size-under-attachment-display-settings ). I installed the wordpress health checker plugin (to check the server environment) and I think the GD image module is missing or not activated. Please contact the server administrator/host and ask him to activate the module (otherwise wordpress can’t process images or generate thumbnails).

    Best regards,
    Peter

    in reply to: Adding text after products in product-category #1014697

    Hi,

    The code is correct. It was a small styling issue – I added following css code to the quick css field to fix it:

    
    /* fullwidth for seotext section products */
    #top.single-product .container .av-content-small.units {
        width: 100%;
    }
    

    Best regards,
    Dude

    in reply to: Breadcrumbs according to session #1014674

    Hi,

    If you do not select a breadcrumb parent page a php session variable will be used to determine which page could be a parent page. The results may vary depending on which page the website visitor views first. If you want a constant breadcrumb (which does not use sessions to “guess” the right parent page based on previously visited pages) you need to select the breadcrumb parent manually.

    Best regards,
    Peter

    in reply to: Footer issue | Copyright #1014664

    Hey!

    I could not find any errors or unnecessary code :)

    Regards,
    Peter

    in reply to: enfold read more link in masonry portfolio #1014626

    Hi,

    I adjusted the code a bit and replaced it with:

    
    // masonry read more
    function ava_custom_script_mod(){
    ?>
    <script>
    (function($){
      $(window).on('av-height-change', function() {
        $('.av-caption-style-overlay').each(function() {
          var more = $(this).find('.av-masonry-read-more');
          var cont = $(this).find('.av-masonry-entry-title');
      
          if( more.length == 1 )
    	  { 
    		  cont.css("opacity", "1");
    		  return;
    	  }
    		
          $('<div class="av-masonry-read-more avia-button">mehr erfahren</div>').insertAfter(cont);
    		cont.css("opacity", "1");
        });
      });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'ava_custom_script_mod');
    
    

    The title is now hidden by default (I used this css code to hide it):

    
    #top .av-caption-style-overlay .av-masonry-entry .av-masonry-entry-title{
    opacity:0;
    }
    

    and as soon as the javascript is loaded it will be displayed.

    Best regards,
    Peter

    in reply to: Customize masonry in category page #1014612

    Hi,

    I fixed it for you – I had to modify the enfold/taxonomy-portfolio_entries.php template and replaced:

    
                        $grid = new avia_post_grid(array(	'linking' 	=> '',
                                                            'columns' 	=> '3',
                                                            'contents' 	=> 'title',
                                                            'sort' 		=> 'no',
                                                            'paginate' 	=> 'yes',
                                                            'set_breadcrumb' => false,
                                                    ));
    

    with

    
                        $grid = new avia_post_grid(array(	'linking' 	=> '',
                                                            'columns' 	=> '3',
                                                            'contents' 	=> 'title',
                                                            'sort' 		=> 'no',
    				                        'preview_mode' => 'custom',
    						        'image_size' => 'full',
                                                            'paginate' 	=> 'yes',
                                                            'set_breadcrumb' => false,
                                                    ));
    

    Best regards,
    Peter

    in reply to: Mobile menù #1014601

    Hi,

    @mary301187
    – please create a new thread and we’ll help you there.

    must tell you that the mobile problem has happily disappeared! But then I tried it on the desktop and here it generates problems (I send you in private).

    I tried to reproduce the issue with Chrome, Edge and Firefox but I couldn’t. Please try to clear your browser cache and check the website again.

    Regarding the icon – according to: https://css-tricks.com/snippets/html/set-iphone-bookmark-icon/ following code should enable you to set an bookmark icon:

    
    function avia_header_scripts_custom_bookmark_icons(){
    ?>
     	<link rel="apple-touch-icon-precomposed" href="icon" />
     	<link rel="apple-touch-icon" href="http://mywebsite.com/iphone-icon.png"/>
    <?php
    }
    add_action('wp_head', 'avia_header_scripts_custom_bookmark_icons');
    

    Replace http://mywebsite.com/iphone-icon.png with the url to your icon

    Best regards,
    Peter

    in reply to: "Auto Draft" in Breadcrumbs #1014600

    Hey CaliBee,

    I fixed it by adding this code to your child theme:

    
    function avia_fix_breadcrumb_trail_dude($trail)
    {
    	foreach($trail as $key => $data)
    	{
    		if(strpos($data, 'Automatisch gespeicherter Entwurf') !== false) unset($trail[$key]);
    	}
    	return $trail;
    }
    add_filter('avia_breadcrumbs_trail','avia_fix_breadcrumb_trail_dude');
    

    Best regards,
    Peter

    in reply to: Old versions of Enfold available for download? #1014598

    Hey bostonbookfest,

    I attached a link to version 4.2.6 and 4.3 in the private content field.

    Best regards,
    Dude

    in reply to: Php configuration #1014597

    Hi,

    Please create us an admin account and we’ll review the child theme code.

    Best regards,
    Peter

    Hi,

    Please add this code to your child theme:

    
    
    function avia_display_image_copyright( $atts ) 
    {
    	$atts = shortcode_atts(array('id' => ''), $atts);
    	$copyright_text = '';
    
    	if(!empty($atts['id']))
    	{
    		$copyright_text = get_post_meta($atts['id'], '_avia_attachment_copyright', true );
    	}
    	else
    	{
          if(has_post_thumbnail())
          {
            $post_thumbnail_id = get_post_thumbnail_id();
            $copyright_text = get_post_meta($post_thumbnail_id, '_avia_attachment_copyright', true );
          }
    	}
    
    	return $copyright_text;
    }
    add_shortcode( 'av_display_image_copyright', 'avia_display_image_copyright' );
    

    You can then use this shortcode:

    
    [av_display_image_copyright]
    

    to display the copyright information of the featured image. If you want to display the copyright information of another image (which is not the featured image) you can use this code:

    
    [av_display_image_copyright id=852]
    

    and replace 852 with the (attachment) id of the image.

    Best regards,
    Peter

    in reply to: Thrive Architect Not working on Enfold anymore #1014595

    Hi,

    Great, glad it works now :)

    Best regards,
    Peter

    in reply to: Footer issue | Copyright #1014594

    Hi,

    This line in your code:

    
    <span class='copyright'><?php echo "&copy;". " " . Copyright . " " . date ('Y') . " " . $copyright; ?></span>
    

    was not valid because “Copyright” (without the quotes) was no variable, no constant, etc. but plain text. I moved it inside the “©” text string and this fixed the error.

    Best regards,
    Peter

    in reply to: All Enfold options are missing and cannot edit any pages #1014592

    Hi,

    It seems like your jquery.js script/file was corrupt. I re-installed wordpress to overwrite all existing wordpress core files with unmodified files and the admin page started to work again.

    Best regards,
    Peter

    in reply to: Search error #1014580

    Hey Karl,
    If you want to enhance the wordpress search algorithm you can install a plugin like Relevanssi ( https://de.wordpress.org/plugins/relevanssi/ ). Then add this code to your child theme:

    
    add_filter('avf_ajax_search_function', 'avia_init_relevanssi', 10, 4);
    function avia_init_relevanssi($function_name, $search_query, $search_parameters, $defaults)
    {
        $function_name = 'avia_relevanssi_search';
        return $function_name;
    }
    
    function avia_relevanssi_search($search_query, $search_parameters, $defaults)
    {
        global $query;
        $tempquery = $query;
        if(empty($tempquery)) $tempquery = new WP_Query();
    
        $tempquery->query_vars = $search_parameters;
        relevanssi_do_query($tempquery);
        $posts = $tempquery->posts;
    
        return $posts;
    }
    

    to use Relavanssi for the Enfold ajax search too.

    Best regards,
    Peter

    Hi,

    Sure you can use this code instead:

    
    add_action('init', 'avia_change_add_to_cart_buttons', 10); 
    function avia_change_add_to_cart_buttons()
    {
    	remove_action( 'woocommerce_after_shop_loop_item', 'avia_add_cart_button', 16);
    	add_action( 'woocommerce_after_shop_loop_item', 'avia_add_cart_button_mod', 16);
    }
    
    function avia_add_cart_button_mod()
    {
    	global $product, $avia_config;
    
    	if ($product->get_type() == 'bundle' ){
    		$product = new WC_Product_Bundle($product->get_id());
    	}
    
    	$extraClass  = "";
    
    	ob_start();
    	woocommerce_template_loop_add_to_cart();
    	$output = ob_get_clean();
    
    	if(!empty($output))
    	{
    		$output = '<a class="button show_details_button" href="'.get_permalink($product->get_id()).'"><span '.av_icon_string("details").'></span>  '.__("Show Details","avia_framework").'</a>';
    	}
    
    	if($output && !post_password_required() && '' == avia_get_option('product_layout',''))
    	{
    		echo "
    <div class='avia_cart_buttons single_button'>$output</div>
    ";
    	}
    }
    
    

    Best regards,
    Peter

    in reply to: Sort category filter by slug in masonry portfolio #1014576

    Hey!
    Great, glad it works now :)

    Best regards,
    Peter

    in reply to: Thrive Architect Not working on Enfold anymore #1014371

    Hi,

    Please create me an admin account and post a link to the architect page – I’ll check why the code doesn’t work for you.

    Best regards,
    Peter

    in reply to: Sort category filter by slug in masonry portfolio #1014369

    Hey Ink_Eye,

    You can try the advanced version of the plugin which supports hierarchical structures too: https://www.nsp-code.com/premium-plugins/wordpress-plugins/advanced-taxonomy-terms-order/

    It’s not really possible to change the sort order in a user friendly way by modifying the theme. You would need to modify following code in enfold\config-templatebuilder\avia-shortcodes\av-helper-masonry.php (line 240+)

    
    		//get the categories for each post and create a string that serves as classes so the javascript can sort by those classes
    		function sort_array($the_id)
    		{
    			$sort_classes 	= array("all_sort");
    			$item_terms 	= get_the_terms( $the_id, $this->atts['taxonomy']);
    
    			if(is_object($item_terms) || is_array($item_terms))
    			{
    				foreach ($item_terms as $term)
    				{
    					$term->slug = str_replace('%', '', $term->slug);
    					$sort_classes[] = $term->slug.'_sort ';
    				}
    			}
    
    			return $sort_classes;
    		}
    

    I.e. if you apply the sort() function ( http://php.net/manual/function.sort.php ) to the array the sort order would be alphabetical:

    
    		//get the categories for each post and create a string that serves as classes so the javascript can sort by those classes
    		function sort_array($the_id)
    		{
    			$sort_classes 	= array("all_sort");
    			$item_terms 	= get_the_terms( $the_id, $this->atts['taxonomy']);
    
    			if(is_object($item_terms) || is_array($item_terms))
    			{
    				foreach ($item_terms as $term)
    				{
    					$term->slug = str_replace('%', '', $term->slug);
    					$sort_classes[] = $term->slug.'_sort ';
    				}
    			}
    
    			sort($sort_classes);
    			return $sort_classes;
    		}
    

    Best regards,
    Peter

    in reply to: Links doesn't open in new Tab #1014353

    Hey lorenzdeutsch,

    Please create us an admin account and post a link to your website and we’ll look into it.

    Best regards,
    Peter

    in reply to: Masonry Portfolio doesn't load #1014343

    Hey Ink_Eye,

    I added following code to the child theme functions.php – it fixed the issue on my end:

    
    add_action('wp_footer', 'ava_auto_resize_masonry');
    function ava_auto_resize_masonry(){
    ?>
    <script>
    (function($){	
    	var int = window.setInterval(function(){
    		$(window).trigger('resize');
    		$(window).trigger('av-content-el-height-changed');
    	}, 1000);
    })(jQuery);
    </script>
    <?php
    }
    

    Please check if the issue is solved on your end too.

    Best regards,
    Peter

    in reply to: Error occurs on every page #1014321

    Hi,

    I fixed it – the issue is caused by wpml which replaced the widget id (#text-6) for each language.

    For English I had to use

    
    #text_icl-5 .avia-button {
      background-color: #e4293a;
      border-color: #e4293a;
    }
    #text_icl-5 .avia-button .avia_iconbox_title {
      color: #000;
    }
    

    and for Dutch:

    
    #text_icl-2 .avia-button {
      background-color: #e4293a;
      border-color: #e4293a;
    }
    #text_icl-2 .avia-button .avia_iconbox_title {
      color: #000;
    }
    

    Best regards,
    Peter

    in reply to: Shopping cart options #1014310

    Hey Jillian,

    Option 1 is not easily possible. Please post a link to your website and I’ll investigate the css code for option 2.

    Best regards,
    Peter

    in reply to: custom widgets in header help #1014307

    Hi,

    Great, glad you found a solution :)

    Best regards,
    Peter

    in reply to: Site stuck in maintenance mode #1014306

    Hi,

    Did you solve the issue? I could log in on your website and I checked your wordpress directory for the .maintenance file (it wasn’t there).

    Best regards,
    Peter

    in reply to: Footer issue | Copyright #1014305

    Hi,

    I corrected the code – please open up your child theme footer.php, delete the entire code and copy/paste the code from here: https://pastebin.com/raw/9fXBTLUy into the file.

    Best regards,
    Peter

    in reply to: Inquiry #1014294

    Hi,

    We do not create websites but we just sell stock wordpress themes. You can buy our Enfold theme (which was used to create the website http://spinecenteratlanta.com/team/dr-chappuis/ ) here: https://themeforest.net/item/enfold-responsive-multipurpose-theme/4519990

    Best regards,
    Peter

    in reply to: Enfold – Language change #1014292

    Hi,

    Great, glad I could help you :)

    Best regards,
    Peter

    Hi,

    It’s not easily possible to move the search icon but you could resize the logo based on the screen size – i.e. this css code:

    
    @media only screen and (max-width: 989px) and (min-width: 768px){
    .responsive #wrap_all .logo a, .responsive #wrap_all .logo img {
       max-width: 200px;
    }
    }
    

    would resize the logo to 200px on screen resolutions between 989 and 768px. You can also add a margin-top to the code to center the logo if necessary:

    
    @media only screen and (max-width: 989px) and (min-width: 768px){
    .responsive #wrap_all .logo a, .responsive #wrap_all .logo img {
    max-width: 200px;
    }
    
    .responsive #wrap_all .logo img {
    margin-top: 30px;
    }
    }
    

    Best regards,
    Peter

Viewing 30 posts - 181 through 210 (of 9,352 total)