Forum Replies Created
-
AuthorPosts
-
Hey!
Please update the theme to Enfold 2.6.4. Afaik Kriesi fixed some ipad issues and these fixes may help you too.
Cheers!
PeterApril 17, 2014 at 7:18 am in reply to: Submenu adding dropdown/hover login/logout widget/buttons #252476Hey!
I fixed it. The code line must look like:
$items .= '<li class="menu-item custom-menu-item"><a href="'.wp_logout_url(icl_get_home_url()).'" rel="nofollow" title="Logout">Logout</a></li>';
Regards,
PeterHey roqetdw!
Open up wp-content/themes/enfold/js/shortcodes.js and replace:
//mobile device? this.isMobile = $.avia_utilities.isMobile;
with
//mobile device? this.isMobile = $.avia_utilities.isMobile; if( /iPad/i.test(navigator.userAgent) && 'ontouchstart' in document.documentElement) { this.isMobile = false; }
Note that I can’t promise you that the videos will work properly. Kriesi had good reasons why he removed the video support for mobile devices and this change will just exclude the ipad from the “mobile device” list. It will not fix any player/video related issues which might be noticeable.
Cheers!
PeterHey rickpark!
Please see – https://kriesi.at/support/topic/syntax-error-when-adding-tracking-code-to-form-submit-button/ – you can add this code to an “onclick” event which triggers when the submit button is clicked.
Cheers!
PeterHey!
Please update to the latest version. Afaik Kriesi released an update yesterday which should fix the icon font manager for all users.
Regards,
PeterHi mowseink!
Unfortunately you can’t add the revision feature to existing portfolio entries. You must create a new portfolio entry and this entry should display the revisions if you modify it 2 or 3 times.
Best regards,
PeterApril 16, 2014 at 11:35 am in reply to: Vergleichsrechner per I Frame einbinden nicht möglich? #252026Hi finon!
Du kannst probieren den Iframe Code in einen “Textblock” einzufügen. Wenn dies nicht funktioniert, empfehle ich dieses Plugin: http://wordpress.org/plugins/insert-html-snippet/ um den iframe Code als Shortcode einzufügen.
Best regards,
PeterHi!
Ok, with the next update you can use this code in your child theme functions.php file:
add_filter('avia-google-maps-api', '__return_false', 10, 2);
to deactivate the api scripts.
Cheers!
PeterHi!
I’ll ask Kriesi to add a filter to the next theme update which will allow you to deactivate the map api. At the moment you must comment it out in the parent theme files.
Regards,
PeterHey AntonNovikov!
No, this is not possible. This would require new options (for the preview images) and new js code for the background video player. You can add your request to the feature request list: https://kriesi.at/support/enfold-feature-requests/ and Kriesi will add this feature if we think it’s useful or if many other users vote for it.
Cheers!
PeterApril 16, 2014 at 9:15 am in reply to: Images in Masonry Galerie looks out of focus (on retina display) #251985Hey!
I recommend to add this code to the child theme functions.php file (at the very bottom). If you don’t use a child theme insert it at the very bottom of enfold/functions.php.
Best regards,
PeterHi Marco!
Please create me an admin account and post the login credentials as private reply – I’ll look into it.
Regards,
PeterHey!
1) If the code doesn’t work you probably need to modify the category widget code somehow. I recommend to hire a freelancer if you’re not familiar with the widget/php code. WordPress and the theme does not support the “current category highlight” feature by default and thus I consider this request as customization which is beyond the scope of our free support forum.
2) You can change the post title at the top easily. Insert this code into the enfold/functions.php file or into your child theme functions.php file:
add_filter('avf_title_args', 'single_blog_page_title', 10, 2); function single_blog_page_title($args,$id) { $pt = get_post_type( $id ); if('post' == $pt){ $cat = get_the_category($id); if(isset($category[0])) $args['title'] = $category[0]->cat_name; } return $args; }
Cheers!
PeterHi!
Maybe the server provider changed the configuration of the server somehow and the oembed protocol doesn’t work properly. The embed shortcode basically sends a request to youtube (= the server requests data from youtube) which returns the right iframe code. WordPress then replaces the youtube link and the embed shortcode with the corresponding iframe code. If the oembed request fails (i.e. because the server won’t connect to youtube) then WP can’t embed the right iframe code but it will just show the link (as fallback) instead.
Regards,
PeterHi!
I checked it on my PC and I can’t reproduce the issue: http://www.screenr.com/9UxN
Please deactivate all browser addons and make sure the the “compatibility mode” is deactivated.Best regards,
PeterHey!
Right now there’s no solution. All post queries use the same $paged variable to determine the current page. If one post slider supports multiple pages (pagination) and the other slider don’t support multiple pages wordpress will hide the other sliders. You must either remove the pagination from the slider or make sure that the other sliders also support multiple pages. Unfortunately it would require a lot of additional queries to calculate separate pagination values for different sliders/elements.
Cheers!
PeterHi MKW270210!
Tbh I never used such a menu for my projects but you can try https://wordpress.org/plugins/extended-categories-widget/ though – it sounds promising.
Best regards,
PeterHey oliviad!
Just insert this code into the child theme functions.php file:
add_filter('avf_default_icons','avia_add_custom_icon', 10, 1); function avia_add_custom_icon($icons) { $icons['apple'] = array( 'font' =>'fontello', 'icon' => 'ue803'); $icons['yelp'] = array( 'font' =>'fontello', 'icon' => 'ue800'); return $icons; } add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1); function avia_add_custom_social_icon($icons) { $icons['Apple'] = 'apple'; $icons['Yelp'] = 'yelp'; return $icons; }
Replace “apple” and “yelp” with the name of your social service(s). Then import your custom icon fonts from fontello and replace the icon code (i.e. ue803 and ue800) and the font family if necessary. If you don’t know the codes I recommend to click the “Customize Codes” tab on the fontello.com page to find them. At least go to Enfold > Theme Options and add your new social icons to the header menu.
Best regards,
PeterHi!
I’m not sure which blog type you’re using but you can use this code:
if(!function_exists('avia_change_posts_query')) { function avia_change_posts_query($query, $params) { if(!empty($query['post_type'])) { if((is_array($query['post_type']) && in_array('post', $query['post_type'])) || $query['post_type'] == 'post') { $query['order'] = 'ASC'; } } return $query; } add_filter('avia_masonry_entries_query', 'avia_change_posts_query', 10, 2); add_filter('avia_post_grid_query', 'avia_change_posts_query', 10, 2); add_filter('avia_post_slide_query', 'avia_change_posts_query', 10, 2); add_filter('avia_blog_post_query', 'avia_change_posts_query', 10, 2); }
to manipulate the query of all posts. You can replace ASC with DESC for an descending order.
Cheers!
PeterHey!
In wp-content/themes/enfold/config-woocommerce/config.php ersetzt:
function avia_shop_overview_extra_header_div() { echo "<div class='inner_product_header'><div class='avia-arrow'></div>"; }
durch:
function avia_shop_overview_extra_header_div() { echo "<div class='inner_product_header'><div class='avia-arrow'></div>"; global $product; $cats = $product->get_categories('', ', ','').' '; if(!empty($cats)) { echo '<span class="product-categories">'; echo $cats; echo '</span>'; } $tags= $product->get_tags('', ', ','').' '; if(!empty($tags)) { echo '<span class="product-tags">'; echo $tags; echo '</span>'; } }
It may require additional css styling, etc.
Best regards,
PeterApril 16, 2014 at 8:00 am in reply to: Buttons not working on Mobile devices (Theme version 2.6.2) #251966Hi!
Please try to insert this code:
.avia_mobile #top .av-parallax-section{-webkit-transform: translate3d(0,0,0);}
into the quick css field.
Cheers!
PeterApril 16, 2014 at 7:59 am in reply to: Accordion not working on mobile when using 2 x color section #251965Hey!
Ok, Kriesi recommended that this code:
.avia_mobile #top .av-parallax-section{-webkit-transform: translate3d(0,0,0);}
may fix the issue.
Cheers!
PeterHi!
I reported the issue to Kriesi. Please do not remove the account because Kriesi will probably need it to debug the code. I couldn’t reproduce the issue on my test servers and I think it might be a problem with the server or wordpress configuration.
Best regards,
PeterHey!
Yes, the responsive data table will hide some fields. If you don’t want to hide the field select the “Make entire table scrollable” option
http://www.clipular.com/c/5465773342457856.png?k=MtBtalxhK32ga-yv_mj2ZNVsHdABest regards,
PeterHi!
Yes, use Ismaels code but replace:
if ( is_user_logged_in() ) { $logo = "<$headline_type class='logo bg-logo'><a href='".$link."'>".$loggedinlogo."$sub</a></$headline_type>"; } else { $logo = "<$headline_type class='logo bg-logo'><a href='".$link."'>".$loggedoutlogo."$sub</a></$headline_type>"; }
with
if ( is_user_logged_in() || is_page(array(20)) ) { $logo = "<$headline_type class='logo bg-logo'><a href='".get_home_url()."'>".$loggedinlogo."$sub</a></$headline_type>"; } else { $logo = "<$headline_type class='logo bg-logo'><a href='".get_home_url()."'>".$loggedoutlogo."$sub</a></$headline_type>"; }
instead of 20 insert the id of the page where you want to show the “logged in” logo. You can even insert several ids – just separate the with commas like 20,30,70.
Regards,
PeterHi!
You can find the file in the enfold/css folder (It’s called base.css). However I recommend to overwrite the default width with:
#top .frm_forms .input-text, #top .frm_forms input[type="text"], #top .frm_forms input[type="input"], #top .frm_forms input[type="password"], #top .frm_forms input[type="email"], #top .frm_forms input[type="number"], #top .frm_forms input[type="url"], #top .frm_forms input[type="tel"], #top .frm_forms input[type="search"], #top .frm_forms textarea, #top .frm_forms select { width: auto; }
– you can place this code into the quick css field
Best regards,
PeterApril 15, 2014 at 8:59 am in reply to: Submenu adding dropdown/hover login/logout widget/buttons #251492Hi!
Try to replace this line:
$items .= '<li class="menu-item custom-menu-item"><a href="<?php echo wp_logout_url( home_url() ); ?>" rel="nofollow" title="Logout">Logout</a></li>';
with:
$items .= '<li class="menu-item custom-menu-item"><a href="'.wp_logout_url(icl_get_home_url()).'" rel="nofollow" title="Logout">Logout</a></li>';
For more information refer to: https://wpml.org/de/documentation-3/support-2/mehrsprachige-wordpress-themen-erstellen/link-zur-startseite/
Cheers!
PeterHi!
I marked this thread for Kriesi.
Best regards,
PeterHey!
I temporarily fixed it by replacing this code in enfold/config-templatebuilder/avia-shortcodes/productslider.php:
$ordering_args = $woocommerce->query->get_catalog_ordering_args( $orderBY, $order );
with
$ordering_args = $woocommerce->query->get_catalog_ordering_args( $orderBY, $order ); if($orderBY == 'popularity' || $orderBY == 'rating') { remove_filter( 'posts_clauses', array( WC()->query, 'order_by_popularity_post_clauses' ) ); remove_filter( 'posts_clauses', array( WC()->query, 'order_by_rating_post_clauses' ) ); }
I’ll ask Kriesi to fix the issue with the next update.
Cheers!
PeterHey Romano_Soprano!
The social icons seem to work for me now: http://www.clipular.com/c/5525834165125120.png?k=xLlbTzeOempAJLz-yPam99Hd4hM – did you solve the issue?
Regards,
Peter -
AuthorPosts