Hi!
In /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/portfolio.php replace both occurences of
$output .= '</header>';
with
$taxonomies = get_object_taxonomies(get_post_type($the_id));
$cats = '';
$excluded_taxonomies = apply_filters('avf_exclude_taxonomies', array('post_tag','post_format'), get_post_type($the_id), $the_id);
if(!empty($taxonomies))
{
foreach($taxonomies as $taxonomy)
{
if(!in_array($taxonomy, $excluded_taxonomies))
{
$cats .= get_the_term_list($the_id, $taxonomy, '', ', ','').' ';
}
}
}
if(!empty($cats))
{
$output .= '<span class="blog-categories minor-meta">';
$output .= $cats;
$output .= '</span>';
}
$output .= '</header>';
Best regards,
Peter
This reply has been marked as private.
Hi,
I have noticed I have some render blocking JavaScript and CSS in the above fold content.
Some of it appears to relate to enfold.
I think some of it is because I updated to 3.6.1
Below is the messages I got:
Your page has 9 blocking script resources and 13 blocking CSS resources. This causes a delay in rendering your page.
None of the above-the-fold content on your page could be rendered without waiting for the following resources to load. Try to defer or asynchronously load blocking resources, or inline the critical portions of those resources directly in the HTML.
Remove render-blocking JavaScript:
http://diabetes2.com.au/wp-includes/js/jquery/jquery.js?ver=1.10.2
http://diabetes2.com.au/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1
http://diabetes2.com.au/wp-content/themes/enfold/js/avia-compat.js?ver=1
http://s0.wp.com/wp-content/js/devicepx-jetpack.js?ver=201342
http://diabetes2.com.au/wp-content/themes/enfold/js/avia.js?ver=1
http://diabetes2.com.au/wp-content/themes/enfold/js/shortcodes.js?ver=1
http://diabetes2.com.au/wp-content/themes/enfold/js/prettyPhoto/js/jquery.prettyPhoto.js?ver=3.1.5
http://diabetes2.com.au/wp-includes/js/mediaelement/mediaelement-and-player.min.js?ver=2.13.0
http://diabetes2.com.au/wp-includes/js/mediaelement/wp-mediaelement.js?ver=3.6.1
Optimize CSS Delivery of the following:
http://diabetes2.com.au/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/css/avia-media.css?ver=3.6.1
http://diabetes2.com.au/wp-content/plugins/captcha/css/style.css?ver=3.6.1
http://diabetes2.com.au/wp-content/themes/enfold/css/grid.css?ver=1
http://diabetes2.com.au/wp-content/themes/enfold/css/base.css?ver=1
http://diabetes2.com.au/wp-content/themes/enfold/css/layout.css?ver=1
http://diabetes2.com.au/wp-content/themes/enfold/css/shortcodes.css?ver=1
http://diabetes2.com.au/wp-content/themes/enfold/js/prettyPhoto/css/prettyPhoto.css?ver=1
http://diabetes2.com.au/wp-content/themes/enfold/js/mediaelement/skin-1/mediaelementplayer.css?ver=1
http://diabetes2.com.au/wp-content/uploads/dynamic_avia/enfold.css?ver=1
http://diabetes2.com.au/wp-content/themes/enfold/css/custom.css?ver=1
http://diabetes2.com.au/wp-content/plugins/wp-about-author/wp-about-author.css?ver=3.6.1
http://diabetes2.com.au/wp-content/plugins/wordpress-23-related-posts-plugin/static/themes/vertical-m.css?version=2.9
http://fonts.googleapis.com/css?family=Open+Sans:400,600
After some research I realised some of the problem is because WordPress 3.6 uses the newer (latest) version of jQuery, which is 1.10.2.
I read that 1.10 is higher than 1.2, but older versions of the jQuery.BlockUI code used by plugins have a little ‘buglet’ – the code tests for versions BUT drops the trailing ‘0’, so instead of asking is 1.10 greater than 1.2, it tests if 1.1 is greater than 1.2, and so it fails.
I would just like to make this work better and wonder what I need to do differently, I deactivated all my plugins but that did not help so I am stumped and as for the ones that refer to enfold I have no idea what to do with those.
-
This topic was modified 12 years, 5 months ago by
LollyGreen. Reason: put in wrong info
Hey!
For me it works now: http://www.screenr.com/NxtH – please try to clear the browser cache. If it still doesn’t work for you deactivate all plugins except Enfold, WooCommerce, BBPress and WordPress SEO and check if it starts to work. If yes another plugin conflicts with the theme and you need to activate them one by one to find the culprit.
Cheers!
Peter
Thanks for your help much appreciated, I will read the article and see if I can understand it enough to make some changes.
I do not find an option to search the support forum just for topics related to enfold theme? What i use now is the button on the top right.
I find this very confusing. Am i mising something?
Kind Regards,
Simon
This reply has been marked as private.
This reply has been marked as private.
Hello Easy123!
1) Please see https://kriesi.at/support/topic/make-excerpt-shorter/#post-172121
2) You can change the blog layout on the option page (Enfold > General Settings > Blog Style). It will affect the blog page and archive pages. The search page and the author pages do not support the blog grid layout at the moment though.
3) The search page displays the “Displayed Everywhere” widgets. You can add a widget to this widget area to remove the dummy widgets on the search page too or (if you don’t want to add a widget to the “Displayed Everywhere” area open up sidebar.php and delete
if ($default_sidebar)
{
avia_dummy_widget(2);
avia_dummy_widget(3);
avia_dummy_widget(4);
}
Regards,
Peter
That is very good Yigit, thank you!
Hopefully this would be included in a future update of Enfold as well, so all users can benefit from this.
Regards
Hey!
Yes but unfortunately I don’t have a native install of IE8. I tested it with IETester and IE10 developer console and both showed the images.
Cheers!
Peter
Hey primarythoughts!
You can use the “Section” element and the “Section ID” option field ( http://www.clipular.com/c?15355001=E5WI9n7gMEVrPtET9P9LVatQQuo&f=.png ) to create “one page” sites. Make sure each section has an unique id, then add custom links to your menu which point to the sections. You can use a hashtag (#) to link to a section.
I.e. Kriesi used the section ids here: http://kriesi.at/themes/enfold/homepage/home-v7-one-page-portfolio/ to create a one page portfolio. If you want to scroll to the section with the id “about-us” the link is: http://kriesi.at/themes/enfold/homepage/home-v7-one-page-portfolio/#about-us , if you want to scroll to the section “team” the link is: http://kriesi.at/themes/enfold/homepage/home-v7-one-page-portfolio/#team
Basically you take the page link http://kriesi.at/themes/enfold/homepage/home-v7-one-page-portfolio/ and then you can append the section id with a hashtag (#team or #about-us, etc.). Note that the section id must not contain “special characters” and I recommend to avoid spaces too.
Regards,
Peter
Ismael, thanks for the prompt and helpful reply!
I tried what you suggested at this mockup website:
http://wp.atrico.com.au
The smooth scrolling works, but I’m having a few problems:
1) When I manually scroll to a section, the section’s navigation menu item is not highlighted. This is the case even if the menu contains only hashtag labeled sections.
2) If I add links to another page in the top menu, the “Section 1” menu item remains highlighted all the time. I did a search and found it might be related to the same problem discussed here.
thanks,
kheong
Hello!
I fixed it on your server.
1) You modified functions.php which broke the theme editor.
2) The “Use Google Libraries” does not work properly and breaks the admin page. Please stick to the default wordpress script files.
Best regards,
Peter
This reply has been marked as private.
installed enfold today, looked over sample data, deleted posts pages and menu
now, when puttign up pages, I can not make a menu stick- there is recent post with same issue due to large menu and htaccess, however I have just 2 items in my menu. when checking the box, it does not stay checked, and all pages appear in full page title, not with the specified words in the menu setting.
also, I loaded a logo of right size, it flashes on then disappears
I have nav items all over the page.
pls help
http://www.smasource.com
Hey!
You’re using a 3 column layout but you’re uploading small featured images. Please try larger images as featured image for products. Suggested minimum width should be 400px.
Regards,
Ismael
Hello DDamjanovic!
Maybe the device is running low on memory. Please close all apps then remove browser cache or history then load the page again.
Cheers!
Ismael
The buttons that we place onto our pages have somehow lost their styling. I don’t know what has caused this. I just reset the styling of our theme back to the default splash blue and removed all custom CSS quick styles as well.
This still shows the buttons as being unstyled or not completely styled.
You can take a look on this page here:
http://mastccs.org/student-life/cafeteria/
The buttons right at the top of the page show the issue.
Thanks!
Turns out that this issue was separate from Enfold. It is due to an issue with our menu being too big and the POST not going through because it contained too much data.
To fix this, I added this to our .htaccess and this fixed it right up!
php_value max_input_vars 10000
Thanks!
Hi. I’m using the ENFOLD theme (great theme) and the website has been set up for a couple of months. I have just tried to add a new image and I keep getting an error. It crunches through and then I get “An error occurred in the upload. Please try again later.”
Can you please take a look at this?
My site is jaksa.com.au
Regards, Melinda
I am havign the same issue- bought enfold today, and it does not appear to abide by the wordpress menu controls. it’s put all pages into two menu rows, not the menu I had built in appearance>menu. when I check box to make it the enfold main menu then save, next time I go to menu it’s not specificed as the menu, and the site remains with a jumble of pages on the nav bar.
I made (the mistake?) of looking at the demo content at first, perhaps that is the issue? it’s all jacked up now
site – SMAsource.com
Hey!
@fusion1: You can hide them using this on your custom.css or Quick CSS:
.avia-slideshow-arrows.avia-slideshow-controls {
display: none;
}
.avia-slideshow-dots.avia-slideshow-controls {
display: none;
}
Regards,
Ismael
This reply has been marked as private.
Theme: Enfold
We want to remove the entire top menu navigation and logo area on selected pages. Not all pages, just a few.
We want to use the query string in the URI rather than changing a global setting using CSS so that it doesn’t affect all pages and
we can control which pages have the top nav menu area.
Q1. So, how do we remove the entire top navigation and logo from selected pages using an IF/Else loop in the functions file of a Child Theme?
We prefer to do this server side rather than javascript due to reliability reasons for browsers using a PHP header request of
$_SERVER[‘HTTP_HOST’]
Basically this in a nutshell:
If
pageid=XXXX
// remove nav id
Else
//show id
I assume this is not already built into the backend of Enfold or Worldpress. If so, please share link to a reliable plugin, or specific code in your template.
We are not asking for exact code to remove a specific page id at this point. We need a general framework for the function and
we will be able to manipulate it from there. We are competent PHP coders.
We do not have a online link to share because we are testing your template on Localhost using Xampp.
Thanks.
Hello!
1.) Deselect the Blog page on Enfold > Theme Options > And where do you want to display the Blog?. Go to Enfold > General Settings > Blog Style > select other style other than Grid Layout. Edit your Blog page, switch to Advance Layout Builder then insert the Blog Post element. Select the Grid Layout as blog style. You will have a Blog page with Grid Layout and still have single posts with featured image.
2.) IE8 (and lower versions) and Firefox prior to 3.5 does not support media query and safari 3.2 partially support it. there are a couple of techniques available which use JavaScript to add support to these browsers. You might need to hire a freelance developer to modify the theme for you. You can add this on your custom.css or Quick CSS:
.responsive_large .container {
width: 1210px;
}
3.) Can you please give us a link to the product page with the “You might also like” section?
Best regards,
Ismael