Adding that code as well removes the entire breadcrumb, leaving only “You are here:” –
Just to confirm, I’ve added both of these suggestions to the end of the functions.php file.
require_once( ‘functions-enfold.php’);
add_action(‘after_setup_theme’,’avia_remove_portfolio_breadcrumb’);
function avia_remove_portfolio_breadcrumb(){
remove_filter(‘avia_breadcrumbs_trail’,’avia_modify_breadcrumb’);
}
if(!function_exists(‘avia_modify_single_portfolio_breadcrumb’))
{
function avia_modify_single_portfolio_breadcrumb($trail)
{
if(!is_single() || get_post_type() != ‘portfolio’) return $trail;
$category = get_the_category(get_the_ID());
$newtrail = array();
$parents = get_the_term_list(get_the_ID(), ‘portfolio_entries’, ”, ‘$$$’, ” );
$parents = explode(‘$$$’,$parents);
if(!empty($parent_item[0])) $newtrail[] = $parent_item[0];
return $newtrail;
}
add_filter(‘avia_breadcrumbs_trail’,’avia_modify_single_portfolio_breadcrumb’);
}
Try again? Thanks…
Unfortunately it won’t work. Thanks for the info, though. Perhaps one day it will be added to the theme by default.
Hi!
I’m wondering how to change the title and the text of the reaction form.
I’m using the Dutch language in Enfold and my reaction form starts with the title:
“Laat een reactie achter” and then two lines text:
“Wilt u zich mengen in de discussie?
Voel u niet bezwaard om bij te dragen!”
At the end of the form it says:
De volgende HTML tags en attributen zijn toegestaan: […] Followed by some html codes.
I would like to be able to change the title and the two following lines of text (preferable just for a particular page), and completely omit the section that deals with HTML.
Thanks in advance for your help!
Hi Ismael,
Thanks for your reply, this solution is not what I am looking for. It involves installing another plug-in. What I would like is using the lightbox script that came with the Enfold theme. Maybe with some kind of shortcode or tag like rel=”lightbox”
But I understand this is not possible without coding?
Regards, Ariane
This reply has been marked as private.
Hi ttem!
Please try a different minify plugin like this: http://wordpress.org/plugins/bwp-minify/
Best regards,
Ismael
I’ve been researching sites that use your theme as well as other “flat design” sites. One feature I really like is the panels that change to show information on mouseover. This site – http://www.plusplusminus.co.za/ has many examples of what I want to do.
Being new to Enfold, is there any tutorials on how to get this effect? I just need a starting point to be able to figure out how to do this as I think I will be making extensive use of this feature.
Appreciate your help.
Hi Devin,
With the previous versions of wordpress the admin bar appears when de user is logged in allways.
The parametrization, by defect, is “view admin bar”.
With new version don’t appears, I don’t know if is a problem (or new funcionality) of wordpress or enfold, but with this code is solved adding in “functions-enfold.php”.
if (is_user_logged_in())
{
add_filter(‘show_admin_bar’, ‘__return_true’);
}
else
{
add_filter(‘show_admin_bar’, ‘__return_false’);
}
Thanks so much!!!
Xavier.
If I have my parenthesis and apostrophe’s in the other order I get errors on the site.
Parse error: syntax error, unexpected T_STRING, expecting ‘,’ or ‘;’ in public_html/wp-content/themes/enfold/includes/helper-main-menu.php on line 106
Copied your code directly and it doesnt through errors now. but still wont resize.
Glad you got yours working :)
Where abouts did you place your code btw? are you able to do a /code for me to show placement? incase its something as simple as that.
-
This reply was modified 11 years, 1 month ago by
corepart.
I’m trying to recreate a layer slider for my site http://thecompletemarketingsolution.co.uk/. When I add a new slider it says saved, but no sliders appear in the list.
So I did a further investigation and found out that an old plugin version of”mailchimp” was causing the issue.
Whenever I deactivated it, the editing language in the cookie would change correctly (depending on the language of the page/post I worked on), but as soon as I activated it, the cookie would keep the setting to english. Although I was editing a german page…
Updating to “MailChimp for WordPress” (v1.5.7) made it work again.
Hope this helps anyone experiencing the same issue…
Combination of:
Enfold: v2.6.2
Mailchimp: v1.4.1 (doesn’t work)
MailChimp for WordPress: v1.5.7 (does work)
WPML: v3.1.4
-
This reply was modified 11 years, 1 month ago by
jan_gehrke.
The error messages that was shown point to row 33 in avia-shortcodes/masonry_entries.php and there is a start_session() feature, in the function extra_assets. Like I said, more testing is required.
Hi gorans!
1) Any child theme set up as a child of enfold is compatible though when importing in the parent theme settings you may need to tweak things a bit. At the very least go into the styling options and re-save your settings and then the same in your WordPress menus manager.
2) The functions.php has the settings for the layouts on lines 141-144. You can copy and past theme into your child theme to overwrite the data.
Regards,
Devin
Hi!
This is the first I’ve ever come across something like it so from the basic description you’ve given my guess would be either a plugin or a host setting. On my company dev server I’ve not had any issues and its been running various versions of the theme since its release.
Tweet Kriesi a link to your blog post or post it here and we can take a look deeper based on the additional information. Or if you have more information we can see you can post it here as a private reply.
Best regards,
Devin
Hey Pedro!
This will most likely not ever happen unless WordPress core offers an implementation of it. There are actions and filters in place when a theme author wants to offer flexibility on sections and get_template_part for fully replacing files. On top of that there is if(!function_exists
so that you can replace functions which are meant to and planned to be replaced.
With Enfold specifically, you can already completely overwrite the parent files by setting the use_child_theme_functions_only to true which lets you then include everything yourself.
At that point however you would be better off modifying the parent theme by forking it using something like git. Then track any changes and merge them into your new branch.
Best regards,
Devin
Hi evtilsley!
I’m not quite clear on what you mean or are trying to do. If you want to set up the regular WooCommerce shop page you can do that from the WooCommerce options by default. See:http://kriesi.at/documentation/enfold/quick-start-with-woocommerce/
The slider element would be for a singular instance of a few products on a page.
Best regards,
Devin
Josue: A clean WP install with a fresh copy of Enfold will be used later this week. Feel free to close this thread, I will blog about the results instead.
Hi Christie!
See if the video here helps: http://kriesi.at/documentation/enfold/install-enfold-over-ftp/
If there is one of many issues installing through the WordPress admin installing over FTP bypasses them pretty easily and without much fuss.
Best regards,
Devin
Thanks Dude. Actually I took this up with Mailpoet too and thye came back to me last night admitting that their latest release had a bug and I should delete the wysija newsletters folder using ftp then re-install mailpoet plugin from wordpress.
I’ve done this and now Mailpoet is ok – i.e. I am now able to edit my pages again in Enfold.
Best wishes,
Derek
Thanks Peter. I have removed polylang now – I suppose you could see that? So now WPML is what I should rely on – right?
The translations show fine now on both languages.
However the site is still awful slow. I have run the site through https://developers.google.com/speed/pagespeed/insights/ – and many things has to be done. Do you have any suggestions how to do this besides optimizing the images? I have installed W3 Total Cache – do you think it can help out speeding up the loading time?
Regards,
Eva
This reply has been marked as private.
Hey!
I just replaced
if(defined('ICL_SITEPRESS_VERSION') && defined('ICL_LANGUAGE_CODE'))
with
if(defined('ICL_LANGUAGE_CODE'))
The reason is that polylang claims to support WPML functions (see: http://polylang.wordpress.com/documentation/documentation-for-developers/compatibility-with-the-wpml-api/ ) and I thought that it might work with Enfold out of the box because we also rely on the WPML api. But unfortunately it does not work and it seems like additional work would be required to make the plugin/theme fully compatible.
Cheers!
Peter
Hi Anja!
It’s a slide background image: http://www.clipular.com/c/4973811883573248.png?k=s_N_mtFGyEli78kC_1BWdIL2VMQ – it does not affect the entire slider like the “Global Settings” background but just one slide. You can’t find it in the media gallery because wordpress won’t import it as media attachment when you import the slider/theme demo data. If you want to add the image to your media gallery you can download the image here: http://kriesi.at/themes/wp-content/themes/enfold/config-layerslider/LayerSlider/avia-samples/slide1_Layer_1.png and then upload it by using the media gallery uploader.
Regards,
Peter
Hey bleepstudio!
In enfold/functions.php search for:
'cart' => array( 'font' =>'entypo-fontello', 'icon' => 'ue859'),
and replace ue859 with any other char code. You can use the icon shortcode “char selector”: http://www.screenr.com/MYsN to get the character code.
Best regards,
Peter
Hi!
Open up wp-content/themes/enfold/includes/loop-search.php and replace:
$post_format = get_post_format() ? get_post_format() : 'standard';
with
$current_post = array();
$current_post['the_id'] = get_the_ID();
$current_post['post_format'] = get_post_format() ? get_post_format() : 'standard';
$current_post['content'] = get_the_excerpt();
$current_post['content'] = empty($current_post['content']) ? strip_shortcodes( get_the_content() ) : $current_post['content'];
$current_post['title'] = get_the_title();
$current_post = apply_filters( 'post-format-'.$current_post['post_format'], $current_post );
extract($current_post);
and replace:
echo "<h2 class='post-title entry-title'><a title='".the_title_attribute('echo=0')."' href='".get_permalink()."' $markup>".get_the_title()."</a></h2>";
with
echo "<h2 class='post-title entry-title'><a title='".the_title_attribute('echo=0')."' href='".get_permalink()."' $markup>".$title."</a></h2>";
Best regards,
Peter
Thank you, I figured it out.
Regards,
Eva
Hi abedia!
IE8 doesn’t support a lot of modern css which is why there will be cases that it doesn’t look quite right. The header background should still show however so if you can provide a link to the site we’ll see whats going on.
The width is dependent on the browser support media queries which IE8 does not. You can use a plugin to try and force IE8 to use media queries as a hack: http://wordpress.org/plugins/respondjs/
Regards,
Devin