I came across this more recent post that addresses this issue: https://kriesi.at/support/topic/galery-pictures-load-effect
Hi,
Open up enfold/js/shortcode.js and search for following code around line 205:
//trigger displaying of thumbnails
gallery.on(‘avia_start_animation’, function()
{
images.each(function(i)
{
var image = $(this);
setTimeout(function(){ image.addClass(‘avia_start_animation’) }, (i * 110));
});
});
change it to:
//trigger displaying of thumbnails
gallery.on(‘avia_start_animation’, function()
{
images.each(function(i)
{
var image = $(this);
setTimeout(function(){ image.addClass(‘avia_start_animation’) }, (i * 110));
});
}).trigger(‘avia_start_animation’);
and the gallery thumbs should load immediately.
I have implemented it and it seems to work, but my question is, why hasn’t this been written into the code for us? It doesn’t make any sense to have to scroll down a complete page of thumbnail images before you get to see them not greyed out! Now I may have to amend the code everytime I do a theme update, so is there a good reason this fix hasn’t been applied to the code for us?
Thanks,
Matt
Hi! I’m just about ready to launch an awesome site using the enfold theme and lastly, my client wants to know if there is a way I can edit the search function.php (or code somewhere) so I can do a search of inventory on a different site (their back end) which is this:
http://www.ecinteractive.com/5874/EnhancedSearch.aspx?clear=1&keywords=Armoires+%26+Bookcases&newSearch=true
There must be a way I can edit the function.php so I can just route it to the backend search and use the key words input and do a search like:
http://www.ecinteractive.com/5874/EnhancedSearch.aspx?clear=1&keywords=[Text From WordPress Search]+%26+[Text From WordPress Search]&newSearch=true
Any suggestions? I would be so deeply appreciated for any help!!!
Thank YOU!!
Open up functions-enfold.php and replace:
$items .= '<li id="menu-item-search" class="noMobile menu-item menu-item-search-dropdown"><a href="?s=" data-avia-search-tooltip="'.$form.'">'.$avia_config['font_icons']['search'].'</a></li>';
with
if(is_user_logged_in())
{
$items .= '<li><a title="'.__('Logout','avia_framework').'" href="'. wp_logout_url(get_permalink()) .'">'.__('Logout','avia_framework').'</a></li>';
}
else
{
$items .= '<li><a title="'.__('Login','avia_framework').'" href="'. wp_login_url(get_permalink()) .'">'.__('Login','avia_framework').'</a></li>';
}
This will add a login link to the menu if the user is not logged in and a log out link to the menu if the user is logged in.
Hi,
I did some research into this and this shouldn’t be happening. If you go to fontello.com , can you see all the glyphs in ie8 ?
IE8 has problems with EOT files as IE9 and up falls back to TTF.
I reconverted all the font files from the ttf and they are different. They work for me but I don’t have IE8 to test them with.
http://www.mediafire.com/download/b719gbbz5cle4p6/fonts.zip <– here they are. Just open up /enfold/config-templatebuilder/avia-template-builder/assets/ and you will see the fonts folder. rename it to fonts-original, and upload the fonts folder in its place that is inside the zip. Please let us know if this does anything for ie8 or even Opera.
Thanks,
Nick
1) Personally I’d recommend to translate Enfold with Codestyling: http://wordpress.org/plugins/codestyling-localization/
2) Install & activate the plugin and go to Tools > Localization to translate all themes/plugins. Search for the Enfold theme in the list and use the the wp-contentthemesenfoldlang folder as base directory.
3) Click the button to generate the language files and then you can translate all text strings from the “avia_framework” textdomain (including the search results page).
Personally I’d recommend to use coodestyling: to translate the theme po files. Install the plugin, go to Tools > Localization and select “Themes”. Then search for “Enfold” select (or create) your language, scan the files and then translate the required strings from the “avia_framework” textdomain.
Hi,
Open up enfold/js/shortcode.js and search for following code around line 205:
//trigger displaying of thumbnails
gallery.on('avia_start_animation', function()
{
images.each(function(i)
{
var image = $(this);
setTimeout(function(){ image.addClass('avia_start_animation') }, (i * 110));
});
});
change it to:
//trigger displaying of thumbnails
gallery.on('avia_start_animation', function()
{
images.each(function(i)
{
var image = $(this);
setTimeout(function(){ image.addClass('avia_start_animation') }, (i * 110));
});
}).trigger('avia_start_animation');
and the gallery thumbs should load immediately.
1) The dropcaps seem to work for me just fine: http://www.screenr.com/N32H
2) Open up wp-contentthemesenfoldindex.php and search for:
$title = __('Blog - Latest News', 'avia_framework'); //default blog title
$t_link = home_url('/');
Replace it with
$title = __('Blog - Latest News', 'avia_framework'); //default blog title
$t_link = get_permalink();
and replace “Blog – Latest News” with your custom text.
3) Open up wp-contentthemesenfoldarchive.php and replace:
global $avia_config, $more;
with
global $avia_config, $more;
$avia_config['blog_content'] = 'excerpt_read_more';
The problem is that your table just contains tr and th elements but th elements should be used for table headlines only. Please use different elements for your data – the structure should be (like demonstrated here: http://kriesi.at/themes/enfold/shortcodes/pricing-and-data-tables/ ):
<tr class="avia-heading-row">
<th class="avia-desc-col">Geboren</th>
<td class="mytabledata">29.02.1973</td>
</tr>
In your case the structure is
<tr class="avia-heading-row">
<th class="avia-desc-col">Geboren</th>
<th class="avia-desc-col">29.02.1973</th>
</tr>
which will give you some weird styling because everything is coded as a headline. In addition search engines might have problems to index the data.
You can also add html code (and inline styling code) into the table fields – I made a short video to demonstrate the usage: http://www.screenr.com/Nk2H
Hi, I’ve recently purchased Enfold theme. I’ve managed to create a test site. However, when I tried to use Permalinks, I’m unable to get it to work other than the elementary default http://www.mydomain.com/?p=123
I’ve spent 2 days trying to figure out and searching google, tried every method I found but failed. At the minimum, I need “Almost Pretty” permalinks to work – http://codex.wordpress.org/Using_Permalinks#PATHINFO:_.22Almost_Pretty.22
e.g. http://mydomain.com/index.php/post-name/
I’m running WordPress Version 3.5.1 on Windows 2003 Server IIS6 and PHP5.
I’ve added the lines to PHP.ini
cgi.fix_pathinfo=1
cgi.force_redirect=0
PATHINFO is working on my server, I’ve tested with something like http://www.mydomain.com/phpinfo.php/HELLO_THERE
However, http://mydomain.com/index.php/post-name/ don’t work.
I’ve also tried the 404 method as described here- http://anaestrada81.wordpress.com/2008/10/03/almost-pretty-permalinks-for-wordpress-and-iis6-and-front-page/
The method also requires .htaccess file to be server writable. However, I can’t find the .htaccess file in the root directory of WordPress. I don’t want what this file should contain. I’ve tried adding the sample file in http://codex.wordpress.org/Using_Permalinks#Creating_and_editing_.28.htaccess.29 and assigned total control rights to “everyone”. After this, resetting the permanlink settings don’t appear to update the .htaccess file so I’m not sure if this file is needed in the first place.
Will appreciate any help. thanks.
I checked the portfolio grid code and it seems like you can’t control the preview thumbnail size at all. I’ll mark this thread for Kriesi – maybe he wants to add an option. For now open up wp-contentthemesenfoldconfig-templatebuilderavia-shortcodesportfolio.php
and search for:
$params['preview_size'] = "gallery";
Replace “gallery” with any other valid image size:
portfolio_small
portfolio
featured
square
entry_with_sidebar
entry_without_sidebar
1) Please use Codestyling: http://wordpress.org/plugins/codestyling-localization/ to translate the missing text strings. Install the plugin, go to Tools > Localization and select “Themes”. Then search for “Enfold” select (or create) your language, scan the files and then translate the required strings from the “avia_framework” textdomain.
2) Is this the default theme twitter widget? If yes I’d recommend to replace it with another widget because we removed it from the theme code. Twitter will shutdown the current api on June 11 ( http://www.mediabistro.com/alltwitter/twitter-delays-api-shutdown_b41602 ) and our widget does not support the new api. Thus the widget won’t work after June 11 anyway. You can use a plugin like http://wordpress.org/plugins/twitter-widget-pro/ which supports the new api. Because the new authentication process is very complex we decided that we won’t bundle a twitter widget with the theme anymore and we removed it in version 1.6.
Thanks everyone for all your support. We’ve dealt with lots of shop WP themes before and we’ve had such a good experience with Enfold that this will be our 4th license. Really glad you added WooCommerce functionality.
Thanks again
-Nicolas
Hi andreanapier1985,
I answered this question in your other topic with a similar question here: https://kriesi.at/support/topic/enfold-portfolio-excerpt#post-116487
Please only make a single topic for each support request as it makes it easier for others to search and for us to answer.
Regards,
Devin
Hi,
Yeh, I also saw that. That is not always there , it appears depending on the length of the word being searched for. Only 30 characters are allowed in this entire line .. and sometimes it gets cut off in middle of character encoded quotes “” as in "
Search results for “Снимок”…
I would cut the size of this ‘Результаты поиска для’ because that has too many letters, so the actual search term never gets printed. Try it like ‘ ‘Результат для” … or even smaller, since these are useless letters, while the keyword is useful
Thanks,
Nick
[edit] this reproduces it
http://kriesi.at/themes/enfold/?s=%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA%D0%A1
Open up enfold/js/shortcode.js and search for this code around line 205:
//trigger displaying of thumbnails
gallery.on('avia_start_animation', function()
{
images.each(function(i)
{
var image = $(this);
setTimeout(function(){ image.addClass('avia_start_animation') }, (i * 110));
});
});
change it to:
//trigger displaying of thumbnails
gallery.on('avia_start_animation', function()
{
images.each(function(i)
{
var image = $(this);
setTimeout(function(){ image.addClass('avia_start_animation') }, (i * 110));
});
}).trigger('avia_start_animation');
The gallery thumbs should then load immediately. A fade effect to another color is not possible.
Thanks Devin for the link, we’ll try to look into it deeply. We found a custom search bar from Google http://www.google.com/cse/ and were wondering if it’s compatible with Enfold or if you’re at all familiar with it.
Thanks
-Nicolas
Hey!
Looked into it now for some time and it might be much simpler than all of that ;D
Please try the following: open functions-enfold.php
and search for:
$form = htmlentities( ob_get_clean() );
Change it to:
$form = htmlspecialchars(ob_get_clean()) ;
Did the trick for me :)
Hi,
I am aware that its the anti virus software that blocking your IP, but since 200 million people use this software I thought you should know about the block.
—
Have you added the code above ( https://kriesi.at/support/topic/translating-search#post-115659 ) to your htaccess file? Because right now something is not properly setup with you server. Because if I enter a Russian word , your server doesn’t show it when looking at the search box under magnifying glass
http://www.zink.by/?s=%D1%83%D0%B1%D0%BB%D1%8E%D0%B4%D0%BE%D0%BA
http://www.clipular.com/c?7306002=zaxzxgULG0LZdRb933nV00JlEKc&f=.png
But when the same word is searched on kriesi’s website , it comes out normally
http://kriesi.at/themes/enfold/?s=%D1%83%D0%B1%D0%BB%D1%8E%D0%B4%D0%BE%D0%BA
http://www.clipular.com/c?7070039=zJLNVPcCZxA9WCgdHmsH0yehA0A&f=.png
After using that .htaccess , I also have no problems.
Thanks,
Nick
You can edit the meta information in wp-contentthemesenfoldincludesloop-index.php – search for:
echo "<span class='post-meta-infos'>";
echo "<span class='date-container minor-meta'>".get_the_time('d M Y')."</span>";
echo "<span class='text-sep'>/</span>";
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'>/</span>";
}
$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))
{
echo '<span class="blog-categories minor-meta">'.__('in','avia_framework')." ";
echo $cats;
echo '</span><span class="text-sep">/</span>';
}
echo '<span class="blog-author minor-meta">'.__('by','avia_framework')." ";
the_author_posts_link();
echo '</span>';
echo '</span>';
Open up wp-contentthemesenfoldframeworkphpclass-breadcrumb.php and delete following line:
$textdomain = 'avia_framework';
Then replace all occurences of
$textdomain
with
'avia_framework'
We’ll fix this in the next version. The problem is that WPML doesn’t “read” variables – thus it will only translate text strings if the textdomain is hardcoded.
Thanks for detailed reply, Nick.
Concerning correct code ( http://i.imgur.com/QxhJjzx.jpg ) – thank you, I see it is all good now!
But I got some more questions.
_______________________________________________________________________
You are right, there would be no comments and no blog on site
I added code to Quick CSS box and did not found something changed:
#top.search-no-results .widget.avia_combo_widget, #top.search-no-results .entry-content h3 {
display: none;
}
_______________________________________________________________________
What I did to solve encoding problem:
1) Opened functions-enfold.php, searchform.php and the function-set-avia-backend.php via Notepad++ and saved them to “UTF-8 without BOM”. Then I updated files via FTP.
2) Edited .htaccess according to you recomendations.
And after this nothing changed. May bу I missed something or I shoud edit only original php files with Notepad++? (I just had edited files that where previosly saved in Dreamwiever)
Thanks, Vitaly
Is there a way to specify the default excerpt length for blog posts in the Grid layout? If I choose “Multi Author Blog,” “Single Author, small preview Pic,” “Single Author, big preview Pic,” the excerpt is the correct length by default. As far as I can tell, the only one that’s messed up is the “Grid Layout.”
You can see what I’m talking about by going to TheCaliforniaPost.com.
I did some searching in the forum and found an answer, but it wasn’t for the default. It basically stated that you can go into each post and specify the excerpt one-by-one by going into screen options at the top, clicking excerpt, and then defining the excerpt… There has to be a way to set a default so that we don’t have to do each one individually..
Also, I’m looking into a new theme for a new project and I’m very impressed with Enfold. Do all of your themes have the Avia Layout builder as well as the updated theme options panel or is this just a feature included with the newest themes such as Enfold, Replete, Incarnation, etc?
Thanks!
Hi again…
Ok, ive done a search and deleted 17 .DS_Store files and have added a block app that will avoid adding them again (fingers crossed). Ive also deleted every single file except the ones ive put inside the Enfold-Child Theme folder. These are: FONTS folder (includes the Bebas set) and the ‘style.css’ file. Thats it!
Ive not touched the Enfold theme at all so now the only things ive added are within the CSS file.
The three issues however still exists!!
I guess I can abandon the idea of using the Fixed Header and revert to the scroll up version which would fix ISSUE 3 but that doesn’t resolve ISSUE 1 (Testimonial desc text) & ISSUE 2 (Colors)
Andy
continuation…
I took a longer look at this since my localhost experienced the same problem as yours. The problem comes from Dreamweaver (at least mine did). If using Notepad2 you open up the theme files you’ve edited with Dreamweaver, specifically functions-enfold.php, searchform.php and the function-set-avia-backend.php , and in Notepad++ the fifth menu item is Encoding. The file I edited to paste the same word you used for search saved in ansi format. After converting it back to UTF8 (5th menu item), i no longer got that bad character set in the search box.
If you go to the demo site of the theme kriesi.at/themes/enfold/ and type Russian into the search box there are no problems at all which makes me believe that the problem lies elsewhere since this is the identical theme you and I and the demo site use.
Open up .htaccess file located at the root of wordpress and add this to its top (if you don’t have that file just create it)
AddDefaultCharset utf-8
<IfModule mod_charset.c>
CharsetSourceEnc utf-8
CharsetDefault utf-8
AddCharset utf-8 .atom .css .js .json .rss .vtt .webapp .xml
</IfModule>
Thanks,
Nick
Hi Team,
we’re looking into purchasing another Enfold theme license for another website we’re creating. We’re looking to make something that has a large search bar to easily find products on the website.
As we really love enfold and it’s already very versatile to make whatever we’d like with it, the only obstacle we’ve encountered is to move the search bar somewhere just below the header, and to expand it to be long similar to search websites like, google, yahoo, amazon etc.
Do you have a code I can insert to move the search bar below the logo instead of being part of the main menu and extend the search to be longer something like this: http://demo.globalads24.com/wp-content/uploads/2013/05/Screen-shot-2013-05-31-at-7.34.05-PM-option-1.jpg or similar.
Thanks
-Nicolas
Tbh I’m not familiar with the google maps api and I can’t assist you with detailed instructions. But probably you can add it to the map print code in wp-contentthemesenfoldframeworkphpclass-framework-widgets.php – open up the file and search for
function avia_printmap($lat, $lng, $zoom, $type, $content, $directionsto) {
below this line you’ll find the google maps javascript code and there you should be able to insert your custom styling code, etc.
Hi and thanks for the answer.
I´m not interested in translating every word of the theme but all the words in english that the spanish users will read andt are written in english.
For example. When a sapnish user want to search something and click in the search button, the word that appears is “search, not “buscar” that is the word in spanish.
My english is medium and I don´t have problems with the english of the theme but spanish people is not like me.
I found the method to translate every word using CodeStyling Localization and creating a file I can edit. The problem is that I have to search every word that appears in english and translate manually. Is not a big problem but I would like to know if there is a file yet translated into my language (will earn much time)
In any case, thank you for the answer again an congratulations for the nice Enfold theme
Hi,
1.) Edit searchform.php, find this code
placeholder='<?php _e('Search','avia_framework')?>
2.) Edit functions-enfold.php, find this code
$output .= __("Sorry, no posts matched your criteria", 'avia_framework');
3.) Edit framework > php > function-set-avia-frontend.php
if($wp_query->found_posts > 1)
{
$output = $wp_query->found_posts ." ". __('search results for:','avia_framework')." ".esc_attr( get_search_query() );
}
else
{
$output = $wp_query->found_posts ." ". __('search result for:','avia_framework')." ".esc_attr( get_search_query() );
4.)
5.)
6.) You can add this on your custom.css
.search-no-results .widget.avia_combo_widget {
display: none;
}
.search-no-results .template-search h3 {
display: none;
}
Let me tag the rest of the support team for 4 and 5.
Regards,
Ismael