Forum Replies Created
-
AuthorPosts
-
Hey peluso91!
Did you embed this code with the “HTML” Editor mode? The “Visual” mode will convert the html code to simple text and then the video won’t work (because the browser interprets the iframe code as text and not as code).
You can also try to use the embed shortcode – it will also work in “Visual” Mode: http://codex.wordpress.org/Embeds
[embed] https://www.youtube.com/watch?v=gaM04OUdYP8 [/embed]
Best regards,
PeterFebruary 10, 2014 at 10:23 am in reply to: Select Specific Posts in Post Slider / Blog Posts #221611Hey enester1!
Did you try the “Do not allow duplicates” option: http://www.clipular.com/c/5291868245983232.png?k=FmYH58ADN_wVXqoeJJTpy9KCeqk ? If it doesn’t work on the single post page please insert this code at the very bottom of functions.php
function avia_set_the_post_ID() { global $avia_config; $ID = get_the_ID(); if($ID) $avia_config['posts_on_current_page'][] = $ID; } add_action('wp_head', 'avia_set_the_post_ID');
– it should add the single post ID to the “duplicate” lists and remove it from the post slider
Cheers!
PeterHey jacobsever!
Please try to follow the suggestion(s) I posted here: https://kriesi.at/support/topic/setting-blog-to-multi-author-big-preview-blog-with-title-excerpt-read-more/#post-221204
If it still doesn’t work please deactivate all third party plugins and check if a plugin causes the issue.
Cheers!
PeterFebruary 10, 2014 at 10:10 am in reply to: Logo doesn't appear on iPad/Tablet in portrait mode #221608Hi jansthh!
Please try to insert this code at the bottom of functions.php
add_filter('body_class','avia_remove_resize_function'); function avia_remove_resize_function($classes) { $classes[] = 'avia_deactivate_menu_resize'; return $classes; }
and check if it fixes the issue.
Regards,
PeterHey!
Try following code to show the avia-menu-fx element.
.current-page-ancestor>a>.avia-menu-fx>.avia-arrow-wrap, .current-page-ancestor>a>.avia-menu-fx>.avia-arrow-wrap{display:block;}
Insert it into the quick css field.
Best regards,
PeterHey!
The child theme functions.php will be loaded first and you just need to add this code: https://kriesi.at/support/topic/adding-slideshare-to-header-social-icons/#post-200202 into it. You must not copy the functions.php file from the parent theme. The register-admin-options.php is not editable (and you can’t overwrite it) with a child theme at all and you can delete this file from the child theme folder.
Best regards,
PeterHi!
Please post the url to your website.
Regards,
PeterHi!
Please try to insert this code into the quick css field
body .container_wrap .hr.avia-builder-el-last { margin-bottom: 30px; } body .container_wrap .hr.avia-builder-el-first { margin-top: 30px; }
Regards,
PeterHey!
The demo slider uses this configuration
http://www.clipular.com/c/6408665238077440.png?k=vs2mu5TB45G8xD1NWynZsmBKVHY
– make sure that the “responsive under” and “layers container” width is set to 1140px.
Best regards,
PeterHi patriscia!
Did you test this with another browser? Afaik WordPress just shows an icon for videos and it does not display a preview or thumbnail of the video.
Best regards,
PeterHi!
Use
.js_active .tab_content{ background: gray; } .js_active .tab{ background: gray; font-size: 15px; }
Best regards,
PeterFebruary 10, 2014 at 9:26 am in reply to: Menu and Logo Location for Header With Social Icons and Bottom Nav #221584Hey deyowulf!
1) Insert this code into the quick css field
#top #menu-item-search.menu-item-search-dropdown{ float:left; } .bottom_nav_header.social_header .main_menu, .bottom_nav_header.social_header .main_menu { width: auto; float: none; margin: auto; text-align: center; } .bottom_nav_header.social_header .main_menu>div, .bottom_nav_header.social_header .main_menu ul:first-child { text-align: center; margin: auto; } .bottom_nav_header.social_header .main_menu ul:first-child { max-width: 650px; }
and instead of 650px insert the width of your menu.
2) This code
.bottom_nav_header.social_header .main_menu ul:first-child>li a { font-size: 12px; }
will help you to change the font size.
Cheers!
PeterHi rfb4!
Please post a link to your website.
Best regards,
PeterHey!
Open up wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/postslider.php and replace
if($format == 'link') { $current_post = array(); $current_post['content'] = $entry->post_content; $current_post['title'] = $entry->post_title; if(function_exists('avia_link_content_filter')) { $current_post = avia_link_content_filter($current_post); } $link = $current_post['url']; }
with
$linktarget = ''; if($format == 'link') { $current_post = array(); $current_post['content'] = $entry->post_content; $current_post['title'] = $entry->post_title; if(function_exists('avia_link_content_filter')) { $current_post = avia_link_content_filter($current_post); } $link = $current_post['url']; $linktarget = 'target="_blank"'; }
and
$markup = avia_markup_helper(array('context' => 'entry','echo'=>false)); $output .= "<article class='slide-entry flex_column {$style} {$post_class} {$grid} {$extraClass} {$thumb_class}' $markup>"; $output .= $thumbnail ? "<a href='{$link}' data-rel='slide-".avia_post_slider::$slide."' class='slide-image' title=''>{$thumbnail}</a>" : ""; $output .= "<div class='slide-content'>"; $markup = avia_markup_helper(array('context' => 'entry_title','echo'=>false)); $output .= '<header class="entry-content-header">'; $output .= !empty($title) ? "<h3 class='slide-entry-title entry-title' $markup><a href='{$link}' title='".esc_attr(strip_tags($title))."'>".$title."</a></h3>" : ''; $output .= '</header>';
with
$markup = avia_markup_helper(array('context' => 'entry','echo'=>false)); $output .= "<article class='slide-entry flex_column {$style} {$post_class} {$grid} {$extraClass} {$thumb_class}' $markup>"; $output .= $thumbnail ? "<a href='{$link}' {$linktarget} data-rel='slide-".avia_post_slider::$slide."' class='slide-image' title=''>{$thumbnail}</a>" : ""; $output .= "<div class='slide-content'>"; $markup = avia_markup_helper(array('context' => 'entry_title','echo'=>false)); $output .= '<header class="entry-content-header">'; $output .= !empty($title) ? "<h3 class='slide-entry-title entry-title' $markup><a href='{$link}' {$linktarget} title='".esc_attr(strip_tags($title))."'>".$title."</a></h3>" : ''; $output .= '</header>';
Best regards,
PeterHey borkent!
I tagged this thread for Kriesi. I’m not sure if there’s any solution because I doubt it’s possible to detect the “cursor”. The only solution I can think of would be to use the OS class (i.e. avia-windows) to distinguish “laptop” touchscreens from “mobile devices” however this may still cause weird results for some users.
Best regards,
PeterHi Stefan!
If you want to use the “load more” button or the pagination you can’t sort the images randomly because wordpress would query/show the same images over and over again. If you do not use a pagination or load more button use this code and insert it at the bottom of functions.php:
add_filter('avia_masonry_entries_query', 'avia_random_image_query', 10, 2); function avia_random_image_query($query, $params) { if(!empty($query['post_mime_type']) && $query['post_mime_type'] == 'image') { $query['orderby'] = "rand"; } return $query; }
for a random sort order.
Best regards,
PeterHey!
1) If you want to center align the title add following code into the quick css field
.grid-entry-title { text-align: center; }
2) Yes, I noticed that this option doesn’t work on your server. I’m pretty sure it’s connected to WPML and the woocommerce multilingual plugin which probably requires a pretty slug to work.
Best regards,
PeterHey Spiv!
We didn’t test Enfold 2.4.5 with WooCommerce 2.1 yet. We’ll test it with the final version and release a theme update if necessary.
Best regards,
PeterFebruary 8, 2014 at 12:35 pm in reply to: Hide dates in fullwidth masonry display of blog posts #221210Hi jmerithew!
Use this css code to hide it:
.av-masonry-date{ display: none !important;}
Best regards,
PeterHey Vermishelle!
Thank you for the suggestion. I’ll ask Kriesi to add a filter.
Cheers!
PeterHey sandboxes!
I don’t know if LayerSlider supports this script and we can’t provide support for this customization. However you can try to place the html code into the “html” field of a layer
<span class="hsjs">Each line in this code’sHTML</span> <span class="hsjs">is set off with a</span> <span class="hsjs"><span></span> <span class="hsjs">element, & HatchShow adjusts the font size</span> <span class="hsjs">automatically.</span> <span class="hsjs">Each line should end up</span> <span class="hsjs">(roughly) the same width.</span>
and then insert this code at the very bottom of enfold/js/avia.js:
(function($){ $(window).load(function(){ $().hatchShow(); }); jQuery.fn.hatchShow = function(){ $('.hsjs').css('display','inner-block').css('white-space','pre').each(function(){ var t = $(this); t.wrap("<span class='hatchshow_temp' style='display:block'>"); var pw = t.parent().width(); while( t.width() < pw ){t.css('font-size', (t.fontSize()+1)+"px"), function(){while( t.width() > pw ){t.css('font-size', (t.fontSize()-.1)+"px")}}; }; }).css('visibility','visible'); }; jQuery.fn.fontSize = function(){return parseInt($(this).css('font-size').replace('px',''));}; })( jQuery );
Cheers!
PeterHi justinfinocchiaro!
Please see https://kriesi.at/support/topic/enfold-conditional-menu/
Regards,
PeterFebruary 8, 2014 at 12:02 pm in reply to: Setting Blog to Multi-Author, Big Preview Blog with Title, Excerpt & Read More #221204Hey murphy88!
You can use the read more quicktag: http://en.support.wordpress.com/splitting-content/more-tag/ to generate the excerpt. If you want to use the “excerpt” field content as excerpt add following code to functions.php (insert it at the very bottom):
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'] .= '<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; }
Best regards,
PeterHey DaveL77!
I’m not sure if this is possible. It seems like the color of the background is already black and I’m not sure how you can add a dark gradient to a black background. This image http://gyazo.com/32d91802aedf473733c40427ac9f1604 shows a grey background which can be used with gradients. Maybe a link to your website helps us to check the design.
Best regards,
PeterHi!
Open up wp-content/themes/enfold/includes/helper-post-format.php and replace
$current_post['title'] = "<a href='$link' rel='bookmark' title='".__('Link to:','avia_framework')." ".the_title_attribute('echo=0')."' $markup>".get_the_title()."</a>";
with
$current_post['title'] = "<a href='$link' target='_blank' rel='bookmark' title='".__('Link to:','avia_framework')." ".the_title_attribute('echo=0')."' $markup>".get_the_title()."</a>";
Cheers!
PeterHey!
Can you please post a link to your enfold website? This website: http://www.floatingflooradelaide.com.au/ does not use Enfold.
Regards,
PeterHey!
I suggest to try the portfolio ajax previews (you can select this option when you add a “portfolio grid” element to a page). The portfolio preview can show any type of content (slideshow, toggle, columns, etc.). Just select “Don’t show the images at all and display the preview text only” option: http://www.clipular.com/c/6453051829256192.png?k=5TIdSdjsRn87CQytVuQeUU4899A on the portfolio entry editor page and insert your shortcode(s) into the text editor field.The preview content will load when the user clicks on a portfolio entry: http://kriesi.at/themes/enfold/portfolio/portfolio-ajax/
Cheers!
PeterHi Raul!
You’ve two options:
1) Remove the “category description” on the category editor page (click on “Edit” to edit the category slug, description, etc.).
2) Use this css code to hide the description text:
.archive .category-term-description { display: none; }
You can insert it into the quick css field.
Best regards,
PeterHey djsmbd!
Go to the wordpress admin page > Settings > General and select “Week Starts On” – “Sunday”.
Regards,
PeterHi pfconsult!
No, te contact form does not support a landing page or redirect at the moment. You can try an advanced contact form plugin like: Formidable or Gravity Forms.
Regards,
Peter -
AuthorPosts