Forum Replies Created
-
AuthorPosts
-
Hi malkoin!
We’ll add an option to the theme (with the next update) which enables you to hide/show the image on a per post basis. For now I recommend to hide the featured image with css – use this code:
.postid-2618 .big-preview.single-big{ display: none !important; }
and instead of 2618 insert the id of the post where you want to hide the image.
Cheers!
PeterHey!
Please try to re-download the theme files from themeforest.net. Maybe your current theme zip file is corrupt. Then use ftp (safest method) to install the theme: https://vimeo.com/channels/aviathemes/64927356
Cheers!
PeterHi Schloss Klaus!
Did you try to contact the plugin author? I’m not sure what causes the issue but imo it’s not related to the theme code because we don’t change the events manager datepicker code.
Cheers!
PeterHi ey3!
This requires a major customization of the theme/woocommerce template files. We just slightly modify the default woocommerce files in wp-content/themes/enfold/config-woocommerce/config.php. If you need help with a theme/woocommerce customization please hire a freelancer. I suggest to contact werkpress: http://kriesi.at/contact/customization or to hire someone from envato studio: http://studio.envato.com/
Best regards,
PeterHey!
Please don’t use anchors to mark the beginning of the sections but use the “Custom ID” option field (Color Section) to “mark” the different sections – see: http://kriesi.at/documentation/enfold/add-anchors-to-your-page-for-single-page-navigation/ . Please remove the anchors you added to the page content and make sure each section has a unique id (you can use the same value/id you used for your anchor elements).
Best regards,
PeterHey!
Please place this code into your child theme functions.php file:
if(!function_exists('avia_append_lang_flags')) { //first append search item to main menu add_filter( 'wp_nav_menu_items', 'avia_append_lang_flags', 20, 2 ); add_filter( 'avf_fallback_menu_items', 'avia_append_lang_flags', 20, 2 ); function avia_append_lang_flags( $items, $args ) { if ((is_object($args) && $args->theme_location == 'avia')) { global $avia_config, $sitepress; if(empty($avia_config['wpml_language_menu_position'])) $avia_config['wpml_language_menu_position'] = apply_filters('avf_wpml_language_switcher_position', 'main_menu'); if($avia_config['wpml_language_menu_position'] != 'main_menu') return $items; $languages = icl_get_languages('skip_missing=0&orderby=custom'); if(is_array($languages)) { foreach($languages as $lang) { $currentlang = (ICL_LANGUAGE_CODE == $lang['language_code']) ? 'avia_current_lang' : ''; if(is_home() || is_front_page()) $lang['url'] = $sitepress->language_url($lang['language_code']); $items .= "<li class='language_".$lang['language_code']." $currentlang'><a href='".$lang['url']."'>"; $items .= " <span class='language_flag'>".$lang['native_name']."</span>"; $items .= "</a></li>"; } } } return $items; } }
If you don’t use a child theme add it to enfold/functions.php.
Best regards,
PeterHey eswyt!
Place this code into the child theme functions.php file:
/** * AVIA NEWSBOX * * Widget that creates a list of latest news entries * * @package AviaFramework * @todo replace the widget system with a dynamic one, based on config files for easier widget creation */ if (!class_exists('avia_newsbox')) { class avia_newsbox extends WP_Widget { var $avia_term = ''; var $avia_post_type = ''; var $avia_new_query = ''; function avia_newsbox() { $widget_ops = array('classname' => 'newsbox', 'description' => 'A Sidebar widget to display latest post entries in your sidebar' ); $this->WP_Widget( 'newsbox', THEMENAME.' Latest News', $widget_ops ); } function widget($args, $instance) { global $avia_config; extract($args, EXTR_SKIP); echo $before_widget; $title = empty($instance['title']) ? '' : apply_filters('widget_title', $instance['title']); $count = empty($instance['count']) ? '' : $instance['count']; $cat = empty($instance['cat']) ? '' : $instance['cat']; $excerpt = empty($instance['excerpt']) ? '' : $instance['excerpt']; $image_size = isset($avia_config['widget_image_size']) ? $avia_config['widget_image_size'] : 'widget'; if ( !empty( $title ) ) { echo $before_title . $title . $after_title; }; if(empty($this->avia_term)) { $additional_loop = new WP_Query("cat=".$cat."&posts_per_page=".$count); } else { $catarray = explode(',', $cat); if(empty($catarray[0])) { $new_query = array("posts_per_page"=>$count,"post_type"=>$this->avia_post_type); } else { if($this->avia_new_query) { $new_query = $this->avia_new_query; } else { $new_query = array( "posts_per_page"=>$count, 'tax_query' => array( array( 'taxonomy' => $this->avia_term, 'field' => 'id', 'terms' => explode(',', $cat), 'operator' => 'IN') ) ); } } $additional_loop = new WP_Query($new_query); } if($additional_loop->have_posts()) : echo '<ul class="news-wrap image_size_'.$image_size.'">'; while ($additional_loop->have_posts()) : $additional_loop->the_post(); $format = ""; if(empty($this->avia_post_type)) $format = $this->avia_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', true); if( $slides != "" && !empty( $slides[0]['slideshow_image'] ) ) { $image = avia_image_by_id($slides[0]['slideshow_image'], $image_size, 'image'); } } if(current_theme_supports( 'post-thumbnails' ) && !$image ) { $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_newsbox' ); echo "<a class='news-link' title='".get_the_title()."' href='".get_permalink()."'>"; $nothumb = (!$image) ? 'no-news-thumb' : ''; echo "<span class='news-thumb $nothumb'>"; echo $image; echo "</span>"; if(empty($avia_config['widget_image_size']) || 'display title and excerpt' != $excerpt) { echo "<strong class='news-headline'>".get_the_title(); if($time_format) { 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'>"; if(!empty($avia_config['widget_image_size'])) { echo "<a class='news-link-inner' title='".get_the_title()."' href='".get_permalink()."'>"; echo "<strong class='news-headline'>".get_the_title()."</strong>"; echo "</a>"; if($time_format) { echo "<span class='news-time'>".get_the_time($time_format)."</span>"; } } the_excerpt(); echo '<div class="read-more-link"><a href="'.get_permalink().'" class="more-link">'.__('Read more','avia_framework').'<span class="more-link-arrow"> →</span></a></div>'; echo "</div>"; } echo '</li>'; endwhile; echo "</ul>"; wp_reset_postdata(); endif; echo $after_widget; } function update($new_instance, $old_instance) { $instance = $old_instance; $instance['title'] = strip_tags($new_instance['title']); $instance['count'] = strip_tags($new_instance['count']); $instance['excerpt'] = strip_tags($new_instance['excerpt']); $instance['cat'] = implode(',',$new_instance['cat']); return $instance; } function form($instance) { $instance = wp_parse_args( (array) $instance, array( 'title' => '', 'count' => '', 'cat' => '', 'excerpt'=>'' ) ); $title = strip_tags($instance['title']); $count = strip_tags($instance['count']); $excerpt = strip_tags($instance['excerpt']); $elementCat = array("name" => "Which categories should be used for the portfolio?", "desc" => "You can select multiple categories here", "id" => $this->get_field_name('cat')."[]", "type" => "select", "std" => strip_tags($instance['cat']), "class" => "", "multiple"=>6, "subtype" => "cat"); //check if a different taxonomy than the default is set if(!empty($this->avia_term)) { $elementCat['taxonomy'] = $this->avia_term; } $html = new avia_htmlhelper(); ?> <p><label for="<?php echo $this->get_field_id('title'); ?>">Title: <input class="widefat" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo esc_attr($title); ?>" /></label></p> <p> <label for="<?php echo $this->get_field_id('count'); ?>">How many entries do you want to display: </label> <select class="widefat" id="<?php echo $this->get_field_id('count'); ?>" name="<?php echo $this->get_field_name('count'); ?>"> <?php $list = ""; for ($i = 1; $i <= 20; $i++ ) { $selected = ""; if($count == $i) $selected = 'selected="selected"'; $list .= "<option $selected value='$i'>$i</option>"; } $list .= "</select>"; echo $list; ?> </p> <p><label for="<?php echo $this->get_field_id('cat'); ?>">Choose the categories you want to display (multiple selection possible): <?php echo $html->select($elementCat); ?> </label></p> <p> <label for="<?php echo $this->get_field_id('excerpt'); ?>">Display title only or title & excerpt</label> <select class="widefat" id="<?php echo $this->get_field_id('excerpt'); ?>" name="<?php echo $this->get_field_name('excerpt'); ?>"> <?php $list = ""; $answers = array('show title only','display title and excerpt'); foreach ($answers as $answer) { $selected = ""; if($answer == $excerpt) $selected = 'selected="selected"'; $list .= "<option $selected value='$answer'>$answer</option>"; } $list .= "</select>"; echo $list; ?> </p> <?php } } }
Cheers!
PeterHi Fabrice!
1) You can push the “Passwort vergessen” Link down with this css code:
.lost_password{ clear: both; }
However you can’t easily change the “Daten merken” checkbox Position. This would require a template structure change (default WooCommerce checkout template) and is not theme css/code related – thus I can’t provide a code to change the position.
2) This should already be fixed with the latest update. If you still experience the issue though please insert this code:
.form-row.form-row-wide { clear: both; }
into the quick css field.
3) This change also requires a php template modification. Add this code into the theme functions.php file:
add_filter( 'woocommerce_checkout_show_terms','avia_remove_default_tos'); add_action( 'woocommerce_review_order_before_submit','avia_add_tos_checkbox'); function avia_remove_default_tos() { return false; } function avia_add_tos_checkbox() { ?> <p class="form-row terms"> <label for="terms" class="checkbox"><?php _e( 'I have read and accept the', 'woocommerce' ); ?> <a href="<?php echo esc_url( get_permalink(woocommerce_get_page_id('terms')) ); ?>" target="_blank"><?php _e( 'terms & conditions', 'woocommerce' ); ?></a></label> <input type="checkbox" class="input-checkbox" name="terms" <?php checked( isset( $_POST['terms'] ), true ); ?> id="terms" /> </p> <?php }
Cheers!
PeterHey Raymmar!
You can use the “Icon” shortcode (magic wand icon in the TinyMCE toolbar) to add icons to your menu titles/links. Just go to a post/page editor page and use the shortcode generator (Magic wand) to generate your icons. Then switch to the menu page (Appearance > Menus) and insert the shortcodes into the “Menu Title” field. Enfold will then display the icons instead of the default menu title/text. You can also add html code into the title and description field – i.e. add simple html image tag into that field.
<img src="http://i2.wp.com/raymmar.com/wp-content/uploads/2014/04/Take-Your-brain-to-the-mind-spa-buddah-quote.jpg" alt="Take-Your-brain-to-the-mind-spa-buddah-quote" />
Best regards,
PeterHi buellfire!
Maybe try to use Yoast SEO: http://wordpress.org/plugins/wordpress-seo/ to verify the website. It uses the meta tag verification method: https://support.google.com/webmasters/answer/35659?hl=en
Cheers!
PeterHi SonicCube!
You can use a media query to change the position on smaller screens – i.e. insert:
@media only screen and (max-width: 767px){ .ls-thumbnail-wrapper{ margin-top: 55px; } }
into the quick css field to push the thumbnails 55px down on devices with a resolution of max. 767px.
Cheers!
PeterHey!
No, tbh I’m not sure why it doesn’t work. I suggest to contact the server administrator – maybe you need to tweak the server configuration somehow – or to hire someone here: http://studio.envato.com/ who can help you to migrate the website for some $. I used the same method to migrate several websites without any issues in the past and other Enfold users also managed to migrate their Enfold installation without any issues with the WP MigrateDB or WP MigrateDB PRO plugin.
Cheers!
PeterHi!
3) Afaik you can’t use the api parameter with the theme video elements. The reason is it’s based on the wordpres embed shortcode: http://codex.wordpress.org/Embeds and this shortcode doesn’t support any parameters at the moment. I.e. if you insert:
[embed width="123" height="456"] http://vimeo.com/1084537?api=1 [/embed]
or
ttp://vimeo.com/1084537?api=1
the wordpress oembed function will strip the parameter and just load:
ttp://vimeo.com/1084537
into
Cheers!
PeterHi!
Try to use this code instead:
if ( in_array( $search_array[static::$social_counter], $search_array) ) { $html .= "<a {$blank} href='".$icon['social_icon_link']."' ".av_icon_string($icon['social_icon'])." title='".ucfirst($icon['social_icon'])."' onclick='_gaq.push(['_trackEvent', 'ClickLink', '". $search_array[static::$social_counter]."', 'Message'])'></a>"; static::$social_counter++; }else{ $html .= "<a {$blank} href='".$icon['social_icon_link']."' ".av_icon_string($icon['social_icon'])." title='".ucfirst($icon['social_icon'])."'></a>"; }
Regards,
PeterHey!
Kein Problem :)
Best regards,
PeterHey Swedfit!
Maybe you need to re-save the permalink settings (Settings > Permalinks). If this doesn’t work try to contact the plugin developers here: http://buddypress.org/support/ and ask them for help.
Best regards,
PeterHey ouranos3!
See https://kriesi.at/support/topic/ajax-portfolio-opened-at-the-start/
Best regards,
PeterApril 7, 2014 at 9:30 am in reply to: Text-Block innerhalb einer Farb-Sektion linksbündig machen #248091Hey!
Du möchtest daher den Texblock nach links schieben? Wenn ja, verwende folgenden Code:
#av_section_1.avia-section .container { width: 100%; }
Ich empfehle aber, eine Custom ID für die Color Section zu verwenden und diese dann statt “av_section_1” einzusetzen: http://kriesi.at/documentation/enfold/wp-content/uploads/sites/2/2013/12/color-section-ID.png – damit vermeidest du, dass andere Color Sections durch diesen Code manipuliert werden.
Cheers!
PeterHey Bruno!
No, but you can vote for the feature here – https://kriesi.at/support/enfold-feature-requests/ – page 2 “Table Sorting”.
Cheers!
PeterHi crevlon!
Wenn du nur den Content Container in der Mitte mit einem Hintergrundsbild versehen möchtest hängt die Auflösung von deinen “Layout” Einstellungen ab. Das “weite” Layout hat eine Weite von 1210px, das Standardlayout von 1030px. Wenn sich das Bild über den gesamten Fußbereich erstreckt, gibt es leider keine Standardmaße, da in diesem Fall die Bildschirmauflösung die Bildweite limitiert. Du könntest aber mit diesen Code:
#footer{ background-size:contain; }
das Hintergrundsbild immer zur Gänze anzuzeigen – dies führt aber oftmals zu unschönen Streifen links/rechts.
Best regards,
PeterHi GijsWeterings!
No, Enfold does not support such a feature. You can suggest it here: https://kriesi.at/support/enfold-feature-requests/ and if it gets enough votes we’ll probably add it with a theme update.
Regards,
PeterHi dhuet!
Yes, in includes/comments.php search for this code:
if(!isset($indent)) $indent = ""; if(comments_open()){ /* echo "<div class='comment_meta_container alpha '.avia_layout('meta',false,false).' unit'>"; echo "</div>"; */ echo "<div class='comment_container ".avia_layout_class('entry',false)." units $indent'>"; echo "<h3 class='miniheading'>".__('Leave a Reply','avia_framework')."</h3>"; echo "<span class='minitext'>".__('Want to join the discussion? <br/>Feel free to contribute!','avia_framework')."</span>"; comment_form(); echo "</div>"; } else if(get_comments_number()) { /* If there are no comments and comments are closed, * let's leave a little note, shall we? */ echo "<h3 class='$indent commentsclosed'>".__( 'Comments are closed.', 'avia_framework' )."</h3>"; }
and move it to the top of the file (insert it before the comments loop).
Best regards,
PeterApril 7, 2014 at 8:27 am in reply to: Menu Image Resize | Mobile Menu Bullet Point Removal | WPML Language Switcher #248080Hey dominic!
1) Please try to add a class to your images and then use the css class to resize the images with your stylesheets. I.e. use the class “menuimage” for the images and then insert:
.menuimage{ max-width: 200px; height: auto; } into the quick css field to resize the images.
2) Insert this code into the quick css field:
#mobile-advanced li > a:before, .html_header_mobile_behavior #mobile-advanced span > a:before{ content:""; }
3) I think WPML uses the browser language detection feature to redirect the user to the “native” language if a translation is available. So if you’re using a “German” browser profile WPML will redirect you to the German website if you visit the website for the first time. If you then switch to English (or any other language) manually the browser preferences will be ignored.
4) Try to change the bg color of the masonry grid with:
.main_color .av-masonry{ background-color: #ffffff; }
Regards,
PeterHey Bruno!
Thanks – Kriesi is aware of the issue and we’ll fix it with the next update. We don’t have a temporary/quick fix though.
Cheers!
PeterHey!
Please create us an admin account and post the login credentials as private reply – we’ll look into it.
Best regards,
PeterHi totto!
Bitte füge diesen Code in das Quick CSS Feld ein:
.av_secondary_right .sub_menu>ul>li:last-child, .av_secondary_right .sub_menu>div>ul>li:last-child { padding: 0 10px; }
Best regards,
PeterHey!
You can try to change the “Responsive under” and “Layers container” values on the General settings page: http://www.clipular.com/c/5682764015730688.png?k=7pAw3AeKRmT1aHHXvwyqV_AUYn8 – they will change the responsive behavior based on the screen size. You can also try a different slider like: http://codecanyon.net/item/slider-revolution-responsive-wordpress-plugin/2751380 – maybe it gives you better results than the LayerSlider script.
Best regards,
PeterHi sugarcomb!
1) Please try to flush the permalinks (go to Settings > Permalinks and click the “Save” button).
2) If 1) doesn’t help please deactivate all third party plugins – maybe a plugin conflicts with the blog pagination. I recommend to flush the permalinks (see 1) after you deactivated all plugins.
Best regards,
PeterHey!
We’ll fix this with the next update. For now open up wp-content/themes/enfold/framework/php/class-form-generator.php and replace:
function helper_print_datepicker_script() { echo "\n<script type='text/javascript'>\n"; echo 'jQuery(document).ready(function(){ jQuery(".avia_datepicker").datepicker({ beforeShow: function(input, inst) { jQuery("#ui-datepicker-div").addClass(this.id); inst.dpDiv.addClass("avia-datepicker-div"); }, showButtonPanel: true, closeText: AviaDatepickerTranslation.closeText, currentText: AviaDatepickerTranslation.currentText, monthNames: AviaDatepickerTranslation.monthNames, monthNamesShort: AviaDatepickerTranslation.monthNamesShort, dayName: AviaDatepickerTranslation.dayNames, dayNamesShort: AviaDatepickerTranslation.dayNamesShort, dayNamesMin: AviaDatepickerTranslation.dayNamesMin, dateFormat: AviaDatepickerTranslation.dateFormat, firstDay: AviaDatepickerTranslation.firstDay, isRTL: AviaDatepickerTranslation.isRTL }); });'; echo "\n</script>\n"; }
with
function helper_print_datepicker_script() { echo "\n<script type='text/javascript'>\n"; echo 'jQuery(document).ready(function(){ jQuery(".avia_datepicker").datepicker({ beforeShow: function(input, inst) { jQuery("#ui-datepicker-div").addClass(this.id); inst.dpDiv.addClass("avia-datepicker-div"); }, showButtonPanel: true, closeText: AviaDatepickerTranslation.closeText, currentText: AviaDatepickerTranslation.currentText, nextText: AviaDatepickerTranslation.nextText, prevText: AviaDatepickerTranslation.prevText, monthNames: AviaDatepickerTranslation.monthNames, monthNamesShort: AviaDatepickerTranslation.monthNamesShort, dayName: AviaDatepickerTranslation.dayNames, dayNamesShort: AviaDatepickerTranslation.dayNamesShort, dayNamesMin: AviaDatepickerTranslation.dayNamesMin, dayNames: AviaDatepickerTranslation.dayNames, dateFormat: AviaDatepickerTranslation.dateFormat, firstDay: AviaDatepickerTranslation.firstDay, isRTL: AviaDatepickerTranslation.isRTL }); });'; echo "\n</script>\n"; }
Cheers!
PeterHey matsch!
Please update your theme to Enfold 2.6.2. We already fixed this issue with a theme update.
Best regards,
Peter -
AuthorPosts