Hello,
I translated wordpress admin theme options ENFOLD Version 2.8.1 on my multisite in English> French.
The translation works well for the main site, but it does not work for sub domains.
Have you an idea of what could be a problem?
Thanks
Alex
-
This topic was modified 11 years, 5 months ago by
Alex.
Hey Denis!
In wp-content/themes/enfold/framework/php/class-form-generator.php replace:
function text($id, $element)
{
$p_class = $required = $element_class = $value = "";
$type = 'text';
// if($element['check'] == "is_email") $type = 'email'; //cant use this because of ie8 + 9
if(!empty($element['check']))
{
$required = ' <abbr class="required" title="required">*</abbr>';
$element_class = $element['check'];
$p_class = $this->check_element($id, $element);
}
if(!empty($_POST[$id])) $value = urldecode($_POST[$id]);
$this->elements_html .= "<p class='".$p_class.$element['class']."' id='element_$id'>";
$form_el = ' <input name="'.$id.'" class="text_input '.$element_class.'" type="'.$type.'" id="'.$id.'" value="'.$value.'"/>';
$label = '<label for="'.$id.'">'.$element['label'].$required.'</label>';
if(isset($this->form_params['label_first']))
{
$this->elements_html .= $label.$form_el;
}
else
{
$this->elements_html .= $form_el.$label;
}
$this->elements_html .= "</p>";
}
with
function text($id, $element)
{
$p_class = $required = $element_class = $value = "";
$type = 'text';
// if($element['check'] == "is_email") $type = 'email'; //cant use this because of ie8 + 9
if(!empty($element['check']))
{
$required = ' <abbr class="required" title="required">*</abbr>';
$element_class = $element['check'];
$p_class = $this->check_element($id, $element);
}
if(!empty($_POST[$id])) $value = urldecode($_POST[$id]);
$this->elements_html .= "<p class='".$p_class.$element['class']."' id='element_$id'>";
$form_el = ' <input name="'.$id.'" class="text_input '.$element_class.'" type="'.$type.'" id="'.$id.'" value="'.$value.'"/>';
$label = '<label for="'.$id.'">'.$element['label'].$required.'</label>';
if(isset($this->form_params['label_first']))
{
$this->elements_html .= $label.$form_el;
}
else
{
$this->elements_html .= $form_el.$label;
}
$this->elements_html .= "</p>";
}
function email($id, $element)
{
$p_class = $required = $element_class = $value = "";
$type = 'email';
// if($element['check'] == "is_email") $type = 'email'; //cant use this because of ie8 + 9
if(!empty($element['check']))
{
$required = ' <abbr class="required" title="required">*</abbr>';
$element_class = $element['check'];
$p_class = $this->check_element($id, $element);
}
if(!empty($_POST[$id])) $value = urldecode($_POST[$id]);
$this->elements_html .= "<p class='".$p_class.$element['class']."' id='element_$id'>";
$form_el = ' <input name="'.$id.'" class="text_input '.$element_class.'" type="'.$type.'" id="'.$id.'" value="'.$value.'"/>';
$label = '<label for="'.$id.'">'.$element['label'].$required.'</label>';
if(isset($this->form_params['label_first']))
{
$this->elements_html .= $label.$form_el;
}
else
{
$this->elements_html .= $form_el.$label;
}
$this->elements_html .= "</p>";
}
function tel($id, $element)
{
$p_class = $required = $element_class = $value = "";
$type = 'tel';
// if($element['check'] == "is_email") $type = 'email'; //cant use this because of ie8 + 9
if(!empty($element['check']))
{
$required = ' <abbr class="required" title="required">*</abbr>';
$element_class = $element['check'];
$p_class = $this->check_element($id, $element);
}
if(!empty($_POST[$id])) $value = urldecode($_POST[$id]);
$this->elements_html .= "<p class='".$p_class.$element['class']."' id='element_$id'>";
$form_el = ' <input name="'.$id.'" class="text_input '.$element_class.'" type="'.$type.'" id="'.$id.'" value="'.$value.'"/>';
$label = '<label for="'.$id.'">'.$element['label'].$required.'</label>';
if(isset($this->form_params['label_first']))
{
$this->elements_html .= $label.$form_el;
}
else
{
$this->elements_html .= $form_el.$label;
}
$this->elements_html .= "</p>";
}
and then add two new form fields to your form like:
[av_contact_field label='Phone Number' type='tel' options='' check='is_empty' width=''][/av_contact_field]
[av_contact_field label='Email' type='email' options='' check='is_empty' width=''][/av_contact_field]
Cheers!
Peter
Hi!
Thanks for the nottice – we’ll fix this bug with the next update. For now open up wp-content/themes/enfold/includes/loop-index.php and replace:
$current_post['post_class'] = "post-entry-".$current_post['the_id']." post-loop-".$post_loop_count." post-parity-".$current_post['parity'].$current_post['last']." ".$blog_style;
with
$current_post['post_type'] = get_post_type($current_post['the_id']);
$current_post['post_class'] = "post-entry-".$current_post['the_id']." post-loop-".$post_loop_count." post-parity-".$current_post['parity'].$current_post['last']." ".$blog_style;
$current_post['post_class'] = ($current_post['post_type'] == "post") ? $current_post['post_class'] : 'post '. $current_post['post_class'];
Cheers!
Peter
Hallo Peter,
klasse. Das Update hat geholfen. Werde ich in Zukunft vorher prüfen :-)
Allerdings gibt es noch ein weiteres Thema. In der Icon-List werden Sonderzeichen nicht korrekt dargestellt. Siehe hierzu die Grafik hinter meinem Link: http://kunden.kaundvau.de/kriesi_enfold_sonderzeichen.png
LG, Tom
Hey Justin!
I think what you’re trying to do is not possible with wordpress and Enfold out of the box and you must hire someone to implement this feature. You can sort the portfolio entries by date or title but then you can’t apply a custom sort order to each portfolio because the title/date order is always the same. If you use the menu_order parameter you can just define one custom order (which will be used on all portfolio pages) because the menu_order value is saved one time for each portfolio entry and you can’t change it based on the portfolio page. You can try to use http://www.nsp-code.com/premium-plugins/wordpress-plugins/advanced-post-types-order/ which at least enables you to apply a custom sort order to category/archive pages and afaik you can set a different order for each category. However this solution introduces another limitation because 1) you can only use it with the archive.php template and 2) you must make sure all portfolio entries share the same category.
Cheers!
Peter
Hey!
Ok, wenn der Filter nicht funktioniert, öffne wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php und ersetze
$custom_link = get_post_meta( $id ,'_portfolio_custom_link', true) != "" ? get_post_meta( $id ,'_portfolio_custom_link_url', true) : false;
if($custom_link) $this->loop[$key]['url'] = $custom_link;
durch:
$custom_link = get_post_meta( $id ,'_portfolio_custom_link', true) != "" ? get_post_meta( $id ,'_portfolio_custom_link_url', true) : false;
if($custom_link) $this->loop[$key]['url'] = $custom_link;
if(!$custom_link) $url = wp_get_attachment_url(get_post_thumbnail_id($id));
if(!empty($url)) $this->loop[$key]['url'] = $url;
Best regards,
Peter
Hello,
I’ve been running into a few issues with trying to display self hosted videos on an enfold child theme.
First:
while putting everything together on localhost I couldn’t get the embed feature to work at all, it would just display a text link to the video
Second:
self hosted HTML5 videos placed with the following code would not display in Firefox locally or remotely:
<video width="775" height="425" controls="controls" poster="http://juicesandmilks.com/tommaso/wp-content/uploads/2014/06/00-GeorgiaGas-icecream-poster.jpg" alt="commercial for Georgia Natural Gas Co. directed by Evan Bernard - production design by Tommaso Ortino">
<source src="http://juicesandmilks.com/tommaso/wp-content/uploads/2014/06/6GEORGIAGASIceCream.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
I’ve seen some discussions on this about setting mime types in the .htaccess file of your server, so I’ve copied the following code onto my remote server’s .htaccess file , but without any luck (all the previous conversations that I had read also mentioned that the mime type issue was only present when viewing sites remotely with FireFox.
Third:
Now using the self hosted video embed feature is partially working with some weird inconsistencies.
It always takes multiple tries before the embed code shows up in the post editor.
Sometimes it shows up as video embed code:
[video width="775" height="425" mp4="http://juicesandmilks.com/tommaso/wp-content/uploads/2014/06/2Charter.mp4"][/video]
Sometimes it shows up as HTML:
<div class="wpview-wrap wpview-type-video wont-play selected" contenteditable="false" data-wpview-text="%5Bvideo%20width%3D%22640%22%20height%3D%22352%22%20mp4%3D%22http%3A%2F%2Fjuicesandmilks.com%2Ftommaso%2Fwp-content%2Fuploads%2F2014%2F06%2F2Charter.mp4%22%5D%5B%2Fvideo%5D" data-wpview-type="video">
<div class="toolbar"></div>
[video src="https://juicesandmilks.com/tommaso/wp-content/uploads/2014/06/2Charter.mp4" /]
<div class="wpview-overlay"></div>
<ins data-wpview-end="1"></ins></div>
<p data-wpview-pad="1"></p>
The last video I tried to embed will either show up embedded twice on the page, or it just won’t show up at all
Would someone from the Kriesi team please take a look at my site and point out what could be causing this? I don’t really have any preference for HTML5 over video embed so long as one of them works!
I’ve just installed Enfold and have been able to work with many features without issue. I’ve had no problems setting many theme options under Enfold Theme Options. Setting theme colors, however, is not working for me. Specifically, when I select pre-defined color schemes from General Settings under Enfold (child) Theme Options and save changes, the colors never work. The .css file in the Dynamic-Avia folder is being saved properly, but no change to the theme are shown, even after clearing my browser cache and reloading. Basically, I cannot change from the default preen splash color scheme. Please Help.
Hi,
I have the Enfold theme and the responsive layout don’t work on mobile. It use to work but not anymore.
Here is the link to the web site: http://www.montrealoutriggerchallenge.com/
Please advise what could cause the layout not to work on mobile and what is the way to fix it.
Cheers
Mony
Hi, I’m having the following three issues with my Enfold theme:
1. When viewers visit my website, they say that some of the content towards the end is being cut off.
2. My blog will not allow me to to edit the spacing with short code although the rest of my website allows this. My blog will not allow me to enter for new paragraphs. I’ve checked other theme forums and I’ve tried various short codes that will not fix the problem.
3. I cannot login onto my WordPress from Google, only from Internet Explorer.
4. When I try to edit the accordion,it will continue to open the same content again and again even if I’m editing a different part of it. I have to update and refresh to update the accordion every time.
Any assistance would be much appreciated! Thank you!
Hi,
Is that possible to create a demo file for enfold from a excel or csv file ?
Thank you
After searching the forum to see if I could find an answer to our parallax feature not working in IE… (or any other browser for that matter) I read in a post dated two months ago that it had been fixed by a major update (2.7). However, I am STILL having the same issues with mine? Even your demo still shows the same issues I having. http://kriesi.at/themes/enfold/homepage/home-v9-videos-and-parallax/
It just jumps all over the place and scrolls with the rest of the page??
How can I get this fixed?
Thanks Joe
You are welcome, thanks for the kind words. You can leave a review on Enfold Themeforest page.
Regards,
Josue
Hi to the team !
Finally tracked down the culprit : Google Analytics for WordPress ! Deleted it and added the analytics code to Enfold panel. ;)
SOLVED
ive been trying to use this plugin to get the effect client wants ( custom image button in navigation menu ) https://wordpress.org/plugins/menu-image/ but there seems to be a conflict with enfold. any suggestions ?
thanks in advance
Can somebody please send a link with the most up to date po file? I would like to translate Enfold into Hungarian but I’m not sure where to get the latest Engish version.
Hi
i just update the enfold now layer slider will disappear in safari and keeps loading in firefox
any suggestions?
Hello,
I need a products section with sub categories.
Each product should show some custom fileds that I should create.
Each product page should also show related products under that category.
How can I do that with Enfold ?
Hi,
Its on localhost now. I did not install on webhost.
And why do you need admin account? Aren’t you Kreisi developer or supporter and haven’t you got any Enfold intall on your PCs? I think you can look at and try in any Enfold install. I haven’t changed any think.
If you can’t solve a small issue you can close this support page and don’t answer the questions if you don’t know !
Hello,
I have noticed my main navigator bar was not taking styles and it appeared like most pages were not taking from the CSS.
I noticed this is only when I have https in the address
I have an SSL for my website.
Please help on how I can make the theme work with https before I move it over to my main directory to publish the site with this awesome enfold theme.
Examples are below:
http://hwoodmedia.com/takeover/ <—- color in nav and styles on the pages
https://hwoodmedia.com/takeover/ <— no color or styles
Hello, i have a problem, when i login at wordpress, with enfold 2.8.1 the “PORTFOLIO ITEMS” does not appear in the wordpress bar!!!.
Help please!!!.
Hi!
Thank you for using the theme!
Please go to Enfold > Header Layout > Mobile Menu. Look for the Header Mobile Menu activation then select the second option to activate the advance menu toggle on iPad landscape view.
Cheers!
Ismael
Hey lzevon!
Thank you so much for using the theme!
1.) Please go to Enfold > Header Layout > Mobile Menu panel. Look for the Header Mobile Menu Activation, choose the second option.
2.) Please go to Enfold > Advanced Styling, edit the Main Menu Links. Please post the website url here so that we can inspect it.
Cheers!
Ismael
I need help with the following. PLEASE direct me to a how to video if you have !! http://www.sugarandgarlic.com is loading so slowly after I installed enfold.
1) how do I insert my logo/title into header?
2) How do I change the huge wide screen image on home page to be a smaller scaled down image thats not stretched out, or into a slider?
3) I want certain pages to have the grid blog layout or masonry layout. Is this possible? If so can I do it on a post page or only a page? I want to change this page on my site to grid layout for each restaurant review so you can see all restaurants at a glance. http://www.sugarandgarlic.com/whine-dine-chicago
THANKS
Thanks, Josue. I downloaded the WordPress file from Themeforest again and used FileZilla to upload and overwrite the Enfold theme. No change.
Hi OblakJ!
Thank you so much for using the theme!
Please use this on Quick CSS to remove the padding:
.logo img {
padding: 0;
}
Go to Enfold > Header Layout > Mobile Menu panel. Look for the Header Mobile Menu activation setting then choose the second option in order to prevent the main menu from overlapping the logo.
Regards,
Ismael
Hey!
There are no images on the layer slider. Please try to remove browse cache then check the slider again. In order to migrate the theme successfully and leave the database intact along with the layer slider, please use this plugin: WP MigrateDB or WP MigrateDB PRO
Refer to this link for more info on how to properly migrate your enfold website from production to development vice versa:
http://kriesi.at/documentation/enfold/move-from-a-local-installation-to-a-live-server/
https://code.tutsplus.com/tutorials/migrating-your-wordpress-database-wp-migrate-db-production-to-development–wp-32684
Best regards,
Ismael
I went to Fontello.com, selected a bunch of icons and downloaded them and imported them into enfold 2.8 but when I got to use them I only see squares.
Thanks for help.

-
This topic was modified 11 years, 5 months ago by
jenki.
I suggest using the google fonts that come with Enfold, could you detail what’s exactly not working?
Best regards,
Josue
Hey!
Unfortunately the product grid doesn’t have that kind of functionality at the moment so it would need to be added in as a custom feature/function by a freelance developer.
You can also post the ideas to be voted on as something to be added in by Kriesi here: https://kriesi.at/support/enfold-feature-requests/
Cheers!
Devin