Forum Replies Created
-
AuthorPosts
-
Hi!
The recent code we posted is different from the previous one. Please check. You don’t need to add the order and orderby option. We already fixed that by adding this code:
add_filter( 'avia_post_grid_query', 'custom_post_grid_query', 10, 2); function custom_post_grid_query( $query, $params ) { $query['orderby'] = 'title'; $query['order'] = 'ASC'; return $query; }
Now, if you want to reverse the post nav, use this one:
add_filter('avia_post_nav_entries', 'avia_apply_custom_sort_order_to_post_nav', 10, 2); function avia_apply_custom_sort_order_to_post_nav($entries, $settings) { $temp_prev = $entries['next']; $temp_next = $entries['prev']; $entries['prev'] = $entries['next'] = ""; if(!empty($temp_prev)) $entries['next'] = $temp_prev; if(!empty($temp_next)) $entries['prev'] = $temp_next; return $entries; }
If you’re referring to a different navigation other than avia_post_nav function, please provide a screenshot.
Cheers!
IsmaelFebruary 24, 2015 at 1:19 pm in reply to: Please move Google Analytics code from HEAD to BODY of html #401375Hi!
Add this to the functions.php:
add_action('after_theme_setup', 'avf_tracking_code'); function avf_tracking_code() { remove_action('wp_head', 'avia_print_tracking_code', 100000); remove_action('wp_footer', 'avia_print_tracking_code', 100000); add_action('ava_after_main_container', 'avia_print_tracking_code', 10); }
Cheers!
IsmaelFebruary 24, 2015 at 1:07 pm in reply to: Second Sidebar Pages Question – moving code to child theme #401364Hey!
If I am not mistaken, you can just add it directly to the child theme’s functions.php:
register_sidebar(array( 'name' => 'Sidebar Blog 2', 'before_widget' => '<section id="%1$s" class="widget clearfix %2$s">', 'after_widget' => '<span class="seperator extralight-border"></span></section>', 'before_title' => '<h3 class="widgettitle">', 'after_title' => '</h3>', ));
Best regards,
IsmaelHey marketug!
Thank you for using Enfold.
Please refer to this link: http://kriesi.at/documentation/enfold/use-searchwp-instead-of-the-standard-search/
Best regards,
IsmaelHey!
Those preview images will only show when you set the portfolio grid to AJAX. We created an example for you here: http://mazza.staging.wpengine.com/ajax-page/ (hosted on WPengine)
We set the Link Handling option to AJAX.
Best regards,
IsmaelHi!
Please post the code that you added to the functions.php file on pastebin.com. We would like to check it. If you want to add another widget, replace the code with this:
add_action( 'ava_main_header', 'enfold_customization_header_widget_area' ); function enfold_customization_header_widget_area() { echo dynamic_sidebar( 'header' ); echo dynamic_sidebar( 'header-2' ); }
Cheers!
IsmaelHi!
Did you use the Advance Layout Builder for your portfolio items? Please provide a link to actual portfolio item.
Best regards,
IsmaelHi!
By padding, you mean the black transparent box behind the captions? Try this:
.caption_framed .slideshow_caption .avia-caption-content p, .caption_framed .slideshow_caption .avia-caption-title, .avia-caption .avia-caption-content p, .avia-caption .avia-caption-title { padding: 5px 7px; }
Regards,
IsmaelHi!
What do you mean by “mobile tabs”? Are you referring to the mobile menu? If not, please provide a screenshot.
Regards,
IsmaelHi!
You can add the css codes on Enfold > General Styling > Quick CSS field. Use this:
.cart_dropdown { display: none !important; }
Best regards,
IsmaelFebruary 24, 2015 at 12:14 pm in reply to: Adding content (image box/text) over the top of two colour sections #401328Hey!
Place the iconboxes inside a color section. Apply a unique id attribute, use “custom-section” for example. Set a negative top margin:
#custom-section { margin-top: -400px; }
Cheers!
IsmaelHi!
The only explanation is that the slider height calculation script (avia_browser_height) isn’t working correctly due to the header position on mobile device. We already reported the issue to Kriesi. You can edit shortcodes.js, find this code:
css += ".avia-builder-el-0.av-minimum-height-100 .container, .avia-builder-el-0.avia-fullscreen-slider .avia-slideshow{height:"+wh100_mod+"px;}\n";
Cheers!
IsmaelHey endoradigital!
Thank you for using Enfold.
Copy the gravity form shortcode then place it on a text widget.
Cheers!
IsmaelHi!
Why don’t you just add the content inside the first two 1/3 column layouts instead of adding another 1/3 layouts below?
Regards,
IsmaelHi!
I tried to access the site but the login credentials are incorrect. Please check. Add this to the functions.php file to disable the breadcrumb trail which shows the previous page before you get to the portfolio page. It will enable or show the actual portfolio categories:
add_action('after_setup_theme','avia_remove_portfolio_breadcrumb'); function avia_remove_portfolio_breadcrumb() { remove_filter('avia_breadcrumbs_trail','avia_modify_breadcrumb'); }
Regards,
IsmaelHi!
I checked the site on an iPod and it looks fine. Please remove browser cache then reload the page.
Regards,
IsmaelHey!
I can’t see the code on functions.php. Please remove the modifications from the previous thread then add the code above. It will break the theme when you add these mods simultaneously.
Best regards,
IsmaelHi!
We would like to check the page but it requires us to login. Please post the login details here so that we can check it. For for more info, please contact the plugin author.
Regards,
IsmaelHey!
Maybe, we will understand the issue better if you give us links to the woocommerce pages that are not working.
Cheers!
IsmaelHi!
That is the default behavior of the anchor links. Did you follow the instructions provided here (http://kriesi.at/documentation/enfold/add-anchors-to-your-page-for-single-page-navigation/)? Please post the login details here. We would like to check it.
Best regards,
IsmaelFebruary 24, 2015 at 10:21 am in reply to: Navigation arrows not working on portfolio neither with function added. #401252February 24, 2015 at 10:19 am in reply to: Enfold prevents WebGL to draw objects with right canvas resolution #401250Hey!
I’m sorry but you’ll have to report this problem to the plugin author. Anyway, if you can provide us with a temporary login details, we would like to check it. Maybe, we can find a way to delay the appearance of the 3d object while the page is loading.
Cheers!
IsmaelHi!
Please undo the modifications, just add this to the Quick CSS field:
span.trail-before { display: none !important; }
Cheers!
IsmaelHey!
Glad you figured that out If you want to reverse the post navigation order, add this to the functions.php file:
add_filter('avia_post_nav_entries', 'avia_apply_custom_sort_order_to_post_nav', 10, 2); function avia_apply_custom_sort_order_to_post_nav($entries, $settings) { $temp_prev = $entries['next']; $temp_next = $entries['prev']; $entries['prev'] = $entries['next'] = ""; if(!empty($temp_prev)) $entries['next'] = $temp_prev; if(!empty($temp_next)) $entries['prev'] = $temp_next; return $entries; }
Best regards,
IsmaelHey blonddragon!
Thank you for using Enfold.
Set the Menu and Logo position to Logo left, menu right then add this to the Quick CSS field:
.main_menu, div .logo { position: relative; float: left; }
Best regards,
IsmaelHi!
The demo is still using the BWP plugin so I don’t think you will have any issue with WP 4.1.1. If something is broken after you activate the plugin, add this to the functions.php:
add_filter('bwp_minify_style_ignore', 'exclude_my_css'); function exclude_my_css($excluded) { $excluded = array('avia-custom', 'avia-layout'); return $excluded; }
Regards,
IsmaelFebruary 23, 2015 at 12:21 pm in reply to: Portfolio Pseudo Title .av-masonry-entry:before – center vertical #400568Hi!
Use this:
.av-inner-masonry-content-pos { top: 50%; -webkit-transform: translate(0,-50%); -moz-transform: translate(0,-50%); -ms-transform: translate(0,-50%); transform: translate(0,-50%); position: absolute; }
Best regards,
IsmaelHey Josan1965!
Thank you for using Enfold.
Yes, it is possible. Create a layer slider then enable the Hide on mobile option inside the Slider Settings > Other Settings panel.
Best regards,
IsmaelHey!
We removed the order option then replace it with this:
add_filter( 'avia_post_grid_query', 'custom_post_grid_query', 10, 2); function custom_post_grid_query( $query, $params ) { $query['orderby'] = 'title'; $query['order'] = 'DESC'; return $query; }
The portfolio is now sort by title in descending order.
Regards,
IsmaelFebruary 23, 2015 at 11:16 am in reply to: Using database to modify sidebar on multiple pages #400517Hi!
If you’re reading this, please don’t follow my last instruction. It is incorrect. Use this instead: http://pastebin.com/Y3tzv8Cm
This will change the custom widget area to “DAMN” for pages with id 12 and 17. Again, we don’t recommend this if you’re not familiar with database. Create a backup of the database first before doing anything.
Regards,
Ismael -
AuthorPosts