-
Search Results
-
Hello Support,
after the change from yoast seo to seo press I noticed that some of my pages have two different meta robots entries. The first entry comes from Enfold and the second from seo press. Whether the same was already the case with Yoast Seo, I can not determine. Unfortunately I did not find a suitable solution via the search function.
I would be very grateful for a solution to my problem.Best regards
MarkusHi,
Just a quick question. I am about to make a site – an archive with a large amount of documents and an opportunity for detailed search. I was wondering if Enfold is suitable for this type of site? What additional plugin would you recommend for handling large amounts of documents?I don’t know if my question is clear. I know that all themes can be used, but I would like to know if there is something in Enfold that would be helpful to me.
I’ve been a fan of Enfold for a long time.
10x,
EHi
after i updated your theme the layout is completly crashed.
Examples:
– What has been a gallery with miniatures before is now one long row of big images below each other.
-Lightboxes dont work anymore
-The whole layout structure is foobar!
If i look in the backend everything looks fine, the ALB shows everything as its supposed to be, but the output in the frontend is horrible.
Please check at first if there is something in our childthemes functions.php which maybe doesnt work anymore and which could cause that conflict.
The problem arises only on pages that uses a custom post type. The developer of the plugin says its a theme issueHere it is:
<?php //$avia_config['imgSize']['square-custom'] = array('width'=>300, 'height'=>300); // small image for blogs //$avia_config['imgSize']['square2'] = array('width'=>400, 'height'=>400); // small image for blogs /* * Add your own functions here. You can also copy some of the theme functions into this file. * WordPress will use those functions instead of the original functions then. */ function enqueue_parent_theme_style() { wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' ); } add_action( 'wp_enqueue_scripts', 'enqueue_parent_theme_style'); /* Proper way to enqueue styles and scripts */ function theme_name_scripts() { wp_enqueue_style( 'style-name', get_stylesheet_uri() ); } add_action( 'wp_enqueue_scripts', 'theme_name_scripts' ); /* Activate Avia debug mode */ add_action('avia_builder_mode', "builder_set_debug"); function builder_set_debug() { return "debug"; } add_filter('avf_builder_boxes', 'add_builder_to_posttype'); function add_builder_to_posttype($metabox) { foreach($metabox as &$meta) { if($meta['id'] == 'avia_builder' || $meta['id'] == 'layout') { $meta['page'][] = 'angebot'; /*instead add the name of the custom post type here*/ $meta['page'][] = 'bild-des-tages'; /*instead add the name of the custom post type here*/ } } return $metabox; } add_filter('avf_blog_style','avia_change_category_blog_layout', 10, 2); function avia_change_category_blog_layout($layout, $context){ if($context == 'archive') $layout = 'blog-grid'; return $layout; } add_filter('avf_blog_style','avia_change_tag_blog_layout', 10, 2); function avia_change_tag_blog_layout($layout, $context){ if($context == 'tag') $layout = 'blog-grid'; return $layout; } /* Länge des Auszug auf Blogseite */ add_filter('avf_postgrid_excerpt_length','avia_change_postgrid_excerpt_length', 10, 1); function avia_change_postgrid_excerpt_length($length) { $length = 100; return $length; } /* Doppelten Breadcrumb entfernt */ add_filter( 'avia_breadcrumbs_trail', 'mmx_remove_element_from_trail', 50, 2 ); function mmx_remove_element_from_trail( $trail, $args ) { if ( is_single() ) { unset ($trail[2]); } return $trail; } add_filter('avf_form_use_wpmail', 'avia_change_php_mail', 10, 3); function avia_change_php_mail($active, $new_post, $form_params){ return true; } add_theme_support('avia_template_builder_custom_css'); add_filter('avf_logo_subtext', 'kriesi_logo_addition'); function kriesi_logo_addition($sub) { $sub .= "<div id='headText'> <a href='http://www.maskenzauber.com'><h1>Venezianische<span> Masken</span></h1></a> <span id='subslogan'>und Headdresses</span> </div>"; $sub .= "<div id='headClaim'> <strong>Hier kommt</strong> eine Unterzeile hin </div>"; return $sub; } add_filter('avf_title_args','fotos_remove_bc'); function fotos_remove_bc($args){ if(is_single() && 'post' == get_post_type()) { $args['breadcrumb'] = false; } return $args; } add_filter('avf_title_args','fotosangebot_remove_bc'); function fotosangebot_remove_bc($args){ if(is_single() && 'angebot' == get_post_type()) { $args['breadcrumb'] = false; } return $args; } //entfernt den Kommentarblock und die Datumsangaben aus dem Combo Widget // class avia_combo_widget extends WP_Widget { function avia_combo_widget() { //Constructor $widget_ops = array('classname' => 'avia_combo_widget', 'description' => 'A widget that displays your popular posts, recent posts, recent comments and a tagcloud' ); $this->WP_Widget( 'avia_combo_widget', THEMENAME.' Combo Widget', $widget_ops ); } function widget($args, $instance) { // prints the widget extract($args, EXTR_SKIP); $posts = empty($instance['count']) ? 4 : $instance['count']; echo $before_widget; echo "<div class='tabcontainer border_tabs top_tab tab_initial_open tab_initial_open__1'>"; echo '<div class="tab first_tab active_tab widget_tab_popular"><span>'.__('Popular', 'avia_framework').'</span></div>'; echo "<div class='tab_content active_tab_content'>"; avia_get_post_list('cat=&orderby=comment_count&posts_per_page='.$posts); echo "</div>"; echo '<div class="tab widget_tab_recent"><span>'.__('Recent', 'avia_framework').'</span></div>'; echo "<div class='tab_content'>"; avia_get_post_list('showposts='. $posts .'&orderby=post_date&order=desc'); echo "</div>"; echo '<div class="tab last_tab widget_tab_tags"><span>'.__('Tags', 'avia_framework').'</span></div>'; echo "<div class='tab_content tagcloud'>"; wp_tag_cloud('smallest=12&largest=12&unit=px'); echo "</div>"; echo "</div>"; echo $after_widget; } function update($new_instance, $old_instance) { $instance = $old_instance; foreach($new_instance as $key=>$value) { $instance[$key] = strip_tags($new_instance[$key]); } return $instance; } function form($instance) { //widgetform in backend $instance = wp_parse_args( (array) $instance, array('count' => 4) ); if(!is_numeric($instance['count'])) $instance['count'] = 4; ?> <p> <label for="<?php echo $this->get_field_id('count'); ?>">Number of posts you want to display: <input class="widefat" id="<?php echo $this->get_field_id('count'); ?>" name="<?php echo $this->get_field_name('count'); ?>" type="text" value="<?php echo esc_attr($instance['count']); ?>" /></label></p> <?php } } function avia_get_post_list( $avia_new_query , $excerpt = false) { global $avia_config; $image_size = isset($avia_config['widget_image_size']) ? $avia_config['widget_image_size'] : 'widget'; $additional_loop = new WP_Query($avia_new_query); if($additional_loop->have_posts()) : echo '<ul class="news-wrap">'; while ($additional_loop->have_posts()) : $additional_loop->the_post(); $format = ""; if(get_post_type() != 'post') $format = get_post_type(); if(empty($format)) $format = get_post_format(); if(empty($format)) $format = 'standard'; echo '<li class="news-content post-format-'.$format.'">'; //check for preview images: $image = ""; if(!current_theme_supports('force-post-thumbnails-in-widget')) { $slides = avia_post_meta(get_the_ID(), 'slideshow'); if( $slides != "" && !empty( $slides[0]['slideshow_image'] ) ) { $image = avia_image_by_id($slides[0]['slideshow_image'], 'widget', 'image'); } } if(!$image && current_theme_supports( 'post-thumbnails' )) { $image = get_the_post_thumbnail( get_the_ID(), $image_size ); } $time_format = apply_filters( 'avia_widget_time', get_option('date_format')." - ".get_option('time_format'), 'avia_get_post_list' ); $nothumb = (!$image) ? 'no-news-thumb' : ''; echo "<a class='news-link' title='".get_the_title()."' href='".get_permalink()."'>"; echo "<span class='news-thumb $nothumb'>"; echo $image; echo "</span>"; echo "<strong class='news-headline'>".avia_backend_truncate(get_the_title(), 55," "); //echo "<span class='news-time'>".get_the_time($time_format)."</span>"; echo "</strong>"; echo "</a>"; if('display title and excerpt' == $excerpt) { echo "<div class='news-excerpt'>"; the_excerpt(); echo "</div>"; } echo '</li>'; endwhile; echo "</ul>"; wp_reset_postdata(); endif; } //erzeugt Next / Preview Links in Blogposts auch bei Verwendung von Fullwidth-Slider // if(!function_exists('avia_post_nav')) { function avia_post_nav($same_category = false, $taxonomy = 'category') { global $wp_version; $settings = array(); $settings['same_category'] = $same_category; $settings['excluded_terms'] = ''; $settings['wpversion'] = $wp_version; $settings['type'] = get_post_type(); $settings['taxonomy'] = ($settings['type'] == 'portfolio') ? 'portfolio_entries' : $taxonomy; if(!is_singular() || is_post_type_hierarchical($settings['type'])) $settings['is_hierarchical'] = true; if($settings['type'] === 'topic' || $settings['type'] === 'reply') $settings['is_bbpress'] = true; $settings = apply_filters('avia_post_nav_settings', $settings); if(!empty($settings['is_bbpress']) || !empty($settings['is_hierarchical']) || !empty($settings['is_fullwidth'])) return; if(version_compare($settings['wpversion'], '3.8', '>=' )) { $entries['prev'] = get_previous_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']); $entries['next'] = get_next_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']); } else { $entries['prev'] = get_previous_post($settings['same_category']); $entries['next'] = get_next_post($settings['same_category']); } $entries = apply_filters('avia_post_nav_entries', $entries, $settings); $output = ""; foreach ($entries as $key => $entry) { if(empty($entry)) continue; $the_title = isset($entry->av_custom_title) ? $entry->av_custom_title : avia_backend_truncate(get_the_title($entry->ID),75," "); $link = isset($entry->av_custom_link) ? $entry->av_custom_link : get_permalink($entry->ID); $image = isset($entry->av_custom_image) ? $entry->av_custom_image : get_the_post_thumbnail($entry->ID, 'thumbnail'); $tc1 = $tc2 = ""; $class = $image ? "with-image" : "without-image"; $output .= "<a class='avia-post-nav avia-post-{$key} {$class}' href='{$link}' >"; $output .= " <span class='label iconfont' ".av_icon_string($key)."></span>"; $output .= " <span class='entry-info-wrap'>"; $output .= " <span class='entry-info'>"; $tc1 = " <span class='entry-title'>{$the_title}</span>"; if($image) $tc2 = " <span class='entry-image'>{$image}</span>"; $output .= $key == 'prev' ? $tc1.$tc2 : $tc2.$tc1; $output .= " </span>"; $output .= " </span>"; $output .= "</a>"; } return $output; } } add_filter('avf_debugging_info', 'remove_debugging_info', $info); function remove_debugging_info($info) { $info = ''; return $info; } remove_action( 'init', 'cptui_create_custom_post_types', 10 ); add_action( 'init', 'cptui_create_custom_post_types', 11 ); // Nach Dateinamen in der Mediathek suchen function posts_search_media_filenames($search, $a_wp_query) { global $wpdb, $pagenow; // Only Admin side && Only Media Library page if ( !is_admin() && 'upload.php' != $pagenow ) return $search; // Original search string: // AND (((wp_posts.post_title LIKE '%search-string%') OR (wp_posts.post_content LIKE '%search-string%'))) $search = str_replace( 'AND ((', 'AND (((' . $wpdb->prefix . 'posts.guid LIKE \'%' . $a_wp_query->query_vars['s'] . '%\') OR ', $search ); return $search; } add_filter('posts_search', 'posts_search_media_filenames', 10, 2); // Sortiert alle Bilder in der masonry-Galerie nach Zufall add_filter('avia_masonry_entries_query', 'avia_random_image_query', 10, 2); function avia_random_image_query($query, $params) { if(!empty($query['post_mime_type']) && $query['post_mime_type'] == 'image') { $query['orderby'] = "rand"; } return $query; } function remove_avia_search(){ remove_filter( 'wp_nav_menu_items', 'avia_append_search_nav', 10, 2 ); } add_action( 'init' , 'remove_avia_search' ); add_filter( 'avf_main_menu_nav' , 'um_enfold_menu' , 100 , 1 ); function um_enfold_menu( $menu ){ $menu = ubermenu( 'main' , array( 'theme_location' => 'avia' , 'echo' => false ) ); return $menu; } add_image_size( 'my-ubermenu-image-size', 100, 100, true );Topic: Blocked by robots.txt ! Why?
Hello, I have two problems with the website http://www.hamid-mostofi.de
1. Google search console provides the indication that the site is blocked by the robots.txt.
2. With Enfold Performance, reducing java script files does not work.
Important is just google, and I need quick help from your support.
thxTopic: Update error 4.6.1 -> 4.6.2
Hi,
As follow up to the closed thread https://kriesi.at/support/topic/update-error-4-6-4-6-1/, I once again could not update the theme:
4 out of 5 enfold based websites have been successfully upgraded from 4.6.1 to 4.6.2.
Only one (new) website is not updating from 4.6.1 to 4.6.2. For this website, the Envato private token is still showing 4.6.1 as the most recent version – even when hitting the “check manually” button.
After hitting the button “install now” (via upload theme), the upload immediately stops at 0%, and I get the following error:
Nothing Found – Sorry, the post you are looking for is not available. Maybe you want to perform a search?Regards,
ChristineTopic: Disable automatic search
There is a searchbox in my website header, and after I updated Enfold recently it started searching and displaying results in the header automatically (without user clicking Submit or hitting the Enter key). How do I turn off this functionality? Thank you!
Hi,
On https://uniiq.nl I am using the plug-in Search & Filter Pro for my portfolio products, see https://uniiq.nl/portfolio/
I can filter on custom categories that I added and it is working well. It works with JavaScript like the filter possibility from Enfold and it works fine.However, on the English page (second language) https://uniiq.nl/en/portfolio/ it is not working as expected.
After filtering, or using ‘Reset filter’ blank results are shown. But, when I refresh the page, results are shown anyway. I contacted the support of Search & Filter Pro and they answered me the following:
TrevorModerator
September 11, 2019 at 2:43 pm#220758
OK. I can see what is going wrong, but I do know enough of your theme/plugins to where the fix might be.The results grid is using Masonry (Isotope), and, to give the appearance of fading the results in and out, the theme or plugin that controls the results grid has this in the CSS when the page loads:
.js_active .grid-image {
opacity: 0;
}
This hides the Portfolio Image links.When the posts have loaded, each post has its opacity set to 1 to reveal them. This also always happens when the page first loads.
This is happening on the standard language, but not on the second language (English). I suspect that this is because the JavaScript is expecting to work on the portfolio page URL, but is not expecting to see en/ in the URL.
Hopefully you can help to find a solution for this so it will work also on the second language.
Looking forward to hear from you,
Thanks in advance,
ArianeTopic: mediaelementplayer error
Hi,
I’ve just installed the latest version of the theme, but I’m still getting an error on pages which is stopping a new plugin from working.
I tried to troubleshoot by disabling all the plugins, but the error was still there. I only got rid of it by deactivating Enfold. I’ve searched online but can’t find a fix that I understand. What is the issue and how is it fixed? Thankswp-mediaelement.min.js?ver=5.2.3:1 Uncaught TypeError: b(…).not(…).filter(…).mediaelementplayer is not a function
at HTMLDocument.a (wp-mediaelement.min.js?ver=5.2.3:1)
at i (jquery.min.js:2)
at Object.fireWith [as resolveWith] (jquery.min.js:2)
at Function.ready (jquery.min.js:2)
at HTMLDocument.K (jquery.min.js:2)Topic: Update to 4.6 not possible
Hi all,
i have tryed to update to the new enfold version 4.6 without any success. The WordPress admin front-end doesn’t show any update and also if I search manually within the enfold theme for the new update, nothing is found. Is the automated update not working ?
Can you help me with the manual installation?
Kind regards
KarstenHi there, I love the Enfold theme and used it for this project: http://www.peter-meier-gitarre.de. When you go to the playlist https://www.peter-meier-gitarre.de/cds/ for some reason I have a black linke showing on all playlists and no “play” button.
I searched the forum but couldn’t find an answer. Do you have a tipp for me? Thanks a lot.
Hi guys,
Is it possible to customize how the search results are displayed at all?
I’d like for the results to show excerpts from where the term lives. Kind of similar to google. For example, when you search a term on google it says
The title, then the link to the page and then below the link is a blurb or excerpt with that term highlighted or bolded in the paragraph.Currently, when searching for something on a site built with enfold, the results show up as only the title of the page it lives on, and no specific blurb that it comes from.
Thanks!
After updating to Enfold 4.6.1 this message about technical problems was sent. The ajax search is not working anymore
Ein Fehler vom Typ E_COMPILE_ERROR wurde in der Zeile 649 der Datei …/mysite/wp-content/themes/enfold/functions.php verursacht. Fehlermeldung: require_once(): Failed opening required ‘config-relevanssi/class-avia-relevanssi.php’ (include_path=’.:/usr/share/pear:/usr/share/php’)
Thank you for any help!
Topic: Update error 4.6 -> 4.6.1
Hi,
4 out of 5 enfold based websites have been successfully upgraded from 4.6 to 4.6.1.
Only one (new) website is not updating from 4.6 to 4.6.1.1. For this website, the Envato private token is still showing 4.6 as the most recent version – even when hitting the “check manually” button.
2. I installed the “Update Theme and Plugins from Zip File” plugin, but it did not help. I also deleted the .htaccess file and saved the permalinks.
I still get the following error after hitting the button “install now” (via upload theme):Nothing Found
Sorry, the post you are looking for is not available. Maybe you want to perform a search?Regards,
ChristineIs it possible to add custom metadata, text and numeric, to Portfolios in the Enfold theme? If so, how? I want to create a filter form with the Search and Filter plugin, so that users can display portfolio entries e.g. with size parameter between 100 and 200.
Is it possible to add custom metadata, text and numbers, to portfolios in Enfold theme? And if so, how? I want use the plugin Search and Filter to create a filter form interface for portfolio entries for products, so users can choose e.g. size ranges and will only see entries with metadata size set to a value within that range.
Topic: 403 error on pdf link
HI there,
I have been using Enfold for quite some years already, enjoying it very much, but now have a strange situation. On my website, since about one month, we cannot save a page anymore – it gives a 403 forbidden access error – as soon as I add a link to a pdf file.
I have searched the forum and found a similar problem which was solved with the latest update at the time, but I have updates these last two weeks on every last update – some other plugin problems got solved with that, but this 403 error remains. What to do?
Thanks in advance!
Wabke


