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
Hi:
I´m a spanish user so my english is not so good. I am a begginer making wordpress pages and Enfold is the firs theme I bought (amazing, congratulations)
My problem is about the languaje for the theme because there are to many words in english (like search instead buscar or news instead noticias etc) How can I fix the problem? I read about a file called es_ES.po (or something like that) but I don´t know where can I get it.
Thank you very much in advance and congratulations again.
1) You need to update your theme to version 1.3. I’d recommend to use the latest version (1.5 or 1.5.1).
2) Go to Enfold > Header and search for the “Responsive Header Main Menu” option. Select “Display as Slide Out” from the dropdown.
Yes sure – you can add your code to wp-contentthemesenfoldincludesloop-search.php. Eg for a read more button replace:
the_excerpt()
with
the_excerpt();
echo '<div class="read-more-link"><a href="'.get_permalink($the_id).'" class="more-link">'.__('Read more','avia_framework').'<span class="more-link-arrow"> →</span></a></div>';
I am using Custom Post Types with a Faceted Search Widget. The issue is applying a ‘page template’ to a CPT. I have set the Sidebar on Single Post Pages to no sidebar and inserted the faceted search using the drag and drop page builder in Enfold. However I lose the ability to apply a sidebar to any additional CPT.
What I would like to do is set the Sidebar on Single Post Pages to right sidebar and remove the side sidebar from one page only. So all posts have a right sidebar except one.
Or better yet create different page templates and apply them to the CPT. I have installed a plugin that allows page templates to CPT, but only see archives and blank – no header/no footer.
How do I create additional page templates or remove the sidebar when preset by Sidebar on Single Post Pages?
Thank you!
Hi, When I view the enfold/author.php page i see several hard coded words.
The same for enfold/include/comments.php
and : enfold/include/loop-index.php
and: loop-search.php
Example:
echo “<h3 class=’miniheading’>”.__(‘Leave a Reply’,’avia_framework’).”</h3>”;
echo “<span class=’minitext’>”.__(‘Want to join the discussion?
Feel free to contribute!’,’avia_framework’).”</span>”;
In above files I see several hardcoded words and sentences. Are you aware of any other files and will it be fixed in next version?
QUESTION: what files shall I edit for the Quick Search window:
http://suiciderescue.se/wordpress/
I see searching for TEST = “View all results” bottom of search result
I see searching for asdasdadsasdasdae = “Sorry, no posts matched your criteria
Please try another search term”
thanks
Yes – Kriesi implemented a logic which will remove the overlay if there’s not enough space for the icon (simple because it looks broken in this case). If you still want to display it open up enfold/js/avia.js and search for:
if(current.outerHeight() > 100)
Replace the value 100 with a smaller one (eg 50)
Hello,
I like to use in my websites custom forms builded with coffeecup webform builder, because this software give me more posibilities but with Enfold Theme doesn´t work.
This is the code:
<script type=”text/javascript”>document.write(unescape(“%3Ciframe id=”fb_iframe” src=”Contact-Us-DTR.php” + window.location.search + “” width=”662″ height=”710″allowtransparency=”true” scrolling=”no” frameborder=”0″%3ECheck out my CoffeeCup Form%3C/iframe%3E”));</script>
<noscript>
<iframe width=”662″ height=”710″ style=”border:none; background:transparent; overflow:hidden;”
id=”fb_iframe” src=”Contact-Us-DTR/Contact-Us-DTR.html”>
Check out my
CoffeeCup Form
</iframe>
</noscript>
and this is what i have:
http://dentaltourismromania.co.uk/pagina-de-probe-2/
Can you help me?
And again…
Currently, any portfolio item won’t show up on my page leading to a 404. Portfolio Grids are fully functional – only the detail page of an entry won’t do it.
After adding flush_rewrite_rules() to the theme pages and posts are working fine. Unfortunatley, the custom post type portfolio won’t make it.
If I deactivate Enfold switching to twentytwelve, everything is fine. To test it with a CPT I created a simple one by myself.
Also, I left the custom slug as is (portfolio) and changed only the language options (NL, EN) to portfolio-nl an portfolio-en. The slugs ain’t used in any other place (no page, no post, no tax, no tag, no cat).
I’ve searched the whole support forums here and also found several threads to this issue on WPML support. None of the suggested solutions (and/or workarounds) are quite functional for me.
WPML is configured to use the folder type (e. g. domain.com/en/) so I think this is maybe conflicting with the basic .htaccess rules.
Do you have any tips or hints for me?
Meanwhile I will investigate wp_options table on rewrite rules a dive a bit deeper into this… :-/
Thanks…
PS: Tried also /%category%/%postname%/ – but category won’t show up in permalink…
Hi there,
I’m trying to do something that the Enfold form builder probably can’t do. I need a solution that allows me to create a form as part of a “regular” text block… something like
Hi, my name is [______] and I work for [_____]. My email address is [_____] and I’d love to get some info about your new [___dropdown menu with products___].
So that makes this not an Enfold questions as such, but maybe someone can help. Does a form builder like that exist, maybe as a plugin? My previous searches weren’t successful.
Thanks & best regards,
Andy
Hi,
I’m confused – maybe this question has been answered several times before – searched, but found no solution so far. So here it is:
– I would like to define a custom layout for the default (Archive) blog page. I would like to use the advanced editor to add a custom text element and then insert the blog template builder element to configure the blog posts.
The only modification that worked so far: in the Enfold Theme Options I could choose the Blog Style – but not the appearance of the whole page. Also when I choose something different then the grid layout the page shows always the complete text of the posts and not the excerpt.
And ideas?!
Thanks!
Hello!!
Thank you for all your help so far. I love this theme and am excited to create my best work yet because of all of you.
I need help with W3 Total Cache. I’ve set it up with minimal settings. I would love to do whatever it is you did to the demo site. When I load my site, in Pingdom Tools all my css files are being loaded separately. If I auto minify all of the css is lost. How would I go about combining all the css. Also, I am using a child theme.
When I go with the minimal settings for the minify and just have the js on, I loose some functionality. Right now I notice that my blog preview buttons no longer show the next thumbnail. I love this feature and would like to keep it. I think I am having trouble because of how the theme is set up for every possibility but I could also be missing something.
The browser is also searching for an empty/non-exsistent style.css.
Here are links to my 3 altered settings on W3 Total Cache and website performance:
Page
Minify
Browser
Pingdom
Thank you for your time and knowledge.
Bethany
am having a “very difficult” time understanding how to create a portfolio in Enfold, specifically wanting a portfolio to display only video (self-hosted, youtube & vimeo), where video will open in light box when clicked on from the portfolio page & not go to the page where video is . . .
I have searched for over an hour in the forum & am not finding clear instructional steps to
1. creating a portfolio “in Enfold”
2. opening video in light box from portfolio page once created.
3. how to create new “additional portfolios” for different subjects or does enfold only have “one portfolio” to use for several different categories? (I hope this isn’t the case . . . )
Thank you so very much for your kind reply :)
I am having a “very difficult” time understanding how to create a portfolio in Enfold, specifically wanting a portfolio to display only video (self-hosted, youtube & vimeo), where video will open in light box when clicked on from the portfolio page & not go to the page where video is . . .
I have searched for over an hour in the forum & am not finding clear instructional steps to
1. creating a portfolio “in Enfold”
2. opening video in light box from portfolio page once created.
3. how to create new “additional portfolios” for different subjects or does enfold only have “one portfolio” to use for several different categories? (I hope this isn’t the case . . . )
Thank you so very much for your kind reply :)
Hey!
Or open up functions-enfold.php and delete
add_filter( 'wp_nav_menu_items', 'avia_append_search_nav', 10, 2 );
Regards,
Peter
1) Personally I’d recommend to translate Enfold with Codestyling: http://wordpress.org/plugins/codestyling-localization/
a) Delete the file C:xampphtdocswp-contentthemesenfoldconfig-layersliderLayerSliderlanguagesLayerSlider-en_US.po because ii will break the codestyling plugin.
b) Install & activate the plugin and go to Tools > Loccalisation to translate all themes/plugins. Search for the Enfold theme in the list and use the the wp-contentthemesenfoldlang folder as base directory.
c) 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).
2) I don’t understand the question – please rephrase it.