Forum Replies Created
-
AuthorPosts
-
Hey Johannes,
Es könnte an dem Cache Plugin Autoptimize liegen, welches nicht auf allen Seiten die notwendigen Skripts in die “komprimierte” Version der Skripts einbindet. Versuche einmal unter Enfold > Theme Optionen > Performance die “Disabling of template builder elements” Einstellung auf “Always load all elements” zu setzen.
LG,
PeterSeptember 19, 2018 at 6:27 pm in reply to: Get variable of the url and attach it on subject of content form mail #1011967Hi,
Great, glad we could help you :)
Best regards,
PeterSeptember 19, 2018 at 2:03 pm in reply to: where to copy the Google code and paste it onto every page of your website. #1011810Hi,
You can use the ava_after_body_opening_tag action hook – insert this code into your child theme functions.php
function avia_body_scripts_custom(){ ?> <script type="text/javascript"> <!-- Add your code here --> </script> <?php } add_action('ava_after_body_opening_tag', 'avia_body_scripts_custom');
and replace:
<!-- Add your code here -->
with your google code. The code will then appear in the head section.
Best regards,
PeterSeptember 19, 2018 at 2:00 pm in reply to: ajax search function show information although search item existing #1011809Hi,
Great, glad I could help you :)
Best regards,
PeterHi!
Great, glad it works now :)
Best regards,
PeterSeptember 19, 2018 at 12:53 pm in reply to: where to copy the Google code and paste it onto every page of your website. #1011795Hi,
Please add this code to the child theme functions.php:
function avia_header_scripts_custom(){ ?> <script type="text/javascript"> <!-- Add your code here --> </script> <?php } add_action('wp_head', 'avia_header_scripts_custom');
and replace:
<!-- Add your code here -->
with your google code. The code will then appear in the head section.
Best regards,
PeterHi,
As far as I know wpml doesn’t offer such a feature out of the box but you need to install the official “WPML Translation Management” addon (however I’m not sure if the addon is really required). It’s listed here: https://wpml.org/documentation/wpml-core-and-add-on-plugins/ . It will add the translation editor (see https://wpml.org/documentation/translating-your-contents/using-the-translation-editor/ ) to your website.
Best regards,
PeterHi,
Please try to add this code to the quick css field to resize the image:
#top #wrap_all #payment ul.payment_methods li img { max-width: 100px; }
You can replace 100px with any other value to increase/decrease the image size.
Best regards,
PeterHi!
The (dynamic) stylesheet is missing. Please use ftp and connect to your server. /wp-content/uploads/ and rename the dynamic_avia folder to dynamic_avia_bak. Then go to the theme options panel and resave the settings. Enfold should then recreate the folder and all dynamic stylesheets.
Cheers!
PeterHi 360gradmedia!
Please try following:
1) Add a custom id to the footer section (i.e. footer_section – screenshot: http://www.clipular.com/c/6030402066841600.png?k=TWI-eNSNopwM1gnnw1q-7ZEcNI4 )
2) Then add this css code to the quick css field:
#footer_section + div { display: none; }
(you need to replace footer_section with your custom id)
Regards,
PeterHi,
Kannst Du bitte nochmals die Login Daten überprüfen.
LG,
PeterHey gdsconcepts,
Da die Zeilenhöhe schon der Schriftgröße entspricht kann der Rahmen daneben nicht kleiner gemacht werden. Ein möglicher Workaround wäre die Trennzeichen zu entfernen (in den Theme Optionen) und dann ein Trennzeichen zu den Links (unter Design > Menüs) hinzuzufügen, zB | oder / Zeichen.
Liebe Grüße,
PeterSeptember 19, 2018 at 9:26 am in reply to: Content Element relationship in Multilingual site #1011677Hey ridamukhtar,
Thank you for the suggestion. To be honest such a synchronization of the content would be very complex and I’m not sure if we’ll add this feature to the framework but I’ll forward it to our developers.
Best regards,
PeterHi,
@marko7 – It seems like some files are missing. Please use ftp to update the theme. If you use ftp make sure to replace the entire theme folder. If you just overwrite the existing files you’ll get a blank page (500 error – which is the case on your website). Connect to ftp, go to wp-content/themes and rename the theme folder “enfold” to “enfold_bak”. Then download the new files from themeforest, unzip the theme files and upload them to wp-content/themes/enfold. Make sure the style.css file is located in wp-content/themes/enfold (file path wp-content/themes/enfold/style.css). If the theme works, you can simply delete the enfold_bak folder. If not, delete the enfold folder and rename enfold_bak to enfold.Best regards,
PeterHi,
The Media script is deactivated by default since Enfold 4.4.x (to increase the loading performance). To fix the issue please add this code to your child theme functions.php:
add_filter( 'avf_enqueue_wp_mediaelement', 'avia_always_load_mediaelement', 10, 2); function avia_always_load_mediaelement($condition, $options) { $condition = true; return $condition; }
to load the Media script by default on your website.
You also need to modify the functions.php file of the parent theme – this customization won’t be necessary with the next theme update.
Please open up enfold/functions.php and replace:
$condition = !( isset($options['disable_mediaelement']) && $options['disable_mediaelement'] == "disable_mediaelement" ) && av_video_assets_required();
with
$condition = !( isset($options['disable_mediaelement']) && $options['disable_mediaelement'] == "disable_mediaelement" ) && av_video_assets_required(); $condition = apply_filters( 'avf_enqueue_wp_mediaelement', $condition, $options );
Best regards,
PeterHi,
The next update will include this fix and will work with the changed Envato api.
Best regards,
PeterHi,
Kannst Du mir noch bitte die URL zur neuen Enfold Seite geben :)
LG,
PeterHey Daan88,
Please use this code for the gallery.php:
<?php /** * Gallery * * Shortcode that allows to create a gallery based on images selected from the media library */ if ( ! defined( 'ABSPATH' ) ) { exit; } // Exit if accessed directly if ( !class_exists( 'avia_sc_gallery' ) ) { class avia_sc_gallery extends aviaShortcodeTemplate { static $gallery = 0; var $extra_style = ""; var $non_ajax_style = ""; /** * Create the config array for the shortcode button */ function shortcode_insert_button() { $this->config['self_closing'] = 'yes'; $this->config['name'] = __('Gallery', 'avia_framework' ); $this->config['tab'] = __('Media Elements', 'avia_framework' ); $this->config['icon'] = AviaBuilder::$path['imagesURL']."sc-gallery.png"; $this->config['order'] = 6; $this->config['target'] = 'avia-target-insert'; $this->config['shortcode'] = 'av_gallery'; $this->config['modal_data'] = array('modal_class' => 'mediumscreen'); $this->config['tooltip'] = __('Creates a custom gallery', 'avia_framework' ); $this->config['preview'] = 1; $this->config['disabling_allowed'] = 'manually'; //only allowed manually since the default [gallery shortcode] is also affected } function extra_assets() { //load css wp_enqueue_style( 'avia-module-gallery' , AviaBuilder::$path['pluginUrlRoot'].'avia-shortcodes/gallery/gallery.css' , array('avia-layout'), false ); wp_enqueue_script( 'avia-module-gallery' , AviaBuilder::$path['pluginUrlRoot'].'avia-shortcodes/gallery/gallery.js' , array('avia-shortcodes'), false, TRUE ); } /** * Popup Elements * * If this function is defined in a child class the element automatically gets an edit button, that, when pressed * opens a modal window that allows to edit the element properties * * @return void */ function popup_elements() { $this->elements = array( array( "type" => "tab_container", 'nodescription' => true ), array( "type" => "tab", "name" => __("Content" , 'avia_framework'), 'nodescription' => true ), array( "name" => __("Edit Gallery",'avia_framework' ), "desc" => __("Create a new Gallery by selecting existing or uploading new images",'avia_framework' ), "id" => "ids", "type" => "gallery", "title" => __("Add/Edit Gallery",'avia_framework' ), "button" => __("Insert Images",'avia_framework' ), "std" => ""), array( "name" => __("Gallery Style", 'avia_framework' ), "desc" => __("Choose the layout of your Gallery", 'avia_framework' ), "id" => "style", "type" => "select", "std" => "thumbnails", "subtype" => array( __('Small Thumbnails', 'avia_framework' ) =>'thumbnails', __('Big image with thumbnails below', 'avia_framework' ) =>'big_thumb', __('Big image only, other images can be accessed via lightbox', 'avia_framework' ) =>'big_thumb lightbox_gallery', ) ), array( "name" => __("Gallery Big Preview Image Size", 'avia_framework' ), "desc" => __("Choose image size for the Big Preview Image", 'avia_framework' ), "id" => "preview_size", "type" => "select", "std" => "portfolio", "required" => array('style','contains','big_thumb'), "subtype" => AviaHelper::get_registered_image_sizes(array('logo')) ), array( "name" => __("Force same size for all big preview images?", 'avia_framework' ), "desc" => __("Depending on the size you selected above, preview images might differ in size. Should the theme force them to display at exactly the same size?", 'avia_framework' ), "id" => "crop_big_preview_thumbnail", "type" => "select", "std" => "yes", "required" => array('style','equals','big_thumb'), "subtype" => array(__('Yes, force same size on all Big Preview images, even if they use a different aspect ratio', 'avia_framework') => 'avia-gallery-big-crop-thumb', __('No, do not force the same size', 'avia_framework') => 'avia-gallery-big-no-crop-thumb')), array( "name" => __("Gallery Preview Image Size", 'avia_framework' ), "desc" => __("Choose image size for the small preview thumbnails", 'avia_framework' ), "id" => "thumb_size", "type" => "select", "std" => "portfolio", "required" => array('style','not','big_thumb lightbox_gallery'), "subtype" => AviaHelper::get_registered_image_sizes(array('logo')) ), array( "name" => __("Thumbnail Columns", 'avia_framework' ), "desc" => __("Choose the column count of your Gallery", 'avia_framework' ), "id" => "columns", "type" => "select", "std" => "5", "required" => array('style','not','big_thumb lightbox_gallery'), "subtype" => AviaHtmlHelper::number_array(1,12,1) ), array( "name" => __("Use Lighbox", 'avia_framework' ), "desc" => __("Do you want to activate the lightbox", 'avia_framework' ), "id" => "imagelink", "type" => "select", "std" => "5", "required" => array('style','not','big_thumb lightbox_gallery'), "subtype" => array( __('Yes', 'avia_framework' ) =>'lightbox', __('No, open the images in the browser window', 'avia_framework' ) =>'aviaopeninbrowser noLightbox', __('No, open the images in a new browser window/tab', 'avia_framework' ) =>'aviaopeninbrowser aviablank noLightbox', __('No, don\'t add a link to the images at all', 'avia_framework' ) =>'avianolink noLightbox') ), array( "name" => __("Thumbnail fade in effect", 'avia_framework' ), "desc" => __("You can set when the gallery thumbnail animation starts", 'avia_framework' ), "id" => "lazyload", "type" => "select", "std" => "avia_lazyload", "required" => array('style','not','big_thumb lightbox_gallery'), "subtype" => array( __('Show the animation when user scrolls to the gallery', 'avia_framework' ) =>'avia_lazyload', __('Activate animation on page load (might be preferable on large galleries)', 'avia_framework' ) =>'deactivate_avia_lazyload') ), array( "type" => "close_div", 'nodescription' => true ), array( "type" => "tab", "name" => __("Screen Options",'avia_framework' ), 'nodescription' => true ), array( "name" => __("Element Visibility",'avia_framework' ), "desc" => __("Set the visibility for this element, based on the device screensize.", 'avia_framework' ), "type" => "heading", "description_class" => "av-builder-note av-neutral", ), array( "desc" => __("Hide on large screens (wider than 990px - eg: Desktop)", 'avia_framework'), "id" => "av-desktop-hide", "std" => "", "container_class" => 'av-multi-checkbox', "type" => "checkbox"), array( "desc" => __("Hide on medium sized screens (between 768px and 989px - eg: Tablet Landscape)", 'avia_framework'), "id" => "av-medium-hide", "std" => "", "container_class" => 'av-multi-checkbox', "type" => "checkbox"), array( "desc" => __("Hide on small screens (between 480px and 767px - eg: Tablet Portrait)", 'avia_framework'), "id" => "av-small-hide", "std" => "", "container_class" => 'av-multi-checkbox', "type" => "checkbox"), array( "desc" => __("Hide on very small screens (smaller than 479px - eg: Smartphone Portrait)", 'avia_framework'), "id" => "av-mini-hide", "std" => "", "container_class" => 'av-multi-checkbox', "type" => "checkbox"), array( "type" => "close_div", 'nodescription' => true ), array( "type" => "close_div", 'nodescription' => true ), ); } /** * Editor Element - this function defines the visual appearance of an element on the AviaBuilder Canvas * Most common usage is to define some markup in the $params['innerHtml'] which is then inserted into the drag and drop container * Less often used: $params['data'] to add data attributes, $params['class'] to modify the className * * * @param array $params this array holds the default values for $content and $args. * @return $params the return array usually holds an innerHtml key that holds item specific markup. */ function editor_element($params) { $params['innerHtml'] = "<img src='".$this->config['icon']."' title='".$this->config['name']."' />"; $params['innerHtml'].= " <div class='avia-element-label'>".$this->config['name']."</div> "; $params['content'] = NULL; //remove to allow content elements return $params; } /** * Frontend Shortcode Handler * * @param array $atts array of attributes * @param string $content text within enclosing form of shortcode element * @param string $shortcodename the shortcode found, when == callback name * @return string $output returns the modified html string */ function shortcode_handler($atts, $content = "", $shortcodename = "", $meta = "") { extract(AviaHelper::av_mobile_sizes($atts)); //return $av_font_classes, $av_title_font_classes and $av_display_classes $output = ""; $first = true; if(empty($atts['columns']) && isset($atts['ids'])) { $atts['columns'] = count(explode(",", $atts['ids'])); if($atts['columns'] > 10) { $atts['columns'] = 10; } } extract(shortcode_atts(array( 'order' => 'ASC', 'thumb_size' => 'thumbnail', 'size' => '', 'lightbox_size' => 'large', 'preview_size' => 'portfolio', 'ids' => '', 'ajax_request' => false, 'imagelink' => 'lightbox', 'style' => 'thumbnails', 'columns' => 5, 'lazyload' => 'avia_lazyload', 'crop_big_preview_thumbnail' => 'avia-gallery-big-crop-thumb' ), $atts, $this->config['shortcode'])); $attachments = get_posts(array( 'include' => $ids, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => $order, 'orderby' => 'post__in') ); //compatibility mode for default wp galleries if(!empty($size)) $thumb_size = $size; if('big_thumb lightbox_gallery' == $style) { $imagelink = 'lightbox'; $lazyload = 'deactivate_avia_lazyload'; $meta['el_class'] .= " av-hide-gallery-thumbs"; } if(!empty($attachments) && is_array($attachments)) { self::$gallery++; $thumb_width = round(100 / $columns, 4); $markup = avia_markup_helper(array('context' => 'image','echo'=>false, 'custom_markup'=>$meta['custom_markup'])); $output .= " <div class='avia-gallery {$av_display_classes} avia-gallery-".self::$gallery." ".$lazyload." avia_animate_when_visible ".$meta['el_class']."' $markup>"; $thumbs = ""; $counter = 0; foreach($attachments as $attachment) { $link = apply_filters('avf_avia_builder_gallery_image_link', wp_get_attachment_image_src($attachment->ID, $lightbox_size), $attachment, $atts, $meta); $custom_link_class = !empty($link['custom_link_class']) ? $link['custom_link_class'] : ''; $class = $counter++ % $columns ? "class='$imagelink $custom_link_class'" : "class='first_thumb $imagelink $custom_link_class'"; $img = wp_get_attachment_image_src($attachment->ID, $thumb_size); $prev = wp_get_attachment_image_src($attachment->ID, $preview_size); $caption = trim($attachment->post_excerpt) ? wptexturize($attachment->post_excerpt) : ""; $tooltip = $caption ? "data-avia-tooltip='".$caption."'" : ""; $alt = get_post_meta($attachment->ID, '_wp_attachment_image_alt', true); $alt = !empty($alt) ? esc_attr($alt) : ''; $title = trim($attachment->post_title) ? esc_attr($attachment->post_title) : ""; $description = trim($attachment->post_content) ? esc_attr($attachment->post_content) : esc_attr(trim($attachment->post_excerpt)); $markup_url = avia_markup_helper(array('context' => 'image_url','echo'=>false, 'id'=>$attachment->ID, 'custom_markup'=>$meta['custom_markup'])); if( strpos($style, "big_thumb") !== false && $first) { $big_thumb = "<a class='avia-gallery-big fakeLightbox $imagelink $crop_big_preview_thumbnail $custom_link_class' href='".$link[0]."' data-onclick='1' title='".$description."' ><span class='avia-gallery-big-inner' $markup_url>"; $big_thumb .= " <img width='".$prev[1]."' height='".$prev[2]."' src='".$prev[0]."' title='".$title."' alt='".$alt."' />"; if($caption) $big_thumb .= " <span class='avia-gallery-caption'>{$caption}</span>"; $big_thumb .= "</span></a>"; } $thumbs .= " <a href='".$link[0]."' data-rel='gallery-".self::$gallery."' data-prev-img='".$prev[0]."' {$class} data-onclick='{$counter}' title='".$description."' $markup_url><img {$tooltip} src='".$img[0]."' width='".$img[1]."' height='".$img[2]."' title='".$title."' alt='".$alt."' /></a>"; $first = false; } $output .= " <div class='avia-gallery-thumb'>{$thumbs}</div> {$big_thumb}"; $output .= "</div> "; $selector = !empty($atts['ajax_request']) ? ".ajax_slide" : ""; //generate thumb width based on columns $this->extra_style .= "<style type='text/css'>"; $this->extra_style .= "#top #wrap_all {$selector} .avia-gallery-".self::$gallery." .avia-gallery-thumb a{width:{$thumb_width}%;}"; $this->extra_style .= "</style>"; if(!empty($this->extra_style)) { if(!empty($atts['ajax_request']) || !empty($_POST['avia_request'])) { $output .= $this->extra_style; $this->extra_style = ""; } else { $this->non_ajax_style = $this->extra_style; add_action('wp_footer', array($this, 'print_extra_style')); } } } return $output; } function print_extra_style() { echo $this->non_ajax_style; } } }
and add this code to the quick css field:
#top div .avia-gallery .avia-gallery-big { width: 100%; }
Best regards,
PeterHi,
Nein leider – wir verkaufen nur über Themeforest/Envato und da besteht keine Möglichkeit individuelle Gutscheine auszugeben.
LG,
PeterHi,
Der embed shortcode unterstützt nur bestimmte Anbieter im Multimediabereich (youtube, vimeo – siehe: https://codex.wordpress.org/Embeds )
Kannst Du uns bitte einen Admin Account einrichten – dann fügen wir den Iframe für die ein.
Best regards,
PeterSeptember 19, 2018 at 8:03 am in reply to: Y’all got to get this Enfold Update failure fixed #1011651Hey SmoovP,
This is a known bug in the Envato update api. We found a fix/workaround for it on our end and we’ll include it with the next update. You can add this fix manually – use the theme editor (Appearance > Editor) and edit Enfold. Go to enfold/framework/php/auto-updates/ and open the class-pixelentity-theme-update.php file. Clear the entire file (remove the code) and copy the entire code from here https://pastebin.com/raw/epetJ1SG into the blank file. Afterwards save the file and the update should work.
You can also use ftp to update the file. Save the code from here: https://pastebin.com/raw/epetJ1SG to a file called class-pixelentity-theme-update.php. Then connect to your server via ftp, go to the directory wp-content/enfold/framework/php/auto-updates/ and overwrite the class-pixelentity-theme-update.php with the updated file you created before.
Best regards,
PeterHey Kirstie,
In your code please replace:
$icons['icon_name'] = array( 'font' =>'entypo-fontello', 'icon' => 'ue854'); $icons['icon_name'] = array( 'font' =>'entypo-fontello', 'icon' => 'ue842');
with
$icons['Phone'] = array( 'font' =>'entypo-fontello', 'icon' => 'ue854'); $icons['Location'] = array( 'font' =>'entypo-fontello', 'icon' => 'ue842');
Maybe you need to switch the values ue854 and ue842 if the ue842 value stands for the phone icon and vice versa.
Best regards,
PeterSeptember 19, 2018 at 7:55 am in reply to: How to show social media buttons on mobile with Enfold Lifestyle Blog theme? #1011649Hey Wisith,
Please add this code to the quick css field to show them:
@media only screen and (max-width:479px) { .responsive #top #wrap_all #header .social_bookmarks, .responsive #top #wrap_all #main .av-logo-container .social_bookmarks { display: block; } }
Best regards,
PeterHey Eefke,
You can translated all your entries by clicking on the “plus” symbol on the right side of each entry on the overview page.Please contact the wpml support team and ask them to fix the “No repositories defined.” issue.
Best regards,
PeterHi,
Haha no, this was a problem with our forum script. I removed the duplicated answers.
Best regards,
PeterSeptember 18, 2018 at 9:34 pm in reply to: Password-Protect Page Not Working in Google Chrome #1011515Hi!
Please update Enfold to the latest version (4.4.1) and I’ll try to reproduce the issue on my end. Please use ftp ( https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#ftp-install ) to update the theme. Make sure to replace the entire theme folder. If you just overwrite the existing files you’ll get a blank page (500 error). Connect to ftp, go to wp-content/themes and rename the theme folder “enfold” to “enfold_bak”. Then download the new files from themeforest, unzip the theme files and upload them to wp-content/themes/enfold. Make sure the style.css file is located in wp-content/themes/enfold (file path wp-content/themes/enfold/style.css). If the theme works, you can simply delete the enfold_bak folder. If not, delete the enfold folder and rename enfold_bak to enfold.Cheers!
PeterSeptember 18, 2018 at 9:31 pm in reply to: Tab Section Inner Content Height – Not Showing all Content #1011513Hey!
I tried to add the code but when I logged in I got the error message “Service is currently unavailable.”.
Please try to use ftp to modify the functions.php – go to wp-content/themes/enfold/functions.php and download the file. Then add the code at the very bottom and upload the file again.
Best regards,
PeterHey!
I fixed it. Download Manager requires the Media script which is deactivated by default since Enfold 4.4.x (to increase the loading performance). I now added this code to your child theme functions.php:add_filter( 'avf_enqueue_wp_mediaelement', 'avia_always_load_mediaelement', 10, 2); function avia_always_load_mediaelement($condition, $options) { $condition = true; return $condition; }
to load the Media script by default on your website (also see: https://kriesi.at/support/topic/enfold-deregistering-wordpress-core-script-style-wp-mediaelement/ ).
I also had to modify the functions.php file of the parent theme – this customization won’t be necessary with the next theme update (see: https://kriesi.at/support/topic/wp_enqueue_media-not-working-on-frontend-after-latest-update/#post-993991 ).
Cheers!
PeterHey Frank Bueschler,
Nein Du benötigst nur eine Standardlizenz für $ 59 pro Domain. Wenn daher der Kunde nur eine Domain betreibt genügt eine Lizenz; sofern der Kunde mehrere Domains wünscht, welche nicht nur auf eine Domain weiterleiten, benötigst Du mehrere Standardlizenzen.
Liebe Grüße,
Peter -
AuthorPosts