Forum Replies Created
-
AuthorPosts
-
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,
PeterHey!
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!
PeterHey!
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!
PeterFebruary 17, 2014 at 8:56 am in reply to: After updating, images in columns are no longer responsive? #224819Hi!
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!
PeterHi!
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,
PeterHey!
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!
PeterFebruary 16, 2014 at 9:30 am in reply to: Portfolio grid thumbnails not showing after update to WP 3.8.1 + Enfold 2.5 #224496Hey!
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!
PeterHi!
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,
PeterHi 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!
PeterHey Munford!
Please see: https://kriesi.at/support/topic/enfold-latest-portfolio-wpml/
Regards,
PeterHey 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,
PeterHi!
The blog page works now. I just deselected the “Posts page:” on the Settings > Reading option page.
Regards,
PeterHi 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,
PeterHi!
We’ll continue here: https://kriesi.at/support/topic/icon-box-styling/#post-223949
Best regards,
PeterFebruary 15, 2014 at 4:22 pm in reply to: Mobile Menu not showing – conflict with contact form #224346Hi!
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!
PeterHey!
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,
PeterFebruary 15, 2014 at 3:58 pm in reply to: Enfold and WPML Portfolio Item Base slug translation #224341Hey FLORENCE2014!
Please see: http://kriesi.at/documentation/enfold/translating-the-portfolio-slug-with-wpml/
Best regards,
PeterHi!
Please create me an admin account and post the login credentials as private reply. I’ll check the configuration.
Regards,
PeterHi!
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,
PeterHi!
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,
PeterHi!
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,
PeterHey 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,
PeterHey!
Great :)
Best regards,
PeterHi silviouk!
Please update Enfold to version 2.5.2. It should be compatible with WooCommerce 2.1.x
Regards,
PeterFebruary 14, 2014 at 12:14 pm in reply to: Is there any complete tutorial about how to use Enfold WordPress Theme properly? #223901Hey 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,
PeterHi!
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,
PeterFebruary 14, 2014 at 12:01 pm in reply to: Website is very slow to load with this theme. How can this be fixed? #223894Hi 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,
PeterHey!
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,
PeterFebruary 14, 2014 at 11:46 am in reply to: enfold reach the limit of server's cpu and memory usage #223885Hi!
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,
PeterHey 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 -
AuthorPosts