Forum Replies Created
-
AuthorPosts
-
February 1, 2014 at 11:32 am in reply to: Language selector top header no flags but country code #218224
Hey!
I’ll suggest it to Kriesi :)
Best regards,
PeterHey pmpenguin!
1) Please deactivate all plugins – maybe a caching plugin causes the issue.
2) If 1) doesn’t help go to Enfold > Theme Options and click the “Save” button to regenerate the dynamic stylesheet. If it doesn’t help use ftp to access your server and navigate to wp-content/uploads/dynamic_avia/. Delete the css file within this folder and then click the “Save” button on the theme options page to regenerate the stylesheet.
Cheers!
PeterHi alexoua!
No, unfortunately this is not possible without customizing the theme files quite a bit. You can embed the music files on the single portfolio entry page though – i.e. wordpress supports a native audio shortcode: https://codex.wordpress.org/Audio_Shortcode – use it like
[audio src="audio-source.mp3"]
Regards,
PeterHi!
Please go to /wp-content/uploads/ and create a new folder called “dynamic_avia” (without the quotes). Then set the folder permission to 777 and go to Enfold > Theme Options and click the “Save” button to regenerate the dynamic stylesheet.
Best regards,
PeterHey netinfoplc!
I need to check the setup – please create me an admin account and post the login credentials as private reply.
Best regards,
PeterHey p_niedrich!
I need to check the setup – please create me an admin account and post the login credentials as private reply.
Best regards,
PeterHey borkent!
Sure – use this code
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_id = get_post_meta($id, 'artist_logo', true ); if($prev_img_id) $image_attributes = wp_get_attachment_image_src($prev_img_id); // returns an array if(!empty($image_attributes[0])) $this->loop[$key]['content'] = '<img src="'.$image_attributes[0].'" />';
Regards,
PeterHi!
You can’t overwrite the entire function with a hook. You can either use the “avf_title_args” hook to change certain options/parameters – i.e. like
add_filter('avf_title_args', 'avf_blog_title', 10, 2); function avf_blog_title($args, $id) { $args['heading'] = 'h2'; return $args; }
or (if you want to modify major parts of the function) copy the entire function from functions-enfold.php to your child theme functions.php and it will overwrite the parent theme code/function.
Best regards,
PeterFebruary 1, 2014 at 10:52 am in reply to: Blog grid: How to sort/display 1 category chronologically and 1 alphabetically? #217750Hey ttem!
You can try following code
add_filter('avia_post_slide_query','avia_order_by_random', 10, 2); function avia_order_by_random($query, $params) { $query['orderby'] = 'title'; $query['order'] = 'ASC'; $terms = explode(',', $params['categories']); if (!empty($terms) && in_array(55, $terms)) { $query['orderby'] = 'date'; } return $query; }
and replace 55 with the id of the category you want to sort chronological.
Best regards,
PeterHey!
The blog works now: EDITED- if you want to use an “advanced layout” blog element you must not select this page as blog page (Enfold > Theme Settings). If the same page is selected as blog page Enfold will load a different, special blog template and then the advanced layout elements (i.e. masonry blog) won’t show up. I selected a different page as blog page now and the masonry grid works.
Cheers!
PeterHi!
You can extend the width with following code
.responsive #top #header_main_alternate .container { width: 100% !important; } .responsive #top #header_main_alternate .container .main_menu { width: 1030px; float: none; margin: auto; }
Cheers!
PeterHi!
Yes, please update your theme to version 2.4.5.
Best regards,
PeterHey cfleury!
You can use the read more quicktag: http://en.support.wordpress.com/splitting-content/more-tag/ to create the excerpt or insert following code at the bottom of functions.php:
add_filter( 'post-format-standard', 'avia_category_content_filter', 15, 1); function avia_category_content_filter($current_post) { if(!is_single()) { $current_post['content'] = get_the_excerpt(); $current_post['content'] .= $current_post['content'].'<div class="read-more-link"><a href="'.get_permalink().'" class="more-link">'.__('Read more','avia_framework').'<span class="more-link-arrow"> →</span></a></div>'; } return $current_post; }
to use the “excerpt” field content for the excerpt text.
Best regards,
PeterFebruary 1, 2014 at 10:23 am in reply to: Advanced Layout Editor crashes with "CSS & Javascript Toolbox" since 2.5 #217740Hey!
Actually the “Advanced layout editor” uses a special template and we use the “template_redirect” hook to load the special advanced layout page template. We load the template with the priority of 10 (default priority) and maybe the plugin doesn’t work because the author used a lower priority value. I’m also not sure if the plugin will work with advanced layouts at all because the different templates may conflict with each other.
Best regards,
PeterHi!
Afaik the excerpt itself does not support any images because wordpress strips all html tags (including images) from the excerpt text.
Best regards,
PeterHi frankwelschlehmann!
We already optimized Enfold for hatom and the structure is valid – i.e. you can test it with the blog page of the demo website: http://www.google.de/webmasters/tools/richsnippets?q=http%3A%2F%2Fkriesi.at%2Fthemes%2Fenfold%2Fblog%2F
Cheers!
PeterJanuary 31, 2014 at 12:25 pm in reply to: Symbols are not shown properly with Firefox on my Russian Page #217406Hey!
Please try this solution: https://kriesi.at/support/topic/invisible-icons/#post-216288
Cheers!
PeterJanuary 31, 2014 at 12:22 pm in reply to: Sharing buttons like http://share.pluso.ru/, but english #217404Hey!
ok :)
Best regards,
PeterHi!
The “MailChimp” plugin causes this issue. I deactivated it and now the category query works.
Cheers!
PeterJanuary 31, 2014 at 12:12 pm in reply to: Sharing buttons like http://share.pluso.ru/, but english #217396Hi runekjensen!
You can try: http://wordpress.org/plugins/simple-share-buttons-adder/
Regards,
PeterHey ramoncrusellas!
Please create us an admin account and post the login credentials as private reply.
Best regards,
PeterHey!
No, unfortunately this is not doable. You can not add two blog elements with sidebars to the same page. I recommend to insert the blog at the very end like
Full width section with content slider Full width section with content slider etc. Blog content | Sidebar
Best regards,
PeterJanuary 31, 2014 at 11:48 am in reply to: Yoast SEO Plugin makes some pages go missing… incompatibility? #217384Hey BelIblis!
Thank you for the notice. We’ll look into it if more users report similar issues.
Best regards,
PeterHi Giles!
1) Yes, go to Enfold > General Settings and select another “Single Post Style”. If you do not want to change the style open up wp-content/themes/enfold/includes/loop-index.php and replace
$current_post['slider'] = get_the_post_thumbnail($the_id, $size);
with
$size = 'square'; $current_post['slider'] = get_the_post_thumbnail($the_id, $size);
You can also replace ‘square’ with another thumbnail size like ‘entry_with_sidebar’ or ‘entry_without_sidebar’.
2) Insert following code into the quick css field
#top.single .big-preview, #top.single .small-preview{pointer-events: none !important;}
3) Can you post a link to the page with the images please?
Regards,
PeterHi mscott819!
You can’t hide/show certain elements of the template builder for logged in/logged out users but you can use the default editor (standard text editor instead of the “Advanced Layout Editor”), the theme shortcodes (Magic wand icon in the visual editor toolbar) and i.e. this pugin: http://wordpress.org/plugins/content-lock/ to build such a page layout. It’s not as flexible as an “Advanced Layout Editor” layout but nearly all advanced layout elements (notification box, tabs, toggles, etc.) are available as shortcodes.
Regards,
PeterHi borchersconsulting!
You can use the “Icon” Shortcode – it supports a “no link” option and an optional tooltip text: http://www.clipular.com/c/5547884535611392.png?k=-P8wrhdhsZlHv6n28QZktkn8MKw
– please make sure you’re using the latest theme version (2.4.5). Older theme versions do not support the tooltip feature.
Best regards,
PeterHi!
The “All” word is translatable with the mo/po files. I suggest to use Codestyling to translate it. Install the plugin ( http://wordpress.org/plugins/codestyling-localization/ ), go to Tools > Localization and select “Themes”. Then search for “Enfold” in the list and select your language and click the “create po-file” button. Click on “Rescan” to search for all text strings. Afterwards click on “Edit” and translate the required strings from the “avia_framework” textdomain. At least click the “create mo file” button next to the “Textdomain” selection dropdown (top left corner).
Best regards,
PeterHi!
The “Redirection” plugin triggers some js errors on the admin page which breaks Yoast SEO and our theme. I deactivated it now.
Cheers!
PeterHi!
Yes, insert it at the very bottom
Best regards,
Peter -
AuthorPosts