Hi!
You should go to enfold\includes folder and open open loop-index.php file. Then search for
if ( get_comments_number()
It is the starting of the first line as shown here http://i.imgur.com/G12RLk5.jpg
so you should replace
if ( get_comments_number() != "0" || comments_open() ){
echo "<span class='comment-container minor-meta'>";
comments_popup_link( "0 ".__('Comments','avia_framework'),
"1 ".__('Comment' ,'avia_framework'),
"% ".__('Comments','avia_framework'),'comments-link',
"".__('Comments Disabled','avia_framework'));
echo "</span>";
echo "<span class='text-sep text-sep-comment'>/</span>";
}
with following
//if ( get_comments_number() != "0" || comments_open() ){
//echo "<span class='comment-container minor-meta'>";
//comments_popup_link( "0 ".__('Comments','avia_framework'),
// "1 ".__('Comment' ,'avia_framework'),
// "% ".__('Comments','avia_framework'),'comments-link',
// "".__('Comments Disabled','avia_framework'));
//echo "</span>";
//echo "<span class='text-sep text-sep-comment'>/</span>";
//}
Regards,
Yigit
Hi Smaskit6!
Please go to wp-content\themes\enfold\js\prettyPhoto\js folder and open jquery.prettyPhoto.js file and search “allow_resize:true” and change it to “allow_resize:false”
Best regards,
Yigit
Hi fsatechnology!
I didn’t test the modification but you should be able to replace the icon with the search form. In functions-enfold.php replace
if ((is_object($args) && $args->theme_location == 'avia') || (is_string($args) && $args = "fallback_menu"))
{
global $avia_config;
ob_start();
get_search_form();
$form = htmlspecialchars(ob_get_clean()) ;
$items .= '<li id="menu-item-search" class="noMobile menu-item menu-item-search-dropdown"><a href="?s=" data-avia-search-tooltip="'.$form.'" '.av_icon_string('search').'></a></li>';
}
return $items;
with
if ((is_object($args) && $args->theme_location == 'avia') || (is_string($args) && $args = "fallback_menu"))
{
global $avia_config;
ob_start();
get_search_form();
$form = htmlspecialchars(ob_get_clean()) ;
$items .= '<li id="menu-item-search-form" class="noMobile menu-item">'.$form.'</li>';
}
return $items;
However the function does not allow you to place the search form in anywhere you want to – you can only insert it at the very beginning or at the very end of the menu.
Regards,
Peter
Hi, I have just updated to the latest Enfold version and now my blogs are showing the whole post rather than a summary. I have searched the forum and cannot find a solution, but i know it is here as I have done it before.
There was a solution saying insert the more quick tag but how do i do that for existing posts.
There was also a suggestion to change the following script
$current_post[‘content’] = get_the_content(__(‘Read more’,’avia_framework’).'<span class=”more-link-arrow”> →</span>’);
to
$current_post[‘content’] = get_the_content(__(‘Read more’,’avia_framework’).'<span class=”more-link-arrow”> →</span>’);
if(!is_single()) $current_post[‘content’] = get_the_excerpt();
But i cannot find this string anywhere.
Please help as it was fine before the update
Thanks
Steve
-
This topic was modified 12 years, 3 months ago by
Stevenbegg.
did not work…I’m using the non-fixed header with social icons and additional nav….
here is the site: http://cl.ly/3l1m473I1Z44
any other thoughts….using enfold 2.0.1
Hey cxvaldes!
Please go to wp-content\themes\enfold\framework\php folder and open class-framework-widgets.php file and search
if($this->add_cont == 2) echo
and add target=”_blank” to a tag as shown here http://i.imgur.com/5KSc5zR.jpg
Cheers!
Yigit
-
This reply was modified 12 years, 3 months ago by
Yigit.
Hi!
Please undo all changes i have provided earlier about header size. And go to wp-content\themes\enfold\js folder and open avia.js file and search
newH = el_height - st;
and change it to
newH = 100;
That should do it.
Best regards,
Yigit
Hi, and first of all thanks a lot for this great theme.
I made a search through the forum and didn’t find the answer I was looking for, so I hope I’m not posting a duplicate.
I’m trying to add some custom css in the custom.css file, but it’s not loading. You can see here what I’m talking about.
The custom.css loaded is wp-content/themes/enfold/css/custom.css?ver=1 , if I remove the ?ver=1 it links to the right, modified custom.css.
Why is this and how can I fix this ?
Sorry if it’s some WordPress trick I don’t know about or something really stupid, I’m not a developper !
Thanks in advance
Hi!
Yes, the reason is that the hover effect will be deactivated if the image height is smaller than 100px (there’s simply not enough space to show the icon for smaller images). We’ll remove the hover effect from all logos in the next version. If you need a quickfix open up /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/logoslider.php and on line 415 search for following code
$output .= "<div {$data} class='avia-logo-element-container {$border} avia-logo-{$type} avia-content-slider avia-smallarrow-slider avia-content-{$type}-active avia-content-slider".avia_partner_logo::$slider." avia-content-slider-{$total} {$class}' >";
and replace it with
$output .= "<div {$data} class='avia-logo-element-container {$border} avia-logo-{$type} avia-content-slider avia-smallarrow-slider avia-content-{$type}-active noHover avia-content-slider".avia_partner_logo::$slider." avia-content-slider-{$total} {$class}' >";
Best regards,
Peter
Hi!
Yes – use Codestyling instead: http://wordpress.org/plugins/codestyling-localization/
Install the plugin, go to Tools > Localization and select “Themes”. Then search for “Enfold” in the list and select “Swedish”. Then click on “Rescan” to fetch all text strings. Afterwards click on “Edit” and translate the required strings from the “avia_framework” textdomain. At least click the “create mo file” button next to the “Textdomain” selection dropdown (top left corner).
Cheers!
Peter
Hey!
But the translation seems to work for me – i.e. here http://www.yourturn-consulting.se/ the “Search” form shows “Sök” instead of “Search”. Also here: http://www.yourturn-consulting.se/?s=test all phrases/words except “If you are not happy with the results below please do another search” are translated and this sentence is probably also missing in the translation files.
Regards,
Peter
Hey Laurence!
No limit on the number of them. They are searchable in that you can search using the WordPress search function but it isn’t a great search so you will want to create a dozen or so and then get a consistent method of adding in your text so that it gets picked up by WordPress’ search.
Categories are in place and you can see them in the demo here visible as the sorting option http://kriesi.at/themes/enfold/portfolio/
Best regards,
Devin
This reply has been marked as private.
Hi!
Please update your theme to Enfold 2.4.1. You’re using 1.8.4 at the moment and we need to make sure that you’re using the latest version of the theme before we start to search for bugs, etc.
Best regards,
Peter
Hi,
I just installed Enfold on a new domain, downloaded the Dummy Data, then created 9 pages and erased all the others from the Dummy Data.
If I search on Google for barcelonasitgesterrace.com I get all the pages listed (68!) and not just the 9 pages that are currently there. Besides, and that’s the most important thing, the meta description doesn’t appear.
If you do a search on Goolge, you’ll see what I mean.
How do I get Google to show for example the Homepage with its appropriate meta description, which I already created with Yoast SEO?
Do I have to re create a xml sitemap and send it over to Google? I guess Yoast did that upon installation and before I erased the Dummy Data, which may explain why I get the wrong search results?
Thanks!
Antonio
Hi guys
A) This might be number one stupid question but how do I control my H1, H2, H3 etc and body with my Enfold theme? I’ve been searching for answers with no luck.
E.g. I don’t want Enfold to bold my headers on this page http://isokvik.dk.linux31.unoeuro-server.com/?page_id=761
B) On the same website I would like to experiment with having a border around the site and to regulate the site padding. How do I do that? A bit like what I’ve done on this site http://fintessdoktoren.dk/.
C) I would also like to experiment with making shadow of the whole page on the backbround image. Any advice heres?
Thanks
Martin
Hey basilicon!
Please go to wp-content\themes\enfold\js\prettyPhoto\js folder and open jquery.prettyPhoto.js file and search “Expand the image”
Cheers!
Yigit
Hi
I am using the portfolio items as a product portfolio for a manufacturing company that has about 500 products. Each product portfolio has 4-6 photos about 600×400 px in size.
Is there a limit to the amount of portfolio items I can create?
After creating them, are they searchable?
Can I categorize them and use the categories as a menu items?
Thank you for your answer in advance.
Laurence
Hi Gekko101!
In your WordPress theme directory please go to wp-content\themes\enfold\framework\php folder and open function-set-avia-frontend.php file and search for “Archive for category:” it should be on 838th line. You can remove it there
Regards,
Yigit
Hi!
Open functions-enfold.php:
Search for this lines (341-343):
$entries['prev'] = get_previous_post($same_category);
$entries['next'] = get_next_post($same_category);
Replace them by this:
$entries['prev'] = get_next_post($same_category);
$entries['next'] = get_previous_post($same_category);
Best regards,
Josue
Hi Nora!
Since when are you using Enfold?
It could take some time until the new title gets indexed.
Regards,
Josue
Hi basilicon!
What version of Enfold are you using?
I think that behavior is already here /includes/loop-search.php (line 95):
$excerpt = strip_shortcodes( get_the_content() );
Cheers!
Josue
Hi there!
When search my site on google it appears but it doesn’t have a title. If you make the search binocle lab on google you’ll know what I mean.
The title appears under the name (“Untitled Document”).
I’ve downloaded YOAST wordpress SEO but it doesn’t seem to work. I have checked the Header.php and changed this: <?php if(function_exists('avia_set_title_tag')) { echo avia_set_title_tag(); } ?>
for this
<title><?php wp_title(''); ?></title>
I’ve also located the source code of the website and the <title></title> appears as Binoclelab (not Untitled Document).
I DON’T KNOW WHAT ELSE TO DO. This is my second enfold website and the first one didn’t have this problem.
I would appreciate any help provided!
Greetings and thanks,
Nors
-
This topic was modified 12 years, 3 months ago by
norasp.
Hi!
2) Please go to wp-content\themes\enfold\js\prettyPhoto\js folder and open jquery.prettyPhoto.js file and search for
allow_resize:true,allow_expand:true
and change it to
allow_resize:false,allow_expand:true
Cheers!
Yigit
Hello,
I am in final stages of completing our website and must say, that this theme and the theme support is awesome. I never regretted spending my money on enfold theme. But there is still one last thing I need to find out.
I really need the ability to handle shortcodes in post sliders / grid layouts (within the excerpt). Each excerpt should e.g. start with an icon, but the excerpt just outputs the shortcode term for the icon. I tried the advanced excerpt plugin, which helps me display shortcodes inside the excerpts of blog elements, but is no help with any grid element.
I did some research, but couldn´t find a solution. The topic that came closest to my question was this https://kriesi.at/support/topic/dropcap-2-and-post-sliders/ – but the provided code didn´t work for me.
I appriciate any help. Thanks!
Hi absmith55!
You can undo changes you have done and add following code to Quick CSS in Enfold theme options to remove search icon from main menu
#top .menu-item-search-dropdown > a { display: none; }
Regards,
Yigit
Hi
I’ve been searching the forum and trying different settings in the Enfold-theme options and menu options, but I can’t figure out how to remove the entire menu with logo and all.
http://www.intouchprogram.se
Menu includes home home Portfolio blog etc
Best regards, Oskar
I believe I have found a bug. When I tried to remove the search icon from the main menu it caused an error on the site. When I uncheck “Append search icon to main menu” in the Enfold settings and save, then go to my site, the images, sliders, galleries don’t load. I think this is because javascript isn’t loading.
I checked the developer toolbar and I’m getting this error:
Uncaught TypeError: Cannot read property ‘left’ of undefined avia.js?ver=1:232
adjust_menu_width avia.js?ver=1:232
avia_resize_menu avia.js?ver=1:359
(anonymous function) avia.js?ver=1:15
c jquery.js?ver=1.10.2:3
p.fireWith jquery.js?ver=1.10.2:3
x.extend.ready jquery.js?ver=1.10.2:3
q jquery.js?ver=1.10.2:3
Please help ASAP. Thanks!