Forum Replies Created
-
AuthorPosts
-
Hey nikolai!
This is not easily possible. Basically you would need to remove all function calls of “avia_title()” from all theme templates (I did a quick search and found 18 occurrences in template files) and then you need to add the title output to the main content container (i.e. in /wp-content/themes/enfold/includes/loop-page.php or /wp-content/themes/enfold/includes/loop-portfolio-single.php). However you need to be very careful – otherwise you’ll break the theme. Depending on your coding skills I recommend to hire a freelancer for this job. The job should be doable with 1,5-2 hours of work.
Cheers!
PeterDecember 28, 2013 at 11:51 am in reply to: Image resize problem in IE and FF, Chrome looks fine #203630Hi npozero!
Please post a link to the website (you can post it as private reply if you want to avoid that other users can use it to visit your website).
Regards,
PeterHi kls1138!
1) The order is determined by the code in enfold/sidebar.php. If you want to display the “Displayed Everywhere” widget area on top of the “Sidebar Blog” widget area open up sidebar.php and delete following code
//global sidebar if (dynamic_sidebar('Displayed Everywhere')) : $default_sidebar = false; endif;
Then replace
if($custom_sidebar) { dynamic_sidebar($custom_sidebar); $default_sidebar = false; }
with
//global sidebar if (dynamic_sidebar('Displayed Everywhere')) : $default_sidebar = false; endif; if($custom_sidebar) { dynamic_sidebar($custom_sidebar); $default_sidebar = false; }
2) I’m not familiar with the Adrotate plugin code and I don’t know how you can fix this. Please contact the plugin author – maybe he can provide support for the plugin.
Regards,
PeterHi tsmedia!
1) Replace this code in footer.php
$the_id = avia_get_the_id(); //use avia get the id instead of default get id. prevents notice on 404 pages
with
if(is_shop()) $the_id = woocommerce_get_page_id( 'shop' ); if(empty($the_id)) $the_id = avia_get_the_id(); //use avia get the id instead of default get id. prevents notice on 404 pages
and the option should work. We’ll fix this with the next update.
2) In functions.php replace
$avia_config['layout']['sidebar_right'] = array('content' => 'nine alpha', 'sidebar' => 'three alpha', 'meta' => 'two alpha', 'entry' => 'nine alpha');
with
$avia_config['layout']['sidebar_right'] = array('content' => 'nine alpha', 'sidebar' => 'three alpha', 'meta' => 'two alpha', 'entry' => 'nine alpha'); if(is_shop()){ $avia_config['layout']['sidebar_right'] = array('content' => 'eight alpha', 'sidebar' => 'four alpha', 'meta' => 'two alpha', 'entry' => 'eight alpha'); }
If necessary replace “eight” and “four” with other units. I.e. use “ten” instead of “eight” and “two” instead of “four” to decrease the sidebar size. Note that the value of the units must not exceed twelve. I.e. ten + three would break the layout.
Best regards,
PeterHi!
Please update your theme to Enfold v2.4.4. Kriesi include some fixes for WP3.8 and maybe the update will solve your problem too.
Regards,
PeterHey!
Did you try to deactivate all third party plugins? Maybe a plugin triggers the js error. You can also try to re-install all theme files – i.e. upload them with ftp and overwrite all old theme files.
Cheers!
PeterHey!
If you want to remove the featured image from the single post page open up /wp-content/themes/enfold/includes/loop-index.php and replace
//echo preview image if(strpos($blog_style, 'big') !== false) { if($slider) $slider = '<a href="'.$link.'" title="'.$featured_img_desc.'">'.$slider.'</a>'; if($slider) echo '<div class="big-preview '.$blog_style.'">'.$slider.'</div>'; }
with
if(is_single()) $slider = false; //echo preview image if(strpos($blog_style, 'big') !== false) { if($slider) $slider = '<a href="'.$link.'" title="'.$featured_img_desc.'">'.$slider.'</a>'; if($slider) echo '<div class="big-preview '.$blog_style.'">'.$slider.'</div>'; }
Best regards,
PeterDecember 26, 2013 at 5:01 pm in reply to: Enfold is consuming an inordinate amount of processor time? #203618Hi!
Actually there are no minimum requirements because it depends on the website content, number of plugins, etc.
I recommend to use Enfold with PHP5.3+, WP3.8 and 128M allocated PHP memory. The amount of processor time depends on the hardware, complexity of the content, the number and type of the additional plugins and obviously on your traffic (number of page views).
I don’t know good US based provider but Host Europe or All-Inkl are imo good host providers based in Germany.Regards,
PeterHey jmaguirrei!
1) The main problem is that the images have different aspect ratios. Using smaller thumbnails won’t help but you’ll just get blurry images. Personally I recommend to cut/edit the preview images of “Comercial Historia del Whisky Johnnie Walker” and to convert it to a portrait image.
2) Yes, our theme supports the “category_description()” function. This article: http://www.craftedbyharsh.com/how-to-display-the-wordpress-category-description-in-your-theme/ will help you to use the “category description” field on the admin/editor page. Note: You don’t need to modify the theme files because Enfold supports the category description out of the box.
Regards,
PeterHi!
Dafür würde sich der “Notification” shortcode wahrscheinlich besonders eignen (Inhalte Elemente > Notification).
Best regards,
PeterThis reply has been marked as private.December 26, 2013 at 3:51 pm in reply to: I want to concatenate title of my every blog post with a same string #203614Hi abuhamid37!
Open up wp-content\themes\enfold\includes\loop-index.php and replace
echo $title;
with
echo $title . ' XYZ';
Instead of XYZ insert your custom text.
Regards,
PeterHey!
The next update (see https://kriesi.at/support/topic/linking-the-iconbox/ ) will enable you to create an icon list (or icon box) with clickable tiles and icons. You can then use this elements to create a list of pdf links which will open in the same or new windows.
Regards,
PeterHi!
We’ll add such an option to the next update (php based). I already sent the patch to Kriesi.
Regards,
PeterHi VidovicD!
1) You can change the product name on the product editor page. Go to WooCommerce > Products and select the product you want to edit. Then click into the title bar, edit the title and then save the product: http://www.clipular.com/c/5233830050922496.png?k=-1L_REVFwVIaZU2FUnTMEaaijPI
2) You can change the sidebar content by using different widgets. Go to Appearance > Widgets and add some widgets to the “Single Product Pages” sidebar area. Note that the product pages do not support different sidebar locations and all widgets will be displayed underneath the product image gallery on the left side.
Cheers!
PeterHi!
Open up header.php and replace
echo "<nav class='main_menu' data-selectname='".__('Select a page','avia_framework')."' ".avia_markup_helper(array('context' => 'nav', 'echo' => false)).">"; $avia_theme_location = 'avia'; $avia_menu_class = $avia_theme_location . '-menu'; $args = array( 'theme_location' => $avia_theme_location, 'menu_id' => $avia_menu_class, 'container_class' => $avia_menu_class, 'fallback_cb' => 'avia_fallback_menu', 'walker' => new avia_responsive_mega_menu() ); wp_nav_menu($args); echo '</nav>';
with
echo do_shortcode('[sky-mega-menu]');
I’m not sure if the menu will work with Enfold but it’s worth a try. Probably you need to make some css code,etc. changes too.
Best regards,
PeterHey PPCHound!
The tooltip content is set by the browser and all browsers will show the image title as tooltip by default. If you want to show another text you just need to insert the text into the “title” field of the image/attachment. Afaik it’s not possible to show the alt text instead of the title but maybe there’s a browser setting/option for this.
Regarding the padding – can you post a link to the image please?
Regards,
PeterHi!
I just noticed you already updated Enfold to verion 2.4.4. Since Enfold 2.4.4 you should be able to change the portfolio permalinks settings on the Settings > Permalink page. You don’t need to use the code I posted here ( https://kriesi.at/support/topic/wp-3-8-with-wpml-3-0-1-creates-404-errors/ ). If you want to translate the slugs with WPML you can use the “String Translation Management” extension for the slug translation.
If the permalink rules don’t work try to delete the theme folder, then re-upload all themes files (v2.4.4), go to Theme Options and save the theme settings, then go to Settings > Permalinks and save the permalink options.
Best regards,
PeterHey!
You must not remove the /index.php/ part of the permalink. It’s required by the server (see http://codex.wordpress.org/Using_Permalinks#Permalinks_without_mod_rewrite ). If you want to get rid of it contact your hoster and ask them to activate mod_rewrite.
Cheers!
PeterHi!
Ja, aber dann ist dieses http://www.domain.de.de/startseite Problem ein Angelegenheit des Plugins, weil es anscheinend die standardmäßig WordPress Permalinks auch auf der Startseite manipuliert. Dbzgl kann ich nur auf den Plugin Autor verweisen, da unser Theme mit den Standardpermalinks von WordPress funktioniert. Ich persönlich würde das Plugin deaktiviert lassen und eine neue sitemap.xml zu Google senden, damit die neue url Struktur erkannt wird.
Regards,
PeterHi!
But the permalinks seem to work for me. I changed the structure to
/index.php/%category%/%postname%/
and I do not get a redirection error?
Cheers!
PeterHey!
Ich habe jetzt unter Einstellungen>Lesen eine statische Seite ausgewählt, dieselbe Seite auch unter Theme Options > FrontPage Settings gewählt und die Startseite funktioniert. Das Permalinks Plugin habe ich deaktiviert. Das Problem mit http://www.domain.de.de/startseite konnte ich nicht reproduzieren.
Cheers!
PeterHey wholereneducation!
Please create us an admin account and we’ll look into it.
Cheers!
PeterHi!
I changed the code and it should work now. I altered the function name and thus the filter function callback didn’t work.
Regards,
PeterHi!
I can’t modify the files on your server but try to replace following line in /wp-content/themes/enfold/template-builder.php
//filter the content for content builder elements $content = apply_filters('avia_builder_precompile', get_post_meta(get_the_ID(), '_aviaLayoutBuilderCleanData', true));
with
//filter the content for content builder elements $content = apply_filters('avia_builder_precompile', get_post_meta(get_the_ID(), '_aviaLayoutBuilderCleanData', true)); if(is_preview()) { $content = apply_filters('avia_builder_precompile', get_the_content() ); }
Cheers!
PeterHi!
Yes we removed the slug option from the theme option page and added them to the Permalinks > Settings page. Change the slug if necessary and click the “Save” button.
Cheers!
PeterHey!
Wie lautet die Website url?
Regards,
PeterHey!
Please replace the code in avia.js with
function avia_lightbox_callback(elements,ww,wh){ (function($){ elements.each(function() { var el = $(this); if(!el.hasClass('noLightbox')) { el.addClass('noLightbox'); } if(!el.hasClass('noHover')) { el.addClass('noHover'); } }); jQuery('a.lightbox').on('click', function() { return false; }); })(jQuery); }
Best regards,
PeterHey bitmatters!
Open up wp-content\themes\enfold\config-templatebuilder\avia-shortcodes\toggles.php and search for
$output .= ' <p data-fake-id="#'.$toggle_atts['custom_id'].'" class="toggler '.$titleClass.'" '.$markup_title.'>'.$toggle_atts['title'].'<span class="toggle_icon">'; $output .= ' <span class="vert_icon"></span><span class="hor_icon"></span></span></p>';
Replace it with
$output .= ' <h4 data-fake-id="#'.$toggle_atts['custom_id'].'" class="toggler '.$titleClass.'" '.$markup_title.'>'.$toggle_atts['title'].'<span class="toggle_icon">'; $output .= ' <span class="vert_icon"></span><span class="hor_icon"></span></span></h4>';
Regards,
PeterHi!
I made a syntax mistake while I tested my code. Please upload the original enfold/functions.php file to restore your website. Then insert following code at the end of the functions.php file to add the category to the breadcrumb.
if(!function_exists('avia_modify_single_post_breadcrumb')) { function avia_modify_single_post_breadcrumb($trail) { if(!is_single()) return $trail; $category = get_the_category(get_the_ID()); if(empty($category)) return $trail; $newtrail = array(); foreach($category as $cat) { if(empty($cat->parent)) { $category_link = get_category_link($cat->term_id); $newtrail[] = '<a href="'.esc_url( $category_link ).'" title="'.$cat->cat_name.'">'.$cat->cat_name.'</a>'; } } if(empty($newtrail)) return $trail; array_unshift($newtrail, $trail[0]); $newtrail['trail_end'] = $trail['trail_end']; return $newtrail; } add_filter('avia_breadcrumbs_trail','avia_modify_single_post_breadcrumb'); }
Btw – this is not a bug of the theme but a design decision. Kriesi normally shows the blog page link in the breadcrumb and not a category link. It seems like you didn’t select a blog page (Enfold > Theme Options) and thus the blog page also won’t show up in the breadcrumb. The code I give you now will replace the default breadcrumb with a category based breadcrumb.
Best regards,
Peter -
AuthorPosts