Forum Replies Created
-
AuthorPosts
-
October 5, 2014 at 10:46 am in reply to: How to remove the WPML language flags from the menu? #330434
Hi!
Probably the easiest solution is to hide the flags with css in this case – insert the code into the quick css field:
#top #avia-menu .av-language-switch-item{ display: none; }
Regards,
PeterHey kyabroudi!
We use the is_rtl() wordpress function: http://codex.wordpress.org/Function_Reference/is_rtl to check if a rtl language is active or not. If the user selects a rtl language from the language switcher wordpress will load the required stylesheets automatically.
Cheers!
PeterOctober 1, 2014 at 4:06 pm in reply to: Masonry slider/portfolio fails in translation with WPML #328213Hi vanderburg!
Did you install/configure this WPML extension: http://wpml.org/documentation/getting-started-guide/media-translation/ ? It’s required to translate images like posts/pages.
Cheers!
PeterHi!
You can set a parent page for each portfolio entry on the editor page: http://www.clipular.com/c/5198686768332800.png?k=XCnwJbsWVudAHLg8NN5bnmxTg94
If no parent page is set the session data will be used which is not always accurate.Cheers!
PeterSeptember 28, 2014 at 11:29 am in reply to: Plugin Codestyling Localizatiion not working even wplang rescan write mo… #326134Hi!
Tbh I don’t know. Your best bet is to contact the plugin author ( https://wordpress.org/support/plugin/codestyling-localization ) because this question is not related to our theme/product. You can also use tools like Poedit: http://poedit.net/ if the codestyling plugin doesn’t work for you.
Cheers!
PeterHey Sophieja23!
1) Try this code instead
function add_login_logout_link($items, $args) { if(is_user_logged_in() && $args->theme_location == 'avia2') { $newitems = $items; $newitems .= '<li><a title="'.__('Logout','avia_framework').'" href="'. wp_logout_url(home_url()) .'">'.__('Logout','avia_framework').'</a></li>'; } else if($args->theme_location == 'avia2') { $newitems = $items; $newitems .= '<li><a title="'.__('Login','avia_framework').'" href="'. wp_login_url(home_url()) .'">'.__('Login','avia_framework').'</a></li>'; }else{ $newitems .= $items; } return $newitems; } add_filter('wp_nav_menu_items', 'add_login_logout_link', 5, 2);
2) WooCommerce and wordpress share the same user accounts and logged in/logged out status. There’s no dedicated login/logout link for woocommerce…
Regards,
PeterHi!
1) Yes the plugin will replace all urls.
2) No, you don’t need to clean the database with SpringClean…
Best regards,
PeterHi!
I recommend to use WP MigrateDB or WP MigrateDB PRO to batch replace the urls in the database. Use the “domain replacement” feature to replace all occurrences of http://e-sports.org with https://e-sports.org in your database and then export the database sql file. Afterwards make a backup of your old database, delete the database data/tables and import the database file you exported with the migrate plugin.
Cheers!
PeterSeptember 27, 2014 at 12:02 pm in reply to: Latest Enfold theme not working with SEO plugins #325935Hi!
@mjmj – your production server still just uses 64M and not 128M. Please contact the server administrator and ask him to increase the allocated memory. Sometimes you can’t increase the php memory with the wp-config.php and the server administrator must tweak the php.ini for you.
Regards,
PeterSeptember 27, 2014 at 11:58 am in reply to: Slider video doesn't' work in Chrome or Firefox, Opera or Safari #325934Hey JamesTuttle!
.mov is not a valid html5 video format. Please convert it to .mp4 and .ogv and link to these converted videos. For more information read: http://www.w3schools.com/html/html5_video.asp
Best regards,
PeterHi!
I fixed it by adding this code to the functions.php file:
add_action('ava_after_content', 'avia_add_social_toolbar_temp', 10, 2); function avia_add_social_toolbar_temp($id = "", $context = "") { if($context == "post") avia_social_share_links(); } add_filter('avf_template_builder_content', 'avia_add_social_toolbar_template_builder_temp', 10, 1); function avia_add_social_toolbar_template_builder_temp($content = "") { if(is_singular('post')){ $content .= avia_social_share_links(array(), false); $content .= '<div style="height:1px; margin-top:50px;" class="hr"></div>'; } return $content; }
Cheers!
PeterHi metafora29!
Yes, i.e. WPML enables you to organize the pages in a sub folder (like mywensite.com/de/ , mywebsite.com/en/, mywebsite.com/fr/) or to link the translated pages to different domains or subdomains.
Best regards,
PeterSeptember 26, 2014 at 10:01 am in reply to: Portfolio Grid disappear in translated page (Enfold + wpml) #325485Hey idemadv!
Please update WPML to version 3.1.7.2. You’re using 3.1.6 which is not compatible with WP4.0
Cheers!
PeterSeptember 26, 2014 at 9:57 am in reply to: Woo Commerce 2.2 Support and Theme Update Questions #325483Hey!
It doesn’t make sense to load the woocommerce_product_subcategories() function on the admin page. We’ll fix this with the next update. For now I recommend to replace this code:
class avia_product_slider { static $slide = 0; protected $atts; protected $entries; function __construct($atts = array()) {
with
class avia_product_slider { static $slide = 0; protected $atts; protected $entries; function __construct($atts = array()) { if(!function_exists('woocommerce_product_subcategories')) return;
Regards,
PeterSeptember 26, 2014 at 9:51 am in reply to: Security for wp-login on Websites with public blog #325480Hey Guenter!
You can try to install a log in widget like: https://wordpress.org/plugins/sidebar-login/ – then the user does not need to go to wp-login.php to log in. BBPress integrates seamlessly into WordPress though and shares the user database, etc. with wordpress. Thus you can’t separate the wordpress login from the bbpress login. You can also try to install security plugins: https://wordpress.org/plugins/search.php?q=wordpress+login+security&sort= but I can’t recommend a certain plugin because I never used them for personal projects.
Best regards,
PeterHey cagraphicdesign!
Yes, you can insert an icon shortcode in the “menu title” field or description box.
I recommend to use the “Magic wand” icon in the TinyMCE toolbar to generate the icon shortcode (post editor page), then go to the menu page and copy the shortcode into the title or description text field and save the menu.
Best regards,
PeterSeptember 26, 2014 at 9:32 am in reply to: Bug in Blog Layout – Shows full content instead of excerpt and read more #325472Hi heufti65!
You must add the more tag ( http://de.support.wordpress.com/splitting-content/more-tag/ ) to the post content. Otherwise wordpress will not truncate the post content and will display the entire post instead.
Cheers!
PeterHey Peter!
Nein, mit Bordmitteln lässt sich dies nicht leicht umsetzen, da Enfold nur ein Menü per Menübereich unterstützt. Vielleicht hilft dieses Plugin weiter: https://wordpress.org/plugins/zen-menu-logic/ . Wir haben es aber weder explizit mit Enfold getestet, noch können wir Support hierfür anbieten.
Cheers!
Hey!
Maybe another plugin causes a conflict with WPML? We have no similar reports yet and tbh I’ve no idea what causes this issue on your server. You can try to re-upload all theme, plugin and wordpress files – maybe a file is corrupt/damaged and causes this issue.
Regards,
PeterSeptember 26, 2014 at 9:11 am in reply to: Avia / WPML – portfolio images in various sizes on translated page #325453Hey Bettina!
1) Try to regenerate all thumbnails with http://wordpress.org/extend/plugins/regenerate-thumbnails/ – unfortunately WPML doesn’t always generate the thumbnails for the translated images and you need to use this plugin to generate them manually.
2) Try this css code:
#top .grid-entry .inner-entry { box-shadow: none; }
Regards,
PeterHi!
I noticed the memory limit is set to 64MB. The blank pages are probably caused by a memory error and you need to increase the allocated memory to 128M.
Open up wp-config.php and replace:
<?php
with
<?php define( 'WP_MEMORY_LIMIT', '128M' );
Cheers!
PeterHey!
Das ist derzeit nicht möglich. Das nächste Update (Enfold 3.0) wird jedoch diese Funktion hinzufügen und man kann dann eine benutzerdefinierte Weite wählen.
Best regards,
PeterHi som63!
Bitte erstelle mir einen Admin Account, damit ich mir die Konfiguration ansehen kann.
Cheers!
PeterHi!
Der Masonry Shop kann nicht für Produkt-Kategorie Seiten verwendet werden. Diese Produkt-Kategorie Seiten sind nämlich WordPress Archiv-Seiten und verwenden die Standardvorlagen von WooCommerce. Auch kann der Masonry Shop nicht mit “Filter” Plugins oder Widgets verwendet werden, da diese Widgets die Standard Shop-Vorlage von WooCommerce benötigen. Wenn ihr daher nach Kategorien sortieren wollt, benützt die Standard Shop-Vorlage wie hier: http://kriesi.at/themes/enfold/shop/
Regards,
PeterHi graphicsplus!
I didn’t test this but try to modify wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow.php. Open up the file and replace:
foreach($this->id_array as $id)
with
$this->id_array = array_reverse($this->id_array); foreach($this->id_array as $id)
Cheers!
PeterHey!
It uses the get_the_content() function and $more variable. This function can return a different text/output.
Cheers!
PeterSeptember 22, 2014 at 4:29 pm in reply to: Blog category and tags do not work when Press Permit plugin is installed #323118Hey!
We’re not aware of any conflicts with the latest version of bbpress. It should work just fine :)
Best regards,
PeterHi borkent!
Please try to insert this code into the child theme functions.php file:
function avia_chance_wc_related_columns(){ global $avia_config; $avia_config['shop_single_column'] = 4; // columns for related products and upsells $avia_config['shop_single_column_items'] = 4; // number of items for related products and upsells } add_action('wp_head', 'avia_chance_wc_related_columns', 10);
and replace 4 with any custom, positive value.
Cheers!
PeterHi!
Yes – you can add custom css classes to the elements. You just need to add one line of code to the theme functions.php file to activate this feature – see: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/
Best regards,
Peter -
AuthorPosts