-
Search Results
-
Hi there,
i tried the wonderful theme and want to copy to the new official site.
but today when i start the job, i cannot find the enfold theme. only show a theme.i searched in google. it is said need delete scandir function in php.ini
but i find my php.ini has no scandir functionhope you can help
Wang
Hello Enfold Team,
I am using the Partner/Logo Element and would like to maintain the scrolling effect I have on desktop on mobile. Ideally, I would only show two logos at a time on mobile (five on desktop), but they should scroll through the 12 or so that I am going to load. I have searched through previous threads but couldn’t find anything on this.
Can you please point me in the right direction?
Thank you
-James
***note: the codes below are displaying weird, so the tool I used to identify these issues is https://www.seoptimer.com/gatehealing.com#uimobile . . . go down to Usability issues and expand those sections to see the tables that outline these issues***
regarding: https://gatehealing.com/I have 2 types of usability issues:
1) 3 Font Usability issues, and
2) 5 Tap Target SizesI cannot find the css file in the Theme editor to fix these issues:
1) Summary: Legible Font Sizes (THREE issues)
There is some text on your page that is small and may not be legible enough for particular users.
We recommend reviewing all text on your page in different devices to ensure that it is of appropriate size.1) Font Size
11pxText Block
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, videoStyle Location
https://gatehealing.com/wp-content/themes/enfold/css/base.css?ver=5.6.6
———————————————–
2) Font Size
11pxText Block
.pagination span, .pagination aStyle Location
https://gatehealing.com/wp-content/themes/enfold/css/layout.css?ver=5.6.6
———————————————–
3) Font Size
11pxText Block
.pagination .currentStyle Location
https://gatehealing.com/wp-content/themes/enfold/css/layout.css?ver=5.6.6
-_—_____—–_______—–______—–_______—–______—–______
2) Summary: Tap Target Sizing (FIVE issues)
Some of the links or buttons on your page may be too small for a user to easily tap on a touchscreen.
Consider making these tap targets larger to provide a better user experience.1) Element Label
SearchCSS Selector
nav.main_menu > div.avia-menu > ul#avia-menu > li#menu-item-searchHTML Block
<li id=”menu-item-search” class=”noMobile menu-item menu-item-search-dropdown menu-item-avia-special” role=”menuitem”>
———————————————–
2) Element Label
EVERYDAY LIFECSS Selector
div.slide-content > header.entry-content-header > span.blog-categories > aHTML Block
———————————————–
3) Element Label
FAMILY AND PARENTINGCSS Selector
div.slide-content > header.entry-content-header > span.blog-categories > aHTML Block
———————————————–
4) Element Label
EVERYDAY LIFECSS Selector
div.slide-content > header.entry-content-header > span.blog-categories > aHTML Block
———————————————–
5) Element Label
FAMILY AND PARENTINGCSS Selector
div.slide-content > header.entry-content-header > span.blog-categories > aHTML Block
—–_____——______—–_____——_____——_____—–______—–_____Hello. Can you please give me the steps and code (PHP, CSS) to achieve this in the most current iteration of Enfold? I would like to put it next to SHOP & ORDER NOW to it’s left. Thanks!
I don’t think this is just a problem with Enfold but maybe you can help me fix it.
Sometime in the past few months or year (?) neither of the browsers (Firefox, Safari) on my iphone 6 will open hamburger menus on seemingly any site including the new Enfold site I just made. I thought maybe it’s because the iOS is so old (iphone 6 can only go up to version 12.5.7). But in searching on this problem it turns out a zillion people are having this problem on very new iphones with much later iOS..
On my new Enfold site, when I touch the hamburger menu the screen in that corner blinks but the menu doesn’t open.
jeffersonbaroque.org
I noticed that after I touch the hamburger, the address line changes from the address above to
jeffersonbaroque.org/# as if the code is directing the browser to an anchor on the same page. But my menu items are separate pages from the home page.
On other sites where the hamburger menu also doesn’t work (most of them), the # doesn’t appear in the address after touching the menu.
I did a soft reset of the phone and I cleared the cache in both browsers. Nothing changed.
In trying to find help by searching the web, I turned up this:
https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/HandlingEvents/HandlingEvents.html
and this:
https://stackoverflow.com/questions/54236221/responsive-hamburger-menu-not-working-on-mobile-safari/54290816#54290816
but I am not a programmer so it all means nothing to me.
Has anyone else had this problem?I’ve created a new site based on the Hotel template. The link is for the test or dev site, which is what I’m experimenting on.
Because of the ‘normal’ main menu length, I need to increase the width at which the burger menu and responsive mode kicks in. I’ve done this on other Enfold sites but my code from those sites is not working on this new site, I guess because Hotel’s header is different.
If you look at the site you can see that I’m nearly there… but I just can’t figure out the right CSS needed to get the transition at 1150px to seamlessly match up with the template’s 990px switch point, i.e. for 1150px to 990px to look exactly like 990px and below. The Header Custom Height is 250px.
I think I need to include this to shrink the header
.responsive.html_mobile_menu_tablet #top #wrap_all .av-logo-container { height: 90px; line-height: 90px;}but then I can’t get the burger menu and search icon to move up into the header, nor increase the size of the icon to match 990px.
Can you help please? Here’s the code, based on previous efforts:
@media only screen and (max-width: 1150px) and (min-width: 990px) { .html_header_top.html_bottom_nav_header #header_main_alternate { display: none;} .responsive #top #wrap_all .av_mobile_menu_tablet .main_menu { top: 0; left: auto; right: 0; display: block;} #menu-item-search { display: block!important; } .responsive.html_mobile_menu_tablet .av-burger-menu-main { display: block!important; }}I have seen an article or two that show up in searches on adding tiktok to the social profiles in enfold but they don’t work and use tumblr as the logo instead of tiktok.
Can you help direct me to an article that works or send me instructions please??
Thank you,
ChrisTopic: Search by authors
Hi, do you know if there is a way to include author names in the enfold search result?
Thank you very much
I am trying to exclude posts (woocommerce products) which have a specific category (id=340) from the ‘avia_ajax_search’ popup.
have copied the function if(!function_exists(‘avia_ajax_search’))from /enfold/functions-enfold.php to /enfold-child/functions.php
Is this correct, or do i need a seperate /enfold-child/functions-enfold.phpif(!function_exists('avia_ajax_search')) { //now hook into wordpress ajax function to catch any ajax requests add_action( 'wp_ajax_avia_ajax_search', 'avia_ajax_search' ); add_action( 'wp_ajax_nopriv_avia_ajax_search', 'avia_ajax_search' ); function avia_ajax_search() { global $avia_config; $exclude_category_id = 340; // Replace with the actual category ID unset($_REQUEST['action']); if(empty($_REQUEST['s'])) $_REQUEST['s'] = array_shift(array_values($_REQUEST)); if(empty($_REQUEST['s'])) die(); $defaults = array('numberposts' => 5, 'post_type' => 'any', 'post_status' => 'publish', 'post_password' => '', 'suppress_filters' => false, 'results_hide_fields' => ''); $_REQUEST['s'] = apply_filters( 'get_search_query', $_REQUEST['s']); $search_parameters = array_merge($defaults, $_REQUEST); if ( $search_parameters['results_hide_fields'] !== '' ) { $search_parameters['results_hide_fields'] = explode(',', $_REQUEST['results_hide_fields']); } else { $search_parameters['results_hide_fields'] = array(); } $search_query = apply_filters('avf_ajax_search_query', http_build_query($search_parameters)); $query_function = apply_filters('avf_ajax_search_function', 'get_posts', $search_query, $search_parameters, $defaults); $posts = (($query_function == 'get_posts') || !function_exists($query_function)) ? get_posts($search_query) : $query_function($search_query, $search_parameters, $defaults); $search_messages = array( 'no_criteria_matched' => __("Sorry, no posts matched your criteria", 'avia_framework'), 'another_search_term' => __("Please try another search term", 'avia_framework'), 'time_format' => get_option('date_format'), 'all_results_query' => http_build_query($_REQUEST), 'all_results_link' => home_url('?' . http_build_query($_REQUEST)), 'view_all_results' => __('View all results','avia_framework') ); $search_messages = apply_filters('avf_ajax_search_messages', $search_messages, $search_query); if(empty($posts)) { $output = "<span class='av_ajax_search_entry ajax_not_found'>"; $output .= "<span class='av_ajax_search_image ".av_icon_string('info')."'>"; $output .= "</span>"; $output .= "<span class='av_ajax_search_content'>"; $output .= " <span class='av_ajax_search_title'>"; $output .= $search_messages['no_criteria_matched']; $output .= " </span>"; $output .= " <span class='ajax_search_excerpt'>"; $output .= $search_messages['another_search_term']; $output .= " </span>"; $output .= "</span>"; $output .= "</span>"; echo $output; die(); } //if we got posts resort them by post type $output = ""; $sorted = array(); $post_type_obj = array(); foreach($posts as $post) { $sorted[$post->post_type][] = $post; if(empty($post_type_obj[$post->post_type])) { $post_type_obj[$post->post_type] = get_post_type_object($post->post_type); } } //now we got everything we need to preapre the output foreach($sorted as $key => $post_type) { // check if post titles are in the hidden fields list if ( ! in_array('post_titles', $search_parameters['results_hide_fields'] ) ) { if(isset($post_type_obj[$key]->labels->name)) { $label = apply_filters('avf_ajax_search_label_names', $post_type_obj[$key]->labels->name); $output .= "<h4>".$label."</h4>"; } else { $output .= "<hr />"; } } foreach($post_type as $post) { $image = ""; $extra_class = ""; // Get the categories for the post $post_categories = wp_get_post_categories($post->ID); // Check if the excluded category is in the post categories if (!in_array($exclude_category_id, $post_categories)) { // check if image is in the hidden fields list if (!in_array('image', $search_parameters['results_hide_fields'])) { $image = get_the_post_thumbnail($post->ID, 'thumbnail'); $extra_class = $image ? "with_image" : ""; $post_type = $image ? "" : get_post_format($post->ID) != "" ? get_post_format($post->ID) : "standard"; $iconfont = $image ? "" : av_icon_string($post_type); } $excerpt = ""; // check if post meta fields are in the hidden fields list if ( ! in_array('meta', $search_parameters['results_hide_fields'] ) ) { if(!empty($post->post_excerpt)) { $excerpt = apply_filters( 'avf_ajax_search_excerpt', avia_backend_truncate($post->post_excerpt,70," ","...", true, '', true) ); } else { $excerpt = apply_filters( 'avf_ajax_search_no_excerpt', get_the_time( $search_messages['time_format'], $post->ID ), $post ); } } $link = apply_filters('av_custom_url', get_permalink($post->ID), $post); $output .= "<a class ='av_ajax_search_entry {$extra_class}' href='".$link."'>"; if ($image !== "" || $iconfont) { $output .= "<span class='av_ajax_search_image' {$iconfont}>"; $output .= $image; $output .= "</span>"; } $output .= "<span class='av_ajax_search_content'>"; $output .= " <span class='av_ajax_search_title'>"; $output .= get_the_title($post->ID); $output .= " </span>"; if ($excerpt !== '') { $output .= " <span class='ajax_search_excerpt'>"; $output .= $excerpt; $output .= " </span>"; } } $output .= "</span>"; $output .= "</a>"; } } $output .= "<a class='av_ajax_search_entry av_ajax_search_entry_view_all' href='".$search_messages['all_results_link']."'>".$search_messages['view_all_results']."</a>"; echo $output; die(); } }












