Forum Replies Created
-
AuthorPosts
-
Hey!
Please create me an admin account – I’ll look into it.
Cheers!
PeterHey!
I tagged the thread for Kriesi and asked him to look into the issue. I temporarily fixed the issue by selecting a different blog style (single author).
Cheers!
PeterHey!
Great :)
Cheers!
PeterHi!
Yes – the category probably won’t solve the problem. You must find a way to:
1) Connect the translated blog page with the original blog page – otherwise the language switcher won’t work
2) To change the blog page id based on the selected language
3) To query all existing translations of an entry and to add the flags to the menu. Otherwise the language switcher won’t work properly.Actually the hard part is not the code itself but the working time which is required to study the documentation of the third party translation plugin. Every plugin comes with a different api and it requires at some working hours to rewrite the WPML based theme code for a different translation plugin. I recommend to hire a freelancer who can help you with this task. If you want to switch to another theme I strongly recommend you to ask the theme author if the theme supports another translation plugin. Most themeforest themes just support WPML and it doesn’t make sense to switch to another theme if this theme doesn’t support your translation plugin too.
Alternatively you can try a translation plugin which doesn’t require any theme code customization at all – http://wordpress.org/plugins/multilingual-press/ – this plugin uses a separate multisite blog for each language and you can also select a different blog page, etc. for each language because each blog uses a separate option table. If you want to add the multilingual-press language switcher to the menu see https://kriesi.at/support/topic/multilingual-press-pro-enfold-multisite/#post-238613
Regards,
PeterHey!
Did you click the “Translate independently” button? Otherwise WPML will sync the content of the translation with the original post/page and overwrite the content.
Regards,
PeterHi!
Thanks for your input AndrewJ.
Regards,
PeterHey Richard!
Did you try to increase the allocated memory to 128M: http://www.wpbeginner.com/wp-tutorials/fix-wordpress-memory-exhausted-error-increase-php-memory/ ?
Cheers!
PeterHey!
Ah, ok. Man kann die Größe mit folgenden Code anpassen – die px Werte kannst du natürlich abändern:
Icon Box:
.iconbox_icon { height: 23px; width: 23px; font-size: 23px; }
Icon list:
.avia-icon-list .iconlist_icon { height: 64px; width: 64px; line-height: 64px; font-size: 30px; border-radius: 500px; }
Die Werte sollten immer gleichzeitig abgeändert werden, daher zB die Höhe/Weite muss immer synchronisiert werden. Die Font-size kann jedoch abweichen.
Regards,
PeterHi JosS1!
I recommend to contact the plugin author. Imo this issue is not theme related.
Best regards,
PeterApril 10, 2014 at 9:05 am in reply to: WooCommerce "My Account" Country drop-down is messed up #249663Hey!
Please create us an admin account and post the login credentials as private reply. I can’t reproduce the styling issue on my servers and it might be a conflict with another plugin or custom css code.
Cheers!
PeterHey!
I’m not sure if this will fix the issue but did you try to export the slider and to re-import it again? On the “LayerSlider” admin page search for the “Import & Export Sliders” field – then select your slider and hit the “export” button. Afterwards use the “import” button to import the settings file again.
Best regards,
PeterHey!
Right now I’m not aware of another solution. I’ll mark this thread for Kriesi though – if he considers this as a bug we’ll report it to the LayerSlider plugin author (the slider is a third party plugin and we just bundle the plugin with our theme). You can also try a different slider like: http://codecanyon.net/item/slider-revolution-responsive-wordpress-plugin/2751380 if you’re not happy with the LayerSlider.
Cheers!
PeterHi!
If you don’t want to crop the image on the detail page at all open up wp-content/themes/enfold/single-portfolio.php (or copy this template to your child theme directory and edit the file in your child theme folder) and replace:
$avia_config['size'] = avia_layout_class( 'main' , false) == 'entry_without_sidebar' ? '' : 'entry_with_sidebar';
with
$avia_config['size'] = 'full';
Then wordpress will use the original image and not a cropped thumbnail version.
Cheers!
PeterHi kidcabide!
If you’re using the standard blog template you can manipulate the main query in wp-content/themes/flashlight/template-blog.php. Just replace:
$avia_config['new_query'] = array( "paged" => get_query_var( 'paged' ), "posts_per_page"=>get_option('posts_per_page') ) ;
with
$avia_config['new_query'] = array( "paged" => get_query_var( 'paged' ), "posts_per_page"=>get_option('posts_per_page') ) ; query_posts(‘numberposts=4&order=DSC&orderby=post_title&lang=en’);
If you’re using a Advanced layout blog element you can try to use the query filters to manipulate the query but I’m not sure if this works out. The code would look like:
if(!function_exists('avia_change_posts_query')) { function avia_change_posts_query($query, $params) { if(!empty($query['post_type'])) { if((is_array($query['post_type']) && in_array('post', $query['post_type'])) || $query['post_type'] == 'post') { $query['lang'] = 'en'; } } return $query; } add_filter('avia_masonry_entries_query', 'avia_change_posts_query', 10, 2); add_filter('avia_post_grid_query', 'avia_change_posts_query', 10, 2); add_filter('avia_post_slide_query', 'avia_change_posts_query', 10, 2); add_filter('avia_blog_post_query', 'avia_change_posts_query', 10, 2); }
Regards,
PeterApril 10, 2014 at 8:35 am in reply to: LayerSlider Shortcode not working – was working until I added another shortcode #249648Hey!
ALB is the acronym for “Advanced Layout Builder”. The preview on the editor page does not apply all theme styles because we want to avoid to load all theme stylesheets on the backend/admin page – some theme styles may interfere with the wordpress admin styles and would break the ui. I recommend to open the page you want to edit in a new tab and then you just need to switch to the other tab to preview the content.
Cheers!
PeterApril 10, 2014 at 8:09 am in reply to: how can I make the title for each portfolio entry 18 point? #249641Hey!
I would like to avoid the image being
cropped in the window that opens when you click on it from the portfolio grid – Is this even possible
it seems like the images on the enfold demo are also cropped so maybe I am asking the impossible?Are you using the ajax portfolio? If yes the theme will not use the single-portfolio.php template I mentioned here https://kriesi.at/support/topic/how-can-i-make-the-title-for-each-portfolio-entry-18-point/#post-245059 but it will use a special html template which is loaded with js/ajax. Open up wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/portfolio.php and replace:
$params['style'] = "big_thumb";
with
$params['style'] = "big_thumb"; $params['preview_size'] ='full'; $params['crop_big_preview_thumbnail'] ='avia-gallery-big-no-crop-thumb';
Best regards,
PeterHey Quant2112!
Meinst du den “Icon” shortcode? Hierfür gibt es eine Option, welche die Größe in px oder % verändern kann: http://www.clipular.com/c/6714917134532608.png?k=CI38Fi2sogEtzP_g4hR0rGPmhG4
Best regards,
PeterHey!
I think the simplexml-load-string function can’t access the uploaded font files and the server returns the 403 error ( http://en.wikipedia.org/wiki/HTTP_403 ) page instead: http://media.3tsoftwarelabs.com/media-for-errordocs/ . This error page obviously is no valid font file and thus the simplexml-load-string function can’t parse the content.
Regards,
PeterHey!
Yes, use this code:
@media only screen and (max-width: 767px){ .blog-meta{ display: block !important; width: 100%; } .content .entry-content-wrapper .entry-content-wrapper { clear: both; } }
Best regards,
PeterHey!
It seems like you’re using a different theme now?
Cheers!
PeterHey CSPWconsulting!
You can try to generate the slider shortcode with the “Magic wand” icon in the TinyMCE (visual editor) toolbar. Then copy/paste the shortcode into the tab content field.
Best regards,
PeterHey!
Ja, ich empfehle den Elementen in den Spalten eine “Custom CSS” Klasse zu geben – siehe: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ und dann verwende diese Klasse um die Hintergrundsfarbe der Elemente zu ändern (zB verwende die Klasse “colored_posts” und füge diesen Code in das Quick CSS Feld ein.
#top #wrap_all .colored_posts{ background-color: #333; }
Cheers!
PeterHey!
But if you’re not using WPML how do you want to translate the website? I.e. you can’t select a different blog page without WPML and you can’t simply add language flags to the menu. With WPML our themes will support both features out of the box – without WPML you must customize the theme files for the translation plugin you want to use but we can’t assist you with the customization.
You can increase the font seize of the secondary menu with:
#top .sub_menu>ul, #top .sub_menu>ul>li { font-size: 13px; }
I recommend to place the code into the quick css field or into the child theme style.css.
Cheers!
PeterHi!
Please insert this code into the enfold/functions.php file (or child theme functions.php file):
if(!function_exists('avia_modify_breadcrumb_blog')) { function avia_modify_breadcrumb_blog($trail) { $blog_page = 20; if(get_post_type() === "post" && (is_category() || is_archive() || is_tag())) { $front = avia_get_option('frontpage'); $blog = $blog_page; if($front && $blog && $front != $blog) { $blog = '<a href="' . get_permalink( $blog ) . '" title="' . esc_attr( get_the_title( $blog ) ) . '">' . get_the_title( $blog ) . '</a>'; array_splice($trail, 1, 0, array($blog)); } } else if(get_post_type() === "post") { $front = avia_get_option('frontpage'); $blog = $blog_page; if($blog == $front) { unset($trail[1]); } } return $trail; } add_filter('avia_breadcrumbs_trail','avia_modify_breadcrumb_blog', 15, 1); }
and replace 20 with the id of your blog page.
Best regards,
PeterHey!
Ok, I tried to reproduce the issue but I couldn’t. I recommend to deactivate all third party plugins . maybe another plugin conflicts with Yoast seo.
Cheers!
PeterHey!
Glad it works now.
Best regards,
PeterHey!
We’ll look into it and check if we can reproduce this issue. Tbh I feel this is just a minor, low priority issue though because it does not affect the output and seo/ranking of your website.
Cheers!
PeterHi condonpb!
Did you fix the issue? The slider seems to work for me now.
Best regards,
PeterHi!
lease contact the server administrator/host provider. Sometimes you can’t increase the memory limit with thew wp-config.php file and the server administrator must help you to increase the allocated memory. At the moment your limit is set to 64M which is probably to enough and I suggest to increase it to 128M.
Best regards,
PeterHi!
Glad it works now :)
Best regards,
Peter -
AuthorPosts