Forum Replies Created
-
AuthorPosts
-
Hi!
I reported the issue to Kriesi. I think it might be an incompatibility issue between LayerSlider 4 and WP3.8 and I asked Kriesi to release a theme update (Enfold 2.6) with LayerSlider 5.0.2 asap. I expect the update early next week.
Cheers!
PeterHey!
I tagged this thread for Devin and Kriesi (they can test it with an IPad).
Regards,
PeterFebruary 28, 2014 at 10:38 am in reply to: Menu links colors are different between langages ? #230522Hey!
Try this code:
.home .header_color .main_menu ul:first-child > #menu-item-504 a {color: #111211 !important;}
Regards,
PeterFebruary 28, 2014 at 10:02 am in reply to: Portfolio grid lost categories after wpml duplication & additional scrolling bar #230518Hey!
You can duplicate the post but you need to reconfigure the portfolio grid. The portfolio shortcode uses the category ids (portfolio categories) to generate the grid and the category ids of the translated categories are different from the “original” category ids. I recommend to duplicate the post, then click the “Translate independently” button and then re-configure the portfolio element and select the translated categories.
Cheers!
PeterHey!
It works now. I just had to select the news and “transparent-en” category for the blog elements.
Regards,
PeterFebruary 27, 2014 at 10:32 am in reply to: code for bringing 'grouped products' back to woocommerce 2.0 format #230003Hey!
Thank you for the hint :)
Regards,
PeterHi sebwelch!
Did you try the official plugin: http://www.woothemes.com/products/ajax-layered-navigation/ – I didn’t notice any issues with it yet and if it doesn’t work on your website WooThemes will issue you a refund.
Best regards,
PeterHi!
Please try to install this plugin instead: http://wordpress.org/plugins/wordpress-https/ – it’s more complex than Ismaels solution but should update all urls.
Best regards,
PeterHey!
Unfortunately it’s a WPML bug and the plugin devs are apparently not going to fix it – see http://wpml.org/forums/topic/wpml-and-ajax-calls/. We now created a workaround which is not very user friendly but the only solution we can provide from our end and we added a filter which helps the user to translate the text. Copy the code I posted here: https://gist.github.com/InoPlugs/f6e551f9aaf5ff33a9c6 to your functions.php file and replace the language shortcodes (i.e. en or fr, etc.) with your language shortcodes. Then translate the text strings (“Sorry, no posts matched your criteria”, “Please try another search term”, etc.) for each language and save the functions.php file.
Cheers!
PeterHey ftt123!
Yes, by default our theme will display flags instead of the text but you can change the design easily. Insert this code into the custom css field:
.avia_wpml_language_switch li .language_translated { display: block; } .avia_wpml_language_switch li .language_flag { display: none; }
to hide the flag and to display the text instead.
Cheers!
PeterHey!
You can replace the icon with this code:
add_filter('avf_default_icons','avia_replace_close_icon', 10, 2); function avia_replace_close_icon($icons) { $icons['mobile_menu'] = array( 'font' =>'entypo-fontello', 'icon' => 'ue8a5'); return $icons; }
Insert it at the bottom of functions.php and replace the “icon” value (ue8a5) with your custom char code.
Cheers!
PeterHey!
Please check the theme options. Go to Enfold > Theme Options > General Settings and select the “Responsive Layout Large (Max width: 1210px)” layout if you want to increase the page width.
Cheers!
PeterHey Josh3Roush!
Kriesi sets the fullwidth image size to 1500 x 430px by default and this size is also used for the images on the demo page. You can change the dimensions in functions.php though – search for:
$avia_config['imgSize']['featured'] = array('width'=>1500, 'height'=>430 ); // images for fullsize pages and fullsize slider
and replace 1500 and 430 with your custom values if necessary.
Cheers!
PeterHey!
I could find the bug. We’ll fix it with the next update. For now open up wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/generic-helper.class.php and replace:
$link = explode(',', $link);
with
if(!is_array($link) && is_numeric($link)) { $permalink = get_permalink($link); if($permalink) return $permalink; } $link = explode(',', $link);
Best regards,
PeterHey!
Maybe you can create us an admin account and post the login credentials as private reply. I don’t understand the issue tbh and I hope we can see it if we check the website/configuration first hand.
Cheers!
PeterHey!
You can try to implement the “let the ajax portfolio display below below all the portfolio posts?” option. I’m not sure if it works out but you can try it. Note that I can’t provide additional support in case it doesn’t work – in this case please hire a freelancer to modify the portfolio element for you. Open up wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/portfolio.php and delete:
if($linking == "ajax") { global $avia_config; $output .= "<div class='portfolio_preview_container' data-portfolio-id='{$container_id}'> <div class='ajax_controlls iconfont'> <a href='#prev' class='ajax_previous' ".av_icon_string('prev')."></a> <a href='#next' class='ajax_next' ".av_icon_string('next')."></a> <a class='avia_close' href='#close' ".av_icon_string('close')."></a> </div> <div class='portfolio-details-inner'></div> </div>"; }
Then replace:
$output .= "</div>"; //append pagination
with
$output .= "</div>"; if($linking == "ajax") { global $avia_config; $output .= "<div class='portfolio_preview_container' data-portfolio-id='{$container_id}'> <div class='ajax_controlls iconfont'> <a href='#prev' class='ajax_previous' ".av_icon_string('prev')."></a> <a href='#next' class='ajax_next' ".av_icon_string('next')."></a> <a class='avia_close' href='#close' ".av_icon_string('close')."></a> </div> <div class='portfolio-details-inner'></div> </div>"; } //append pagination
Cheers!
PeterHey!
It seems like the font file doesn’t load properly. I guess the mime type of the file is not correct and thus firefox doesn’t load the woff/ttf file as font but as data file. Try to add this code to the htaccess and cear the browser cache:
<IfModule mod_mime.c> # Audio AddType audio/mp4 m4a f4a f4b AddType audio/ogg oga ogg opus # Video AddType video/mp4 f4v f4p m4v mp4 AddType video/ogg ogv AddType video/webm webm AddType video/x-flv flv # Web fonts AddType application/font-woff woff AddType application/vnd.ms-fontobject eot # Browsers usually ignore the font MIME types and simply sniff the bytes # to figure out the font type. # http://mimesniff.spec.whatwg.org/#matching-a-font-type-pattern # Chrome however, shows a warning if any other MIME types are used for # the following fonts. AddType application/x-font-ttf ttc ttf AddType font/opentype otf # Make SVGZ fonts work on the iPad. # https://twitter.com/FontSquirrel/status/14855840545 AddType image/svg+xml svgz AddEncoding gzip svgz </IfModule>
The code is taken from: https://github.com/h5bp/html5-boilerplate/blob/master/.htaccess
You can also try to re-install the latest version of the theme – then you can be sure that the font files are not corrupt/broken. Use ftp: https://vimeo.com/channels/aviathemes/67209750 to update the files.Regards,
PeterHey!
It seems like the font file doesn’t load properly. I guess the mime type of the file is not correct and thus firefox doesn’t load the woff/ttf file as font but as data file. Try to add this code to the htaccess and cear the browser cache:
<IfModule mod_mime.c> # Audio AddType audio/mp4 m4a f4a f4b AddType audio/ogg oga ogg opus # Video AddType video/mp4 f4v f4p m4v mp4 AddType video/ogg ogv AddType video/webm webm AddType video/x-flv flv # Web fonts AddType application/font-woff woff AddType application/vnd.ms-fontobject eot # Browsers usually ignore the font MIME types and simply sniff the bytes # to figure out the font type. # http://mimesniff.spec.whatwg.org/#matching-a-font-type-pattern # Chrome however, shows a warning if any other MIME types are used for # the following fonts. AddType application/x-font-ttf ttc ttf AddType font/opentype otf # Make SVGZ fonts work on the iPad. # https://twitter.com/FontSquirrel/status/14855840545 AddType image/svg+xml svgz AddEncoding gzip svgz </IfModule>
The code is taken from: https://github.com/h5bp/html5-boilerplate/blob/master/.htaccess
You can also try to re-install the latest version of the theme – then you can be sure that the font files are not corrupt/broken. Use ftp: https://vimeo.com/channels/aviathemes/67209750 to update the files.Regards,
PeterHi!
You can add the code tp the parent theme functions.php (enfold/functions.php) or to the child theme functions.php. You must change the ratio directly in the code. If many users request a ratio option will add a new option field to the color section.
Regards,
PeterHi!
Do you use a function which hooks into the avia_masonry_entries_query filter? Maybe a function which changes the sort order? If yes please post it here and I’ll make sure that the “load more” button . Basically you just need to add this line:
if(!empty($params['link'])) return $query;
Best regards,
PeterFebruary 27, 2014 at 8:30 am in reply to: Search Results Not Matching "Instant Search" Results After Installing Relevanssi #229954Hi!
You can try this code instead:
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) { $tempquery = new WP_Query(); $tempquery->query_vars = $search_parameters; relevanssi_do_query($tempquery); $posts = $tempquery->posts; return $posts; }
It will make sure that a new query object will be used and the main query won’t affect the search query. If it doesn’t work please contact the plugin author for help because maybe it’s a limitation of the relevanssi_do_query() function and you can’t use it to exclude pages from the search query: http://www.relevanssi.com/knowledge-base/relevanssi_do_query/ . In this case some custom development might be required.
Best regards,
PeterFebruary 27, 2014 at 8:17 am in reply to: Check out WooCo does'nt stop running after pushing check out place order button #229952Hi Fred1969!
Please try to increase the allocated php memory to 128M: http://www.wpbeginner.com/wp-tutorials/fix-wordpress-memory-exhausted-error-increase-php-memory/ – currently it’s set to 64M and maybe the checkout process requires more memory in combination with Enfold and the ajax call on the checkout page then fails.
Best regards,
PeterHi!
Please install the latest version of the theme (2.5.4) and check if it fixes the issue.
Cheers!
PeterFebruary 26, 2014 at 4:35 pm in reply to: Gravity Forms Layout in Responsive Theme Looks Awful #229619Hey Kim!
Unfortunately LayerSlider can’t re-size shortcodes (i.e. button shortcodes or in your case the form) properly. Please remove the form from the slider and add into the page content and it should re-size properly. We’ll release an update for Enfold which includes LayersSlider 5 soon – maybe the new slider version will fix the issue but I’m not sure.
Cheers!
PeterHi!
Please ask the WPML support team for help in this case because I’m not sure how WPML manipulates the wp_list_pages() function. This seems to be a WPML bug and our theme just triggers it because it uses the wp_list_pages() to generate the fallback menu. As a temporary fix you can set a custom menu.
Regards,
PeterHey!
Ok, then delete the line and open up wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/portfolio.php and delete
if(!is_admin() && !session_id()) session_start();
Regards,
PeterHey!
Glad you found a solution :)
Best regards,
PeterHi!
3) Füge diesen Code am Ende der functions.php ein:
add_filter('avf_title_args', 'remove_avia_breadcrumb', 10, 2); function remove_avia_breadcrumb($args,$id) { $args['breadcrumb'] = false; return $args; }
4) Sie http://docs.woothemes.com/document/editing-product-data-tabs/ – den Code kannst du ebenfalls in die functions.php geben.
Best regards,
PeterHi!
You can’t set the number of products per row. You can only set the total number of products per page and depending on the screen size the masonry script will build a grid with X columns and then it will fill these columns with products. Depending on the total number of products and the number of columns a row may contain more or less product items.
Best regards,
PeterHi tassavor!
No, I couldn’t reproduce this issue on my test servers. Please try to deactivate all third party plugins and check if it makes any difference. If yes a plugin hooks into the image query and breaks the order. If not please create us an admin account and post the login credentials as private reply. Make sure that the latest version of Enfold (2.5.4) is installed.
Best regards,
Peter -
AuthorPosts