Forum Replies Created

Viewing 30 posts - 5,101 through 5,130 (of 9,352 total)
  • Author
    Posts
  • in reply to: Easy Slider > sort posts by date #224824

    Hi pako69!

    Please insert this code into the enfold/functions.php file:

    
                add_filter( 'avf_dropdown_post_query', 'avia_wpml_filter_dropdown_post_query_custom', 10, 4);
    
                function avia_wpml_filter_dropdown_post_query_custom($prepare_sql, $table_name, $limit, $element)
                {
                    if(defined('ICL_LANGUAGE_CODE'))
                    {
    			global $wpdb;
                    	$wpml_lang = ICL_LANGUAGE_CODE;
                    	$wpml_join = " INNER JOIN {$wpdb->prefix}icl_translations ON {$table_name}.ID = {$wpdb->prefix}icl_translations.element_id ";
                    	$wpml_where = " {$wpdb->prefix}icl_translations.language_code LIKE '{$wpml_lang}' AND ";
    
                    	$prepare_sql = "SELECT distinct ID, post_title FROM {$table_name} {$wpml_join} WHERE {$wpml_where} post_status = 'publish' AND post_type = '".$element['subtype']."' ORDER BY post_date ASC LIMIT {$limit}";
                    }
    		else
    		{
                    	$prepare_sql = "SELECT distinct ID, post_title FROM {$table_name} WHERE post_status = 'publish' AND post_type = '".$element['subtype']."' ORDER BY post_date ASC LIMIT {$limit}";
                    }
                    return $prepare_sql;
                }
    

    Best regards,
    Peter

    in reply to: Woocommerce – Anzeige Warenkorb in Sidebar #224821

    Hey!

    Versuche einmal folgenden Code in das Quick CSS Feld einzufügen:

    
        #top div .widget_shopping_cart .button {
            width: 100%;
            display: block;
        }
    
        #top div .widget_shopping_cart .button.checkout {
            margin-top: 10px;
        }
    
    

    Cheers!
    Peter

    in reply to: Permalink error with WPML (404) #224820

    Hey!

    Yes because the standard worpress config does not use an additional post type (i.e. the portfolio entries) and thus you won’t reach the limit of rewrite rules. As soon as you add some custom post types the number of rewrite rules increases and your server does not process the rewrite rules for all post types anymore. There’s nothing I can do to fix it from our end (with code). The only solution is to deactivate the “pretty permalinks” for the post type our theme registers and I already provided that code. You might want to contact the server administrator/host – maybe they can tweak the server configuration somehow and change this limit (although I’m not sure which settings need to be changed) or you try to move the website to a different server/host.

    Cheers!
    Peter

    in reply to: After updating, images in columns are no longer responsive? #224819

    Hi!

    Tbh I’m not sure if Kriesi is going to fix this issue directly. The next update will include LayerSlider 5 and if we find an incompatibility issue (i.e. with the column elements) we will fix it for sure. For now you can try this css code:

    
    @media only screen and (max-width: 767px){
    body .column-top-margin {
    margin-top: 10px;
    }
    
    .avia-align-center.avia_image.avia-builder-el-no-sibling {
    margin-bottom: 10px;
    }
    }
    

    to fix the spacing issue for smaller screens.

    Cheers!
    Peter

    in reply to: Portfolio custom link to open in a new page #224815

    Hi!

    1) I corrected the instructions here: https://kriesi.at/support/topic/portfolio-custom-link-to-open-in-a-new-page/#post-223280 . I think I gave you the wrong code line the first time.

    2) There’s no option but you can try to use css to deactivate the click event. Insert this code into the quick css field:

    
    .post-entry-2721 a{ pointer-events: none; }
    

    and replace 2721 with the id of the entry where you want to remove the link. If you want to remove it from several entries duplicate the selector and separate it with a comma like:

    
    .post-entry-2721 a, .post-entry-2725 a{ pointer-events: none; }
    

    Best regards,
    Peter

    in reply to: Easy Slider auto resume after hover / pause #224813

    Hey!

    This should be possible. In wp-content/themes/enfold/js/shortcodes.js replace

    
    		next : function(e)
    		{
    			e.preventDefault();
    			this._stopSlideshow();
    			this._navigate( 'next' );
    		},
    
    		// public method: shows previous image
    		previous : function(e)
    		{
    			e.preventDefault();
    			this._stopSlideshow();
    			this._navigate( 'prev' );
    		},
    

    with

    
    
    		next : function(e)
    		{
    			e.preventDefault();
    			this._stopSlideshow();
    			this._navigate( 'next' );
    
    			setTimeout(this._startSlideshow(),50);
    		},
    
    		// public method: shows previous image
    		previous : function(e)
    		{
    			e.preventDefault();
    			this._stopSlideshow();
    			this._navigate( 'prev' );
    
    			setTimeout(this._startSlideshow(),50);
    		},
    

    Cheers!
    Peter

    Hey!

    Please try to install the latest theme update (2.5.2) with ftp: https://vimeo.com/channels/aviathemes/67209750 and check if it solves the issue.

    Cheers!
    Peter

    in reply to: Randomize Grid Layout #224495

    Hi!

    You can use the is_page and is_single conditional: ( http://codex.wordpress.org/Function_Reference/is_page and http://codex.wordpress.org/Function_Reference/is_single ) to change the query parameter on some pages/posts. Use it like:

    
    
    add_filter('avia_masonry_entries_query','avia_order_by_random', 10, 2);
    function avia_order_by_random($query, $params)
    {
    if(is_single(array(17,19,25))) $query['orderby'] = 'rand';
    if(is_page(array(40,49,30))) $query['orderby'] = 'rand';
    return $query;
    }
    

    and instead of 17,19,25 insert the post ids (posts where you want to show a random grid) and instead of 40,49,30 insert your page ids. Separate them with a comma.

    Regards,
    Peter

    in reply to: Wie zeige ich das Portfolio-Grid an? #224494

    Hi sonnenschein13!

    Kannst du einen Link zu deiner Website/Portfolio posten und uns einen Admin Account einrichten? Ich muss mir die Konfiguration ansehen, damit ich den Fehler finden kann.

    Cheers!
    Peter

    in reply to: wrong portfolio in widget #224355

    Hey Munford!

    Please see: https://kriesi.at/support/topic/enfold-latest-portfolio-wpml/

    Regards,
    Peter

    in reply to: Produkt Variationen #224353

    Hey Christopher!

    Diese Auswahl wird durch den Produkttyp “Grouped Product” (oder auf Deutsch “Gruppiertes Produkt”) erzeugt. Hierzu legt man mehrere Produkte an und weist diese dann einem gruppierten Produkt zu. Variationen kann man leider nicht mit einer Tabelle anlegen. Siehe hierzu auch: https://www.youtube.com/watch?v=3JKZp0QWX0Y

    Best regards,
    Peter

    in reply to: icon box styling #224351

    Hi!

    The blog page works now. I just deselected the “Posts page:” on the Settings > Reading option page.

    Regards,
    Peter

    in reply to: Entire Enfold Website translation by WPML #224350

    Hi FLORENCE2014!

    Afaik this is not possible. You can use the “Copy content from XY” button on the page/post/portfolio entry editor page to copy the text content of a single entry but it won’t duplicate the entire website.

    Best regards,
    Peter

    in reply to: HELP wpml errors, site down #224347

    Hi!

    We’ll continue here: https://kriesi.at/support/topic/icon-box-styling/#post-223949

    Best regards,
    Peter

    in reply to: Mobile Menu not showing – conflict with contact form #224346

    Hi!

    1) Anscheinend kann die Übersetzung des “Datepicker” Elements des Kontaktformular nicht richtig geladen werden und dies verursacht einen Javascript Fehler auf deiner Website. Dies löst wiederum Fehler mit den Slidern und den Mobile Menu aus, da diese auf Javascript basieren. Versuche einmal alle Plugins zu deaktivieren und überprüfe ob der Fehler dadurch behoben wird. Wenn ja aktiviere die Plugins wieder nacheinander um jenes Plugin zu finden, welches den Fehler verursacht.

    2) Versuche einmal folgenden Code in das Quick CSS Feld einzufügen:

    
    @media only screen and (max-width: 767px){
    .responsive #header .sub_menu, .responsive #header_meta .sub_menu>ul {
    padding: 0;
    }
    }
    

    PS: Bitte nicht mehrmals hintereinander schreiben. In unserer Warteschlange rutscht ein Post immer wieder an das Ende, wenn jmd eine Antwort schreibt.

    Cheers!
    Peter

    in reply to: Permalink error with WPML (404) #224342

    Hey!

    I fixed it with this code:

    
    add_filter('avf_portfolio_cpt_args','avia_deactivate_portfolio_slug_rewrite', 10, 1);
    function avia_deactivate_portfolio_slug_rewrite($args)
    {
      $args['rewrite'] = false;
      return $args;
    }
    

    I added it into the functions.php file. You can also add it to a plugin or child theme php file if necessary.

    It will deactivate the slug rewrite for portfolio items and then wordpress will process the page permalinks properly. It seems like your server hits a limitation if all post types (pages, portfolio items, posts and other custom post types) register their “pretty” permalink rules and it just stops to process them at a certain point. When I deactivate the pretty permalink for the portfolio post type the “pretty” permalinks at least start to work for the pages.

    Best regards,
    Peter

    in reply to: Enfold and WPML Portfolio Item Base slug translation #224341
    in reply to: HELP wpml errors, site down #224339

    Hi!

    Please create me an admin account and post the login credentials as private reply. I’ll check the configuration.

    Regards,
    Peter

    in reply to: Portfolio Tags Not Displaying #224074

    Hi!

    For now you can add the tags to the dynamic template builder template. Open up wp-content/themes/enfold/template-builder.php and replace

    
    	echo $content;
    

    with

    
    	echo $content;
    
        if(has_tag() && is_single())
        {
            echo '<span class="blog-tags minor-meta">';
            the_tags('<strong>'.__('Tags:','avia_framework').'</strong><span> ');
            echo '</span></span>';
        }
    

    Regards,
    Peter

    in reply to: Modify Masonry Gallery #224070

    Hi!

    1) Afaik it’s set to 100% by default. You can change the default opacity with this css code:

    
    .av-masonry-image-container img {
    opacity: 1;
    }
    

    2) No, not really because it depends on the screen size and the number of items. Even if you i.e. limit the number of images to 6 the number of rows may increase if there’s not enough space for 6 columns in the first row.

    Regards,
    Peter

    in reply to: HELP wpml errors, site down #224068

    Hi!

    Make sure you’re using the latest version of Enfold (2.5.2) and follow the instructions here: http://kriesi.at/documentation/enfold/translating-the-portfolio-slug-with-wpml/ – then you can be sure it’s not an incompatibility issue triggered by the theme.

    Best regards,
    Peter

    in reply to: How to edit search result page? #223906

    Hey greenmarimo!

    If you need to tweak the search template modify wp-content/themes/enfold/search.php and wp-content/themes/enfold/includes/loop-search.php. For detailed instructions contact the plugin author please because we can’t provide support for third party plugin implementations. You can use this plugin to maximize the search power of your website: SearchWP

    Refer to this link in order to integrate the plugin on ajax search: http://kriesi.at/documentation/enfold/use-searchwp-instead-of-the-standard-search/

    Best regards,
    Peter

    in reply to: Tables in Accordion Toggle #223903

    Hey!

    Great :)

    Best regards,
    Peter

    in reply to: WOO COMMERCE DEACTIVATES EASYSLIDER AND IMAGES #223902

    Hi silviouk!

    Please update Enfold to version 2.5.2. It should be compatible with WooCommerce 2.1.x

    Regards,
    Peter

    Hey dogukansara!

    We uploaded some tutorial videos here: https://vimeo.com/channels/aviathemes and an extensive documentation can be found here: http://kriesi.at/documentation/enfold/

    Regards,
    Peter

    in reply to: CSS problem after update #223898

    Hi!

    1) Please try to clear the browser cache. Maybe your browser still loads the “old” custom.css file which does not contain the immomakler.css code.

    2) If you use a child theme you can place the immomakler.css code into the style.css file of the child theme.

    3) Otherwise try to insert it into the quick css field (Enfold > Theme Options > Styling) and save the theme settings.

    Regards,
    Peter

    Hi Mkieling!

    The current website size is 2.1mb and you can try to reduce the size by removing or compressing the images. A good tool to reduce the image size is: http://www.obviousidea.com/windows-software/light-image-resizer/ which can reduce the quality of jpgs and pngs and you can also remove the exif data. You can also try to cache the database data and html code with: http://wordpress.org/plugins/w3-total-cache/

    Regards,
    Peter

    in reply to: Tables in Accordion Toggle #223890

    Hey!

    You can try to use this code instead

    
    .toggle_content {
    overflow: auto;
    }
    

    and if it doesn’t work use a media query to show the scroll bars on smaller screens only:

    
    @media only screen and (max-width: 767px){
    .toggle_content {
    overflow: scroll;
    }
    }
    

    Best regards,
    Peter

    in reply to: enfold reach the limit of server's cpu and memory usage #223885

    Hi!

    I can’t find any error or access entry which explains the resource peaks. Maybe they can provide a log which shows us which script (php file) causes the highest cpu/memory peaks.

    Best regards,
    Peter

    in reply to: Error Portfolio 3 Column Ajax, after update 2.5 #223884

    Hey 2funky!

    Yes, the container does not know the size of the content before it’s loaded and added to the DOM and thus Kriesi sets a high default height to avoid styling issues. You can try to set a mac height with this css code

    
    .portfolio_preview_container{max-height: 400px !important;}
    .portfolio_preview_container.open_container{max-height:none !important;}
    

    but I think it will break the animation effect.

    Best regards,
    Peter

Viewing 30 posts - 5,101 through 5,130 (of 9,352 total)