This reply has been marked as private.
This reply has been marked as private.
I get a error in the log.
[21-Mar-2014 09:38:47 UTC] PHP Parse error: syntax error, unexpected ”colum’ (T_ENCAPSED_AND_WHITESPACE), expecting ‘]’ in /home/ghtrdqpm/public_html/wp/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/contentslider.php on line 394
Hi KCMartin91737!
If you want to remove the date from the widget insert following code into your child theme functions.php:
function change_avia_date_format($date, $function) {
return false;
}
add_filter('avia_widget_time', 'change_avia_date_format', 10, 2);
Cheers!
Peter
Hey!
If you don’t have the said file on includes folder then you’re using an old version of the theme. Please download 2.6.2 then edit helper-main-menu.php. Update the theme via FTP. Watch this video by Devin: https://vimeo.com/channels/aviathemes/67209750
Cheers!
Ismael
Hi!
Please download the font that you want on http://fontello.com/ then upload it via Enfold > General Settings > Icon Font Manager. Edit functions.php, find this code:
'scrolltop' => array( 'font' =>'entypo-fontello', 'icon' => 'ue876'),
Below, add this code:
'slideshare' => array( 'font' =>'fontello', 'icon' => 'ue802'),
I used the checkmark from Font Awesome. Edit includes > admin > register-admin-options.php, find this code on line 971:
'Youtube' => 'youtube',
Below, add this code:
'Slideshare' => 'slideshare',
You can now select the Slideshare social icon. You can do the same with yelp icons. Regarding the icon codes, you need to remove the plus sign. U+E802 should be converted to ue802.
You can do this with other social media icons. For more info, please follow these steps:

Best regards,
Ismael
I have tried to active the Enfold theme and now i gets a white screen. I found this error in the log what can I do?
[20-Mar-2014 20:18:57 UTC] PHP Parse error: syntax error, unexpected ”colum’ (T_ENCAPSED_AND_WHITESPACE), expecting ‘]’ in /home/ghtrdqpm/public_html/wp/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/contentslider.php on line 394
This reply has been marked as private.
Hi, Josue
Where do I insert the embed code with the Easy Slider? All I see is an option to insert the URL of the video.
A Color Section allows me to place a video, but again there’s only the option to insert the URL, not the embed code.
I can use the embed code with the Layer Slider, but that’s a problem because I can’t seem to put the layer slider on a Content Section. This means the video is displayed on the page’s white background. You can see it at http://www.welcometojoseph.com, since I added that this morning. Layer Slider method does allow for a preview image, but no controls are shown unless hovered. Maybe there’s something in the embed code that can be added..
Your theme is considerably different than what I’ve been used to (Avada) and so I’ve spent several hours on the video issue. Video display for site visitors is very important to me because I do a lot of custom videos for clients. What I’d like to have is:
1 – a video displayed on a colored Content section
2 – a preview image instead of a black screen
3 – all play controls visible to the site visitor
4 – no auto playing.
Can all four be done with the Easy Slider or Layer Slider? I’ll also be self-hosting videos as soon as I convert the .mp4 vids to HTML5.
Again, thank you for your help on this issue. This theme is going to work great for me if I can get this video issue resolved :)
EDIT TO ADD:
Josue, I modified the functions.php file and now the text code shows. Wonderful, thank you!
However, I still can’t get the video in the easy slider to stop autoplaying. Here’s the full code, and you’ll see where I added ‘true’ to autoplay and also the controls, which I would like for them to show on-screen for certain sites.
-
This reply was modified 12 years ago by
Themis_Designs.
-
This reply was modified 3 months, 2 weeks ago by
Yigit.
-
This reply was modified 3 months, 2 weeks ago by
Yigit.
This reply has been marked as private.
This reply has been marked as private.
Thank you Yigit,
Buy for some reason, despite I tried your last solution with the latest version of Enfold also, I get that sentence in English:

And the weird thing is that in es_ES.po the string is already translated:
“If you are not happy with the results below please do another search”
“Si los resultados no te satisfacen, intenta una nueva búsqueda con otros términos.”
IMPORTANT:
I´ve changed that string at search.php to BELLOW again:
echo "<p>".__('If you are not happy with the results bellow please do another search','avia_framework')."</p>";
And the sentence is shown in Spanish at the search page (!)
The es_ES.po and es_ES.mo should be in enfold/lang/, right? That .po has “below” instead “bellow”, I don´t understand anything… :S
PS: Could you explain me how could I ” Update from sources” the es_ES.po downloaded to my computer? When I click that option Poedit gets blocked and the progress bar doesn´t move.
Thank you again.
-
This reply was modified 12 years ago by
Pablo.
Hi guys,
I have added the FB like/share buttons and have gotten this result:

Would you know what is the issue here?
These are the steps I followed:
1. I have added the following code on the header.php at line 70
—
<div id=”fb-root”></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = “//connect.facebook.net/en_US/all.js#xfbml=1&appId=408358035962424″;
fjs.parentNode.insertBefore(js, fjs);
}(document, ‘script’, ‘facebook-jssdk’));</script>
—
2. I have added the following div to the relevant pages:
—
<div class=”fb-like” data-href=”https://videyou.nu” data-layout=”button_count” data-action=”like” data-show-faces=”false” data-share=”true”></div>
—
I am trying to disable dragging on Google Maps when viewing on a mobile device, so that it is touch-screen friendly.
Before I updated Enfold to the latest version, this trick worked. Since the update, I switched from using the GMap widget to the GMap media element in the Advanced Editor. Now, it no longer works, and mobile devices can drag the map around. I’m assuming this is because the original trick edited the widget, but the new media element is isolated from that PHP file.
I am running the latest version of Enfold, with all plugins turned off.
What do you advise?
Thank you, and keep up the great work!
Hi guys,
on my website, I usually have the fullwidth easy slider (1500x510px as I changed it on functions.php from 430px to 510) on top of pages and the following content below. Please see http://bit.ly/1hwH2rL or http://bit.ly/PM7Eh1
However, I can’t have it for the featured image of the blog posts. Please see one of my blog posts –> http://bit.ly/1l0wXJ6
–> Is it possible to have the featured image of single blog post as the fullscreen image (the same 1500×510) that goes under the transparent header I have on other pages?
–> And I would also like to place the title of this blog post on this fullwidth featured image. Is it possible?
–> Last, when I bring the mouse over the current featured image, the lightbox pops up and it shows the image in slideshow. I want to remove the total effect and leave the image without being popped up or slided. Can I do it?
Thank you millions in advance!
Ali
This reply has been marked as private.
This reply has been marked as private.
Sorry to bother you again. I did as you said and removed the new code and replaced the function.php but I still get this message:
Parse error: syntax error, unexpected T_FUNCTION in /home/d40567/public_html/sv/wp-content/themes/enfold/config-woocommerce/config.php on line 1255
Maybe I have to something with the config.php file?
Regards
Abedi
Thanks.
I just tried to update the functions.php as you suggested. As soon as I clicked on Update, I receive this message:
Parse error: syntax error, unexpected T_FUNCTION in /home/d40567/public_html/sv/wp-content/themes/enfold/config-woocommerce/config.php on line 1255
Now I cannot even open the site! I receive the same message whatever I do.
Can you help?
Regards
Abedi
Hi,
In my Portfolio Gallery I would the link to be deleted from the image shown in the ajax portfolio item.
Basically no lightbox on the gallery.
looking at the code in portfolio.php
please help
-
This topic was modified 12 years ago by
Dude.
-
This topic was modified 3 months, 2 weeks ago by
Yigit.
-
This topic was modified 3 months, 2 weeks ago by
Yigit.
Hallo Peter,
ich habe nach dem Uptate auf 2.6.1 Probleme mit dem Sprachenumschalter von Multilingual Press Pro.
Vor dem Update habe ich es auch Dank Eurer vorzüglichen Hilfe hin bekommen, das der Schalter sichtbar im secondary Headermenü war.
http://s511947180.online.de/wordpress/sprachumschalter.JPG
Wie gesagt nach dem Update finde ich einfach nicht mehr die Position wo ich den Code <?php if ( function_exists( 'mlp_show_linked_elements' ) ) : ?><?php mlp_show_linked_elements( array( 'link_text' => 'flag', 'show_current_blog' => FALSE ) ); endif;?>
einfügen soll.
Er verschwindet quasi hinter der Seite. Hier ein zur Testseite http://s511947180.online.de/wordpress/
Gibt es hier einen Lösungsweg oder Vorschlag wie ich das bewerkstelligen kann?
Danke.
Grüße
Martin
-
This reply was modified 12 years ago by
gator0815.
Hi Ignazio!
Please edit functions.php, find this code on line 98:
$avia_config['imgSize']['masonry'] = array('width'=>705, 'height'=>705 , 'crop' => false); // images for fullscreen masonry
Increase the width and height then regenerate the thumbnails.
Best regards,
Ismael
Hey Snerp!
Can you please give us a link to the website? You can edit functions.php to increase the image size for the ajax portfolio preview image, look for this code:
$avia_config['imgSize']['gallery'] = array('width'=>710, 'height'=>575 ); // images for portfolio entries (2,3 column)
Increase the width and height. Something like this:
$avia_config['imgSize']['gallery'] = array('width'=>900 'height'=>600 ); // images for portfolio entries (2,3 column)
Regenerate the thumbnails using this plugin: http://wordpress.org/plugins/regenerate-thumbnails/
Regards,
Ismael
Hey!
You can find the avia post navigation functions on functions-enfold.php:
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;
//dont display if a fullscreen slider is available since they overlap
if((class_exists('avia_sc_layerslider') && !empty(avia_sc_layerslider::$slide_count)) ||
class_exists('avia_sc_slider_full') && !empty(avia_sc_slider_full::$slide_count) ) $settings['is_fullwidth'] = true;
$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;
$tc1 = $tc2 = "";
$link = get_permalink($entry->ID);
$image = get_the_post_thumbnail($entry->ID, 'thumbnail');
$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'>".avia_backend_truncate(get_the_title($entry->ID),75," ")."</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;
}
}
Best regards,
Ismael
This reply has been marked as private.
Hi blaircomm!
1) You can install this plugin: http://wordpress.org/plugins/wp-gallery-custom-links/ to apply a custom link to the gallery images. You could use it to i.e link your square thumbnail images to another “full size” image.
2) If you need full control over the thumbnail size you can select the “Don’t show the images at all and display the preview text only” option: http://www.clipular.com/c/6453051829256192.png?k=5TIdSdjsRn87CQytVuQeUU4899A
By going this way Enfold will stretch the content area of the ajax preview to 100% width and then you can use the entire space to build your custom layout. I.e. use the gallery and column shortcodes to build your custom gallery preview. The advantage is that you can use the thumbnail size options: http://www.clipular.com/c/5101738725998592.png?k=HlLKLkHRaW2pCz2oP5_O7UD9Ozw to determine the size of the squared images. You can install a plugin like: http://wordpress.org/plugins/simple-image-sizes/ to define new thumbnail sizes.
I am using the “Child” theme, so in what files can I customize the blow-up size, background fades, and so on?
Do you want to change the portfolio ajax animations? If yes the theme does not allow you to customize these settings. You would need to modify the enfold/js/avia.js but this may require some customization work and depending on your coding skills I recommend to hire a freelancer. You also can’t overwrite the js file directly with the child theme. If you want to remove the default avia.js file and register a custom avia.js file insert this code at the very bottom of the child theme functions.php:
if(!is_admin()) add_action('wp_enqueue_scripts', 'avia_register_child_frontend_scripts', 100);
function avia_register_child_frontend_scripts()
{
$child_theme_url = get_stylesheet_directory_uri();
wp_dequeue_script('avia-default');
//register js
wp_register_script( 'avia-default-child', $child_theme_url.'/js/avia.js', array('jquery'), 1, false);
wp_enqueue_script( 'avia-default-child' );
}
and then place the modified avia.js into your child theme (enfold-child/js/avia.js).
3) Yes, if you want to open the full size image with the lightbox insert this code at the very bottom of your child theme functions.php file:
add_filter('avf_avia_builder_gallery_image_link', 'avia_change_gallery_thumbnail_link', 10, 4);
function avia_change_gallery_thumbnail_link($link, $attachment, $atts, $meta)
{
$link = wp_get_attachment_image_src($attachment->ID, "full");
return $link;
}
Best regards,
Peter
Hey tlow87!
You can find the logo on includes > helper-main-menu.php. Find the code on line 101:
echo avia_logo(AVIA_BASE_URL.'images/layout/logo.png', $addition, 'strong', true);
Best regards,
Ismael
Hi tlow87!
Everything was moved to the includes>helper-main-menu.php file to work with the new builder.
Cheers!
Devin
Hi Edna!
A single image is broken down or cropped into smaller thumbnails. The theme resizes the image and create smaller version of the thumbnails. You can find those thumbnail or image sizes on functions.php:
$avia_config['imgSize']['widget'] = array('width'=>36, 'height'=>36); // small preview pics eg sidebar news
$avia_config['imgSize']['square'] = array('width'=>180, 'height'=>180); // small image for blogs
$avia_config['imgSize']['featured'] = array('width'=>1500, 'height'=>430 ); // images for fullsize pages and fullsize slider
$avia_config['imgSize']['featured_large'] = array('width'=>1500, 'height'=>630 ); // images for fullsize pages and fullsize slider
$avia_config['imgSize']['extra_large'] = array('width'=>1500, 'height'=>1500 , 'crop' => false); // images for fullscrren slider
$avia_config['imgSize']['portfolio'] = array('width'=>495, 'height'=>400 ); // images for portfolio entries (2,3 column)
$avia_config['imgSize']['portfolio_small'] = array('width'=>260, 'height'=>185 ); // images for portfolio 4 columns
$avia_config['imgSize']['gallery'] = array('width'=>710, 'height'=>575 ); // images for portfolio entries (2,3 column)
$avia_config['imgSize']['masonry'] = array('width'=>705, 'height'=>705 , 'crop' => false); // images for fullscreen masonry
$avia_config['imgSize']['entry_with_sidebar'] = array('width'=>710, 'height'=>270); // big images for blog and page entries
$avia_config['imgSize']['entry_without_sidebar']= array('width'=>1030, 'height'=>360 ); // images for fullsize pages and fullsize slider
//overwrite blog and fullwidth image on extra large layouts
if(avia_get_option('responsive_layout') == "responsive responsive_large")
{
$avia_config['imgSize']['gallery'] = array('width'=>845, 'height'=>684 ); // images for portfolio entries (2,3 column)
$avia_config['imgSize']['entry_with_sidebar'] = array('width'=>845, 'height'=>321); // big images for blog and page entries
$avia_config['imgSize']['entry_without_sidebar']= array('width'=>1210, 'height'=>423 ); // images for fullsize pages and fullsize slider
}
It is quite normal for a wp installation to have different sizes for a single image.
Best regards,
Ismael