Forum Replies Created
-
AuthorPosts
-
Hey!
Great :)
Regards,
Peter
Hey!
Thanks formateins for posting your code :)
Regards,
Peter
Try to install the latest version of Enfold (should be v1.7.1) and try to use the smtp plugin – i.e. http://wordpress.org/support/plugin/easy-wp-smtp or http://wordpress.org/plugins/wp-smtp/ or http://wordpress.org/plugins/wp-mail-smtp/
Hi!
You can use following code to change the color – insert it into the quick css field
#top .toggle_icon .hor_icon, #top .toggle_icon .vert_icon, #top .toggle_icon{
border-color: #333;
}Regards,
Peter
Please read Kriesi’s answer here: http://themeforest.net/item/enfold-responsive-multipurpose-theme/discussion/4519990#comment_4246712
This is not a quick hack but it requires major changes to the template builder framework. We’ll include such an option in the future but for now this is simply not possible…
Hey!
Please try to insert following code into the quick css field
.woocommerce-account dt, .customer_details dt {
width: auto;
margin-right: 5px;
}
dl.customer_details{
margin-bottom: 20px;
}Best regards,
Peter
Hey!
You can use ftp – navigate to wp-content/themes/enfold/css/ and download the file. Then edit it and upload it again. You can also use a plugin like: http://wordpress.org/plugins/solid-code-theme-editor/
Best regards,
Peter
July 2, 2013 at 2:56 pm in reply to: enfold theme, remove all blog post meta data both from blog site + single post #127517Hi,
Open up enfold/includes/loop-index.php and delete:
echo "<span class='post-meta-infos'>";
echo "<span class='date-container minor-meta'>".get_the_time('d M Y')."</span>";
echo "<span class='text-sep'>/</span>";
if ( get_comments_number() != "0" || comments_open() ){
echo "<span class='comment-container minor-meta'>";
comments_popup_link( "0 ".__('Comments','avia_framework'),
"1 ".__('Comment' ,'avia_framework'),
"% ".__('Comments','avia_framework'),'comments-link',
"".__('Comments Disabled','avia_framework'));
echo "</span>";
echo "<span class='text-sep'>/</span>";
}
$taxonomies = get_object_taxonomies(get_post_type($the_id));
$cats = '';
$excluded_taxonomies = apply_filters('avf_exclude_taxonomies', array('post_tag','post_format'), get_post_type($the_id), $the_id);
if(!empty($taxonomies))
{
foreach($taxonomies as $taxonomy)
{
if(!in_array($taxonomy, $excluded_taxonomies))
{
$cats .= get_the_term_list($the_id, $taxonomy, '', ', ','').' ';
}
}
}
if(!empty($cats))
{
echo '<span class="blog-categories minor-meta">'.__('in','avia_framework')." ";
echo $cats;
echo '</span><span class="text-sep">/</span>';
}
echo '<span class="blog-author minor-meta">'.__('by','avia_framework')." ";
the_author_posts_link();
echo '</span>';
echo '</span>';1) Please try to re-upload all wordpress core files. You can download the latest stable version here: http://wordpress.org/latest.zip
2) Try to increase the php memory to 128M: http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP
3) Make sure that the folder permissions of /wp-includes/ and /wp-content/ are set to a reasonable value (eg 0755).
Glad you fixed it. Please note that “WordPress 3.5.2 comes bundled with jQuery 1.10.1” is not true but it uses jQuery 1.8.3. Tbh I even doubt that WP3.6 will use jQuery 1.10 and I guess they’ll stick with the 1.9.x branch. However maybe a plugin overwrites the default jquery file…
Please insert following code into the “standard editor” textarea and save the entry. Then click on the “Advanced Editor” button to edit the content.
[av_layerslider id='1']
[av_one_third first]
[av_icon_box icon='17' position='left' title='Checkit!']
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aenean <strong>commodo ligula</strong> eget dolor. Aenean massa. Cum sociis
[/av_icon_box]
[/av_one_third]
[av_one_third]
[av_icon_box icon='50' position='left' title='Green Power']
Aenean massa. Cum sociis natoque penatibus et magnis dis <strong>parturient montes</strong>, nascetur ridiculus mus. Lorem ipsum dolor sit amet
[/av_icon_box]
[/av_one_third]
[av_one_third]
[av_icon_box icon='125' position='left' title='Recycle that']
Aenean commodo ligula eget dolor. Aenean massa. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cum sociis natoque <strong>sadfsadfas</strong>
[/av_icon_box]
[/av_one_third]
[av_promobox button='yes' label='Click me' link='manually,http://' link_target='' color='theme-color' custom_bg='#444444' custom_font='#ffffff' size='large' icon_select='no' icon='25']
A typical landing page should have many possible exits for the user to purchase your Product. Enfold allows you to add as many as you want
[/av_promobox]
[av_section color='footer_color' custom_bg='' src='' position='top left' repeat='no-repeat' attach='scroll' padding='large' shadow='no-shadow']
[av_one_half first]
[av_gallery ids='316,315,314,313' style='big_thumb' preview_size='portfolio' columns='7']
[/av_one_half][av_one_half]
[av_textblock]
<h2>Any Layout imaginable</h2>
[/av_textblock]
[av_hr class='short' height='70' position='left']
[av_textblock]
Lorem ipsum dolor sit amet, consectetuer <strong>adipiscing elit</strong>. Aenean commodo ligula eget dolor. Aenean massa.
<ul>
<li>Nulla consequat massa quis enim.</li>
<li>Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu.</li>
<li>In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium.</li>
<li>Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi.</li>
<li>Aenean <strong>vulputate</strong> eleifend tellus.</li>
</ul>
[/av_textblock]
[av_hr class='short' height='70' position='left']
[av_button label='Learn more...' link='manually,http://' link_target='' color='theme-color-subtle' custom_bg='#444444' custom_font='#ffffff' size='large' position='left' icon_select='yes' icon='121']
[/av_one_half]
[/av_section]
[av_section color='alternate_color' custom_bg='' src='' position='top left' repeat='no-repeat' attach='scroll' padding='large' shadow='shadow']
[av_one_half first]
[av_textblock]
<h2 style="text-align: right;">About Us</h2>
[/av_textblock]
[av_hr class='short' height='70' position='right']
[av_textblock]
<p style="text-align: right;">Lorem ipsum dolor sit amet, consectetuer <strong>adipiscing elit</strong>. Aenean commodo ligula eget dolor. Aenean massa.</p>
<p style="text-align: right;">Nulla consequat massa quis enim.
Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu.
In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium.
Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi.
Aenean <strong style="text-align: right;">vulputate</strong> eleifend tellus.
[/av_textblock]</p>
[av_hr class='short' height='70' position='right']
[av_button label='Check out our Team' link='manually,http://' link_target='' color='theme-color-subtle' custom_bg='#444444' custom_font='#ffffff' size='large' position='right' icon_select='yes' icon='14']
[/av_one_half][av_one_half]
[av_iconlist position='left']
[av_iconlist_item title='Crafted with love' icon='43']
Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in.
[/av_iconlist_item]
[av_iconlist_item title='Melodical by nature' icon='51']
Donec vitae sapien ut libero venenatis faucibus. Nullam quis ante. Etiam sit amet orci eget eros faucibus tincidunt.
[/av_iconlist_item]
[av_iconlist_item title='Lightning Fast' icon='64']
Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero.
[/av_iconlist_item]
[av_iconlist_item title='Freaky Flags' icon='41']
Nullam quis ante. Etiam sit <strong>amet orci eget</strong> eros faucibus tincidunt. Donec vitae sapien ut libero venenatis faucibus.
[/av_iconlist_item]
[/av_iconlist]
[/av_one_half][av_promobox button='yes' label='Click me' link='manually,http://' link_target='' color='theme-color-subtle' custom_bg='#444444' custom_font='#ffffff' size='large' icon_select='no' icon='25']
A typical landing page should have many possible exits for the user to purchase your Product. Enfold allows you to add as many as you want
[/av_promobox]
[/av_section]
[av_section color='main_color' custom_bg='' src='' position='top left' repeat='no-repeat' attach='scroll' padding='default' shadow='no-shadow']
[av_one_half first]
[av_image src='745' align='right' animation='left-to-right']
[/av_one_half][av_one_half]
[av_textblock ]
<h2>Feature A</h2>
[/av_textblock]
[av_hr class='short' height='70' position='left']
[av_textblock]
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa.
Nulla consequat massa quis enim.Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu.In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium.Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi.Aenean vulputate eleifend tellus.
[/av_textblock]
[av_hr class='short' height='70' position='left']
[av_button label='More about Feature A' link='manually,http://' link_target='' color='theme-color-subtle' custom_bg='#444444' custom_font='#ffffff' size='large' position='left' icon_select='yes' icon='12']
[/av_one_half]
[/av_section]
[av_section color='alternate_color' custom_bg='' src='' position='top left' repeat='no-repeat' attach='scroll' padding='default' shadow='no-shadow']
[av_one_half first]
[av_textblock ]
<h2>Feature B</h2>
[/av_textblock]
[av_hr class='short' height='70' position='left']
[av_textblock]
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa.
Nulla consequat massa quis enim.Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu.In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium.Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi.Aenean vulputate eleifend tellus.
[/av_textblock]
[av_hr class='short' height='70' position='left']
[av_button label='More about Feature B' link='manually,http://' link_target='' color='theme-color-subtle' custom_bg='#444444' custom_font='#ffffff' size='large' position='left' icon_select='yes' icon='41']
[/av_one_half][av_one_half]
[av_image src='745' align='right' animation='left-to-right']
[/av_one_half]
[/av_section]
[av_section color='main_color' custom_bg='' src='' position='top left' repeat='no-repeat' attach='scroll' padding='default' shadow='no-shadow']
[av_one_half first]
[av_image src='745' align='right' animation='left-to-right']
[/av_one_half][av_one_half]
[av_textblock ]
<h2>Feature C</h2>
[/av_textblock]
[av_hr class='short' height='70' position='left']
[av_textblock]
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa.
Nulla consequat massa quis enim.Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu.In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium.Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi.Aenean vulputate eleifend tellus.
[/av_textblock]
[av_hr class='short' height='70' position='left']
[av_button label='More about Feature C' link='manually,http://' link_target='' color='theme-color-subtle' custom_bg='#444444' custom_font='#ffffff' size='large' position='left' icon_select='yes' icon='2']
[/av_one_half]
[/av_section]
[av_section color='alternate_color' custom_bg='' src='' position='top left' repeat='no-repeat' attach='scroll' padding='large' shadow='shadow']
[av_textblock]
<h2 style="text-align: center;">What others say about us</h2>
[/av_textblock]
[av_hr class='short' height='50' position='center']
[av_testimonials columns='2']
[av_testimonial_single src='315' name='The Man' subtitle='CEO' link='http://www.wikipedia.com' linktext='WikiTravel']
Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus.
[/av_testimonial_single]
[av_testimonial_single src='315' name='Anna Vandana' subtitle='CEO' link='http://www.wikipedia.com' linktext='Media Wiki']
In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus.
[/av_testimonial_single]
[av_testimonial_single src='315' name='Maxi Milli' subtitle='CEO' link='http://www.wikipedia.com' linktext='Max Mobilcom']
Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu.
[/av_testimonial_single]
[av_testimonial_single src='315' name='Dr. Dosist' subtitle='CEO' link='http://www.wikipedia.com' linktext='Doom Inc']
In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus.
[/av_testimonial_single]
[/av_testimonials]
[/av_section]
[av_promobox button='yes' label='Click me' link='manually,http://' link_target='' color='theme-color-subtle' custom_bg='#444444' custom_font='#ffffff' size='large' icon_select='no' icon='25']
A typical landing page should have many possible exits for the user to purchase your Product. Enfold allows you to add as many as you want
[/av_promobox]Open up functions-enfold.php and replace:
$defaults = array(
'title' => get_the_title($id),
'subtitle' => "", //avia_post_meta($id, 'subtitle'),
'link' => get_permalink($id),
'html' => "<div class='{class} title_container'><div class='container'><{heading} class='main-title'>{title}</{heading}>{additions}</div></div>",
'class' => 'stretch_full container_wrap alternate_color '.avia_is_dark_bg('alternate_color', true),
'breadcrumb' => true,
'additions' => "",
'heading' => 'h1' //headings are set based on this article: http://yoast.com/blog-headings-structure/
);with
$defaults = array(
'title' => get_the_title($id),
'subtitle' => "", //avia_post_meta($id, 'subtitle'),
'link' => get_permalink($id),
'html' => "<div class='{class} title_container'><div class='container'><{heading} class='main-title'>{title}</{heading}>{additions}</div></div>",
'class' => 'stretch_full container_wrap alternate_color '.avia_is_dark_bg('alternate_color', true),
'breadcrumb' => true,
'additions' => "",
'show_home' => __( 'MY CUSTOM TEXT', 'avia_framework' ),
'heading' => 'h1' //headings are set based on this article: http://yoast.com/blog-headings-structure/
);and insert your custom text instead of “MY CUSTOM TEXT”.
Make sure that the wp-content/uploads/dynamic_avia/ folder is writable. Enfold will use this folder to create the dynamic css file (called enfold.css). It contains the styling settings which you configured on the theme option page and if Enfold can’t write or create it you won’t notice any changes even if you save the options.
Actually the last answer refers to the user question. The user describes the error in the first post and the regex stops at the offset 707 830. In your case the offset already stops at 35 192 which seems to be an (uncommonly) low value. We did not receive a similar bug report yet and I guess the reason is because all other users have a better configuration (better pcre.backtrack_limit and pcre.recursion_limit) or your server must cope with a huge amount of data (number of posts, etc.) and 4,384 other users who use this theme don’t reach the limit on their servers…
Unfortunately there’s (currently) no real fix for this issue. The content container height depends on the content and if there isn’t enough content the container height won’t cover the viewport height – in this case the content container ends before the bottom of the screen and the body background is visible at the bottom. I’d suggest to use the same color for the socket and the body/html background – then the user won’t notice that the body/html background is different and the user will just notice that the socket height varies from page to page.
I found some jquery scripts – eg http://josephfitzsimmons.com/home/simple-sticky-footer-using-jquery/ or http://www.egstudio.biz/sticky-footer-with-jquery/ which will add a margin to the footer div if the content container height doesn’t exceed the viewport but I feel it’s very buggy and doesn’t always work as expected. In addition it will maybe break the responsive layout (didn’t test this though)
However if you want to try it add following code to the bottom of enfold/js/avia.js:
jQuery(document).ready(function() {
var footer = jQuery("#footer");
var pos = footer.position();
var height = jQuery(window).height();
height = height - pos.top;
height = height - footer.height();
if (height > 0) {
footer.css({'margin-top' : height+'px'});
}
});It’s not possible to add a custom icon to the fontello font set. I’d suggest to use the “append” parameter to add custom html code to the social icons – see https://kriesi.at/support/topic/how-do-i-add-a-you-tube-icon-to-social-icons-in-the-header
July 1, 2013 at 7:51 am in reply to: How do I add a you Tube Icon to social icons in the header #127052There’s no youtube icon in the font icon set at the moment – Kriesi will probably add a youtube icon to the icon set in the next update. For now I’d suggest to append the youtube icon as an image to the icon list. In header.php replace
$social_args = array('outside'=>'ul', 'inside'=>'li', 'append' => '');
with
$social_args = array('outside'=>'ul', 'inside'=>'li', 'append' => '<a href="http://youtube.com" class="youtube" target="_blank"><img src="http://mywebsite.com/youtubelogo.png" title="Youtube" alt="Youtube" /></a>');
and instead of http://mywebsite.com/youtubelogo.png insert the url to your youtube icon and replace http://youtube.com with the youtube account url…
I tagged this thread for Kriesi. Chrome outputs a js error message:
Uncaught TypeError: Cannot read property 't2d' of undefined - abqdowns.com/:1
but I can’t reproduce the error on my servers and I can’t find the “t2d” attribute in the website source code. Hopefully Kriesi can shed some light on this issue – if not we’ll contact the LayerSlider plugin author…
Hey!
If you want to activate this option for all products open up wp-contentthemesenfoldconfig-woocommerceconfig.php and replace
$active_hover = get_post_meta( $id, '_product_hover', true );
with
$active_hover = true;
Best regards,
Peter
1) In includes/loop-index.php replace
else if(strpos($blog_style, 'small') !== false)
{
echo "<a href='{$link}' class='small-preview'>".$slider.$icon."</a>";
}with
else if(strpos($blog_style, 'small') !== false && !is_single())
{
echo "<a href='{$link}' class='small-preview'>".$slider.$icon."</a>";
}2) You can try this fix: http://mehigh.biz/wordpress/adding-wmode-transparent-to-wordpress-3-media-embeds.html – add the code to the bottom of functions.php.
3) In index.php replace:
get_template_part( 'includes/loop', 'index' );
with
get_template_part( 'includes/loop', 'index' );
//show related posts based on tags if there are any
get_template_part( 'includes/related-posts');Note it will only work on the standard blog page and not with the “layout builder” blog element.
Hey!
Please insert following code into thee quick css field to fix the issue:
.taglist {
word-wrap:break-word;
}Regards,
Peter
You can use the more quicktag to manually set the excerpt. If you don’t want to use the more quicktag open up wp-contentthemesenfoldincludesloop-index.php and replace:
$blog_content = !empty($avia_config['blog_content']) ? $avia_config['blog_content'] : "content";
with
$blog_content = !empty($avia_config['blog_content']) ? $avia_config['blog_content'] : "excerpt_read_more";
if(is_single()) $blog_content = "content";WordPress will use the get_the_excerpt() function afterwards which truncates the content automatically…
July 1, 2013 at 6:28 am in reply to: Dynamically Add the Category Name to Grid Layout Source Code #127352In postslider.php replace
$post_class = "post-entry post-entry-{$the_id} slide-entry-overview slide-loop-{$post_loop_count} slide-parity-{$parity} {$last}";
with
$post_class = "post-entry post-entry-{$the_id} slide-entry-overview slide-loop-{$post_loop_count} slide-parity-{$parity} {$last}";
$postcats = get_the_category($the_id);
foreach($postcats as $postcat)
{
$post_class .= ' '.$postcat.' ';
}July 1, 2013 at 6:08 am in reply to: Can I use the navigation arrows for each category, not all? #127405Yes – add following code to the bottom of functions.php:
add_filter('avia_post_nav_categories', 'use_same_category_filter');
function use_same_category_filter($same_category)
{
$same_category = true;
return $same_category;
}Please note that this code will only work for standard posts. Custom post types like the portfolio are not supported because of a bug in the wp core.
You can use following filter to exclude pages from the sidebar – add the code to the bottom of functions.php
add_filter('avia_sidebar_menu_args', 'avia_exclude_sidebar_pages',10, 2);
function avia_exclude_sidebar_pages($args, $post)
{
$args['exclude'] = '20,25,30';
return $args;
}and replace 20,25,30 with the page ids of the pages you want to remove from the sidebar menu…
July 1, 2013 at 5:51 am in reply to: Is there any way to target an "active toggle element" via css? #127384Hi!
You should be able to change the color with
.activeToggle.toggle_wrap {
background-color: #c00000 !important; color: #ffffff !important;
}and
.main_color .toggler.activeTitle{
background-color: #c00000 !important; color: #ffffff !important;
}Best regards,
Peter
June 30, 2013 at 9:11 am in reply to: How to arrange contents in megamenu through pages/sections #127227Each menu item has an id – you can use this id to hide each item. To find out the id just investigate your website with the developer tools or firebug – I made a short video to demonstrate the workflow: http://www.screenr.com/38xH
Now you can hide all your “section” links with following css code (insert it into the quick css field):
#menu-item-721, #menu-item-709, #menu-item-790, #menu-item-781{
display: none;
}Instead of 721, 709, etc. insert your custom ids (ids of the section links).
Then use following code to show the items on a certain page:
.page-id-75 #menu-item-721, .page-id-75 #menu-item-709, .page-id-75 #menu-item-790, .page-id-75 #menu-item-781{
display: block;
}Again, replace the 721, 709, etc ids with the section link ids and replace 75 with the id of the page which contains these sections.
Yes, I’d suggest to use the “shortcode generator” to build the accordion shortcode (go to a “post” editor page, click on the “magic wand” icon in the TinyMCE toolbar and select “Content Elements” > “Accordion”). Then build your accordion and copy/paste the shortcode into a text widget. You can add this text widget to any widget area in your sidebar.
Hey!
Please open up single.php and delete following code
comments_template( '/includes/comments.php');
Best regards,
Peter
Hey!
Glad you found the solution :)
Best regards,
Peter
-
AuthorPosts