Forum Replies Created
-
AuthorPosts
-
Hi!
I updated the code a bit – it should work now :)
Regards,
PeterJanuary 31, 2014 at 10:34 am in reply to: Ubermenu conflict with specific plugins – filter to disable Ubermenu available? #217350Hey!
I think this post: https://kriesi.at/support/topic/enfold-conditional-menu/ and https://kriesi.at/support/topic/using-conditional-menus-with-custom-defined-user-roles/ will help you.
Cheers!
PeterHi fjrichart!
Use the “excerpt” option and use following code to include the featured image
add_filter( 'the_excerpt_rss', 'inoplugs_insertThumbnailRSS' ); add_filter( 'the_content_feed', 'inoplugs_insertThumbnailRSS' ); function inoplugs_insertThumbnailRSS( $content ) { global $post; $img = get_the_post_thumbnail($post->ID, 'thumbnail'); $content = '<div>' . $img . '</div>' . $content; return $content; }
Best regards,
PeterHi jeffstrahl!
Try:
if($this->config['type'] == 'slider') { $aux = array(); $keys = array_keys($this->id_array); shuffle($keys); foreach($keys as $key) { $aux[$key] = $this->id_array[$key]; unset($this->id_array[$key]); } $this->id_array = $aux; }
Regards,
PeterHi borkent!
Open up wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php and replace
if(empty($this->loop[$key]['content'])) { $this->loop[$key]['content'] = avia_backend_truncate($entry->post_content, apply_filters( 'avf_masonry_excerpt_length' , 60) , apply_filters( 'avf_masonry_excerpt_delimiter' , " "), "…", true, ''); }
with
if(empty($this->loop[$key]['content'])) { $this->loop[$key]['content'] = avia_backend_truncate($entry->post_content, apply_filters( 'avf_masonry_excerpt_length' , 60) , apply_filters( 'avf_masonry_excerpt_delimiter' , " "), "…", true, ''); } $this->loop[$key]['content'] = '<img src="my-image.jpg" />';
and instead of my-image.jpg insert the url path to your preview image. If you want to use a meta box you can use the get_post_meta function: http://codex.wordpress.org/Function_Reference/get_post_meta to fetch the meta field data. Use it like
if(empty($this->loop[$key]['content'])) { $this->loop[$key]['content'] = avia_backend_truncate($entry->post_content, apply_filters( 'avf_masonry_excerpt_length' , 60) , apply_filters( 'avf_masonry_excerpt_delimiter' , " "), "…", true, ''); } $prev_img = get_post_meta($id, 'my_custom_field_name'); if($prev_img) $this->loop[$key]['content'] = $prev_img;
Regards,
PeterJanuary 30, 2014 at 8:03 pm in reply to: Replace toggle icon with another entypo-fontello font OR use a png #217110Hi!
Yes – my bad. I shouldn’t try to answer several threads simultaneously :)
Revert the change and open up header.php. Then replace
echo '<a id="advanced_menu_toggle" href="#" '.av_icon_string('mobile_menu').'></a>'; echo '<a id="advanced_menu_hide" href="#" '.av_icon_string('close').'></a>';
with
echo '<a id="advanced_menu_toggle" href="#">☰</a>'; echo '<a id="advanced_menu_hide" href="#">☰</a>';
Cheers!
PeterJanuary 30, 2014 at 5:07 pm in reply to: 'All in One SEO Pack' Page Titles not showing in pages source code? #217042Hi!
I checked the source code of some pages and all pages have a title tag at the very top – you can find it below the charset meta tag
<meta charset="UTF-8" />
Cheers!
PeterHey!
Glad that the contact form plugin works for you. If we find a bug in our theme code we’ll fix it but we’re not aware of a bug in our send function. Unfortunately some host provider (i.e. hostgator) simply won’t work with our contact form and we don’t know why because we use the standard wp_mail() function http://codex.wordpress.org/Function_Reference/wp_mail to send the emails.
Regards,
PeterHey!
Du kannst alle Feature Requests hier: https://kriesi.at/support/topic/enfold-feature-requests/page/18/ posten.
Öffentliche Roadmap gibt es derzeit keine. Der Plan sieht derzeit so aus, dass wir heute oder morgen ein Update veröffentlichen, welches Video Backgrounds und Parallax Effekts zu “Color Sections” hinzufügt und man kann jetzt auch Videos zu den Slidern hinzufügen. Weiters gibt es Detailverbesserungen – zB aktualisiert sich jetzt die Filter Liste des “Masonry Portfolios”, wenn man den “Load More” button klickt und die Copyright Zeile unterstützt jetzt Shortcodes. Das nächste Update wird vermutlich rtl Support und LayerSlider 5 bringen und dann sehen wir weiter.
Regards,
PeterHi!
You can try the free http://wordpress.org/plugins/contact-form-7/ plugin or premium form plugins like: Formidable or Gravity Forms. I use Formidable on my website and it works great.
Cheers!
PeterJanuary 30, 2014 at 10:54 am in reply to: theme causing modal login to scroll page down a little #216887Hey!
Yes, the class is theme specific. It’s required because our theme tries to scroll to an element if it exists on the current page (otherwise we couldn’t create section links like here: http://kriesi.at/themes/enfold/homepage/home-v7-one-page-portfolio/ ) and if the user wants to deactivate this effect he can use the no-scroll class.
Regards,
PeterHi!
I marked this thread for Kriesi.
Best regards,
PeterHi sbeauchesne!
1) You can use this plugin to maximize the search power of your website: SearchWP
Refer to this link in order to integrate the plugin on ajax search: http://kriesi.at/documentation/enfold/use-searchwp-instead-of-the-standard-search/
2) You can hide the sidebar with following css code – insert it into the quick css field
#top.search .sidebar {display: none !important;} #top.search .content.template-search {width: 100% !important;}
3) Yes, insert this code at the very bottom of functions.php:
add_filter('avf_ajax_search_label_names','avia_change_pt_label_name', 10, 1); function avia_change_pt_label_name($label) { if($label == 'Portfolio Items') $label = 'Partners'; return $label; }
Best regards,
PeterHey!
You don’t need to hack the theme files – please insert this code into the functions.php file: https://kriesi.at/support/topic/adding-slideshare-to-header-social-icons/#post-200202 and make sure that the font family name and icon char code is correct.
Regards,
PeterHey!
No, this is not possible but you can use this plugin: http://wordpress.org/plugins/taxonomy-terms-order/ to change the order of the portfolio categories/terms with a drag’n’drop interface.
Regards,
PeterHi Aknights21!
Which Safari version do you use to test the website? If you use the windows version to test it (Safari 5) the problem is probably caused by the outdated browser engine because Apple doesn’t maintain Safari for Windows since April 2012. Afaik Safari 6 and 7 is only available for MacOS users.
Cheers!
PeterHi verdeacido!
Maybe this post will help you: https://kriesi.at/support/topic/wpml-enfold-theme-media-library-missing/#post-132843
Make sure that the media translation module/extension is installed.
Cheers!
PeterJanuary 30, 2014 at 10:00 am in reply to: Want a challenge? Need help bringing mega-menu to top Z-Index layer #216865Hey!
I think the high z-index doesn’t work because the main menu container z-index is set to 100. Try to use following code
.main_menu { z-index: 1500; }
to increase it.
Best regards,
PeterHi!
@oliviad – if the mails work with gmail the contact form script sends them properly. Maybe your host blocks them and you must add a new rule to your spam filter configuration to receive the emails.
@peerbits – please try to install a smtp plugin like: http://wordpress.org/plugins/easy-wp-smtp/
If it does not work please try to install a another contact form plugin like: http://wordpress.org/plugins/contact-form-7/ and check if this plugin works for you.Cheers!
PeterHi paulrt27!
Yes, you can set up a website for the development process without purchasing an extra license. However you must not host this website/theme on a production server without a valid license.
Regards,
PeterHey prayaga!
Our tabs use a z-index of 3. You can change it with following code
.js_active .active_tab_content { z-index: auto; }
however I’m not sure if this will break the tab script or not.
Cheers!
PeterJanuary 30, 2014 at 9:20 am in reply to: Replace toggle icon with another entypo-fontello font OR use a png #216850Hey!
Try to replace this line in functions-enfold.php
$items .= '<li id="menu-item-search" class="noMobile menu-item menu-item-search-dropdown"><a href="?s=" rel="nofollow" data-avia-search-tooltip="'.$form.'" '.av_icon_string('search').'></a></li>';
with
$items .= '<li id="menu-item-search" class="noMobile menu-item menu-item-search-dropdown"><a href="?s=" rel="nofollow" data-avia-search-tooltip="'.$form.'">☰</a></li>';
If the code doesn’t work try the hex values here: http://www.fileformat.info/info/unicode/char/2630/index.htm – you need to replace ☰ with the hex value
Regards,
PeterHi!
Please contact the script developer and ask him to look into it. I don’t know why it’s not working.
Best regards,
PeterHi!
Will be a 48h day :)
Regards,
PeterHi!
The js code is part of the website source code and it’s not a problem with the theme or the “insert-html-snippet” plugin. You can check the source code of the page by yourself – i.e. search for
<div class='avia_textblock ' itemprop="text" ><script type="text/javascript"> $.getJSON("http://mobilerevolution.ch/new/json/Zentrallager Zufikon.json", function(data) { $.each(data, function(key, val) { var tr=$('<tr></tr>'); $.each(val, function(k, v){ $('<td>'+v+'</td>').appendTo(tr); }); tr.appendTo('#display'); }); }); }); </script> </div>
I think it doesn’t work because you didn’t create a div with the id “display”. I suggest to replace
<script type="text/javascript">
with
<div id="display"></div> <script type="text/javascript">
and then the code should work…
Cheers!
PeterHi oberton!
As far as I know prettyphoto doesn’t support this parameter. You can try the workaround someone posted here: http://wordpress.org/support/topic/plugin-easy-fancybox-youtube-links-with-tnnmnns-parameter but I couldn’t get it to work with prettyphoto and the new fancybox 2 script which you can download here:https://github.com/fancyapps/fancyBox
Personally I recommend to embed it into the content – then you’re on the safe side…
Cheers!
PeterHi!
Can you post a link to your website please (where you embedded the js code with: http://wordpress.org/plugins/insert-html-snippet/ ). Maybe the code doesn’t work because you didn’t create an html element with the id “display”?
Cheers!
PeterHey!
Kein Problem :)
Cheers!
PeterHi obismarck!
Ich denke nicht, dass dies einfach möglich ist, da die Berechnungen für die Menü-Animation (Verkleinerung beim Scrollen) auf der Logo Höhe aufbauen und wenn das Logo die Menüleiste überlappt, stimmen diese Berechnungen nicht mehr. Ihr müsstet daher diesen Effekt deaktivieren oder einen Entwickler damit beauftragen den Code für die Menu-Animationen anzupassen.
Best regards,
Peter -
AuthorPosts