Forum Replies Created
-
AuthorPosts
-
Hi!
No, the shop page does not support preview videos at the moment. It will always display the featured images of the products.
Cheers!
PeterHi Justin!
1) Please elaborate – I didn’t notice any styling issues on this page.
2) Yes, you can use the “noLightbox” class to deactivate the lightbox. Switch to the “HTML” editor mode and replace:
<a href="http://lorenasarbu.com/wp-content/uploads/2014/08/Hayden-Panettiere-Emmy-Awards-2014-Pictures.jpg"><img class="alignnone wp-image-4667 size-full" src="http://lorenasarbu.com/wp-content/uploads/2014/08/Hayden-Panettiere-Emmy-Awards-2014-Pictures-e1409101391231.jpg" alt="Hayden-Panettiere-Emmy-Awards-2014-Pictures" width="600" height="902" /></a>
with
<a class="noLightbox" href="http://lorenasarbu.com/wp-content/uploads/2014/08/Hayden-Panettiere-Emmy-Awards-2014-Pictures.jpg"><img class="alignnone wp-image-4667 size-full" src="http://lorenasarbu.com/wp-content/uploads/2014/08/Hayden-Panettiere-Emmy-Awards-2014-Pictures-e1409101391231.jpg" alt="Hayden-Panettiere-Emmy-Awards-2014-Pictures" width="600" height="902" /></a>
and:
<a href="http://lorenasarbu.com/wp-content/uploads/2014/08/Hayden-Panettiere-Emmy-Awards-2014-Pictures-2.jpg"><img class="alignnone wp-image-4681 size-full" src="http://lorenasarbu.com/wp-content/uploads/2014/08/Hayden-Panettiere-Emmy-Awards-2014-Pictures-2-e1409102613869.jpg" alt="Hayden-Panettiere-Emmy-Awards-2014-Pictures (2)" width="600" height="901" /></a>
with
<a class="noLightbox" href="http://lorenasarbu.com/wp-content/uploads/2014/08/Hayden-Panettiere-Emmy-Awards-2014-Pictures-2.jpg"><img class="alignnone wp-image-4681 size-full" src="http://lorenasarbu.com/wp-content/uploads/2014/08/Hayden-Panettiere-Emmy-Awards-2014-Pictures-2-e1409102613869.jpg" alt="Hayden-Panettiere-Emmy-Awards-2014-Pictures (2)" width="600" height="901" /></a>
Regards,
PeterHey!
Please open up wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/portfolio.php and replace
$output .= "<h3 class='grid-entry-title entry-title' $markup><a href='{$title_link}' $target title='".esc_attr(strip_tags($title))."'>".$title."</a></h3>";
with
$target = !empty($custom_link) ? "target='_blank'" : ''; $output .= "<h3 class='grid-entry-title entry-title' $markup><a href='{$title_link}' $target title='".esc_attr(strip_tags($title))."'>".$title."</a></h3>";
and:
$link_markup = apply_filters('avf_portfolio_custom_image_container', array("a href='{$link}' title='".esc_attr(strip_tags($title))."' ",'a'), $entry);
with
$target = !empty($custom_link) ? "target='_blank'" : ''; $link_markup = apply_filters('avf_portfolio_custom_image_container', array("a href='{$link}' {$target} title='".esc_attr(strip_tags($title))."' ",'a'), $entry);
Regards,
PeterHi!
Sounds great – please notify me when you start to offer the coupon :)
Regards,
PeterHi!
There’s no list but it’s not required because all modern browsers are bundled with element inspectors and developer tools which help you to find the right selectors. If you’re using Chrome this tutorial: http://discover-devtools.codeschool.com/ will help you. If you’re using Firefox I recommend to install the “Firebug” extension. This tutorial: http://www.woothemes.com/videos/how-to-use-firebug-to-modify-a-wordpress-theme/ shows you how to use it.
Best regards,
PeterHi!
Yes, I think the folder permissions problem. This thread will help you: http://stackoverflow.com/questions/20360396/unpacking-the-update-could-not-create-directory-wordpress
Someone here: http://wordpress.org/support/topic/30-upgrade-bug-ftps solved it by deleting the upgrade folder and re-creating it with the permission set to 777 ( http://wordpress.org/support/topic/30-upgrade-bug-ftps#post-1564378 ).
Best regards,
PeterHey!
The size of the image depends on the number of post columns and screen size and may vary because of the responsive layout. I recommend to use images with a width of 450px – this size will cover all possible layouts (2, 3, 4 columns, etc.). If you want to keep the current images with a size of 330px you can easily resize them with css – just insert this code into the quick css field:
.avia-content-slider .slide-image img { width: 100%; }
Cheers!
PeterHi!
Unfortunately this is not possible with css code and would require a time-intensive customization of the javascript code which minimizes the menu. You would need to hire a freelancer if you want to implement such an effect.
Best regards,
PeterHey snitgard!
Deselect the background image on the theme option page (Enfold > Theme Options) and insert this code into the quick css field:
html.html_boxed {background: #111111 url(//trancepsykologi.dk/akademi/wp-content/themes/enfold/images/background-images/diagonal-thin-light.png) top left repeat scroll;}
I’ll ask Kriesi to replace the protocol urls with protocol-relative URLs with the next update.
Cheers!
PeterHi Gurify!
Yes, Kriesi uses a hook to change the html structure of the products a bit. With
add_action( 'woocommerce_before_shop_loop_item', 'avia_shop_overview_extra_div', 5);
Enfold adds an extra div between the li element and the product link (a element) of the default product loop – see default template here: https://github.com/woothemes/woocommerce/blob/master/templates/content-product.php which outputs the link with:
<li <?php post_class( $classes ); ?>> <?php do_action( 'woocommerce_before_shop_loop_item' ); ?> <a href="<?php the_permalink(); ?>"> <?php /** * woocommerce_before_shop_loop_item_title hook * * @hooked woocommerce_show_product_loop_sale_flash - 10 * @hooked woocommerce_template_loop_product_thumbnail - 10 */ do_action( 'woocommerce_before_shop_loop_item_title' ); ?> <h3><?php the_title(); ?></h3> <?php /** * woocommerce_after_shop_loop_item_title hook * * @hooked woocommerce_template_loop_rating - 5 * @hooked woocommerce_template_loop_price - 10 */ do_action( 'woocommerce_after_shop_loop_item_title' ); ?> </a> <?php do_action( 'woocommerce_after_shop_loop_item' ); ?> </li>
The “woocommerce_before_shop_loop_item_title” hook is used to add the featured thumbnail and the buttons to the product loop (see code you posted in your post).
Is there a way to use the shortcode for a slider or similar and make it works inside the product template?
Yes, if you rewrite the code. However it’s not easy and probably requires some hours of work because you need to find a way to set the slideshow images, etc. Basically you need to replace the featured image function with do_shortcode(): http://codex.wordpress.org/Function_Reference/do_shortcode to execute the slideshow shortcode – i.e. replace:echo get_the_post_thumbnail( $id , $size );
with
echo do_shortcode( '[YOUR SORTCODE]' );
and replace [YOUR SORTCODE] with the slideshow shortcode. The hard part is to generate the slideshow shortcode/content dynamically for each post.
Best regards,
PeterHi Ti7V!
Try to replace this code in enfold/config-templatebuilder/avia-shortcodes/magazine.php:
if($style == 'small') { if(empty($this->atts['thumbnails'])) { $image = ""; $extraClass = "av-magazine-no-thumb"; } } else { $excerpt = !empty($entry->post_excerpt) ? $entry->post_excerpt : avia_backend_truncate($entry->post_content, apply_filters( 'avf_magazine_excerpt_length' , 60) , apply_filters( 'avf_magazine_excerpt_delimiter' , " "), "…", true, ''); }
with:
if($style == 'small') { if(empty($this->atts['thumbnails'])) { $image = ""; $extraClass = "av-magazine-no-thumb"; } } $excerpt = !empty($entry->post_excerpt) ? $entry->post_excerpt : avia_backend_truncate($entry->post_content, apply_filters( 'avf_magazine_excerpt_length' , 60) , apply_filters( 'avf_magazine_excerpt_delimiter' , " "), "…", true, '');
Best regards,
PeterAugust 29, 2014 at 11:22 am in reply to: email address with wrong prepopulated information (Enfold and Woocommmerce) #310859Hey!
1) No, tbh I never noticed prepopulated WooCommerce checkout fields. All I can say is that the theme just uses the default WooCommerce templates and we don’t add any additional code which might cause this issue.
2) I recommend to ask a pre-sale question here: https://support.woothemes.com/hc/communities/public/topics/200104173-Pre-sales-Questions – probably another user, the plugin author or the WooCommerce support team can answer the question.
Regards,
PeterAugust 29, 2014 at 10:41 am in reply to: woocommerce shop page: %date% | site name , page title #310846Hey!
I activated some plugins and got this error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 491520 bytes)…
You can fix it by editing wp-config.php -see : http://www.wpbeginner.com/wp-tutorials/fix-wordpress-memory-exhausted-error-increase-php-memory/ or http://faq.wpde.org/exhausted-php-memory/ . I recommend to set the allocated memory to 128M
Cheers!
PeterHi!
Ok, dann bleiben wir besser bei deinem Code. Ich habe nun den Code am Ende der Child Theme style.css eingefügt und etwas angepasst:
h1, h2, h3, h4, h5, h6, tr.pricing-row td, #top .portfolio-title, .callout .content-area, .avia-big-box .avia-innerbox, .avia-menu-text, .button, .avia-caption-content, .avia-caption-content p, .avia-button, .menu-item-object-page a, #top #socket .copyright, #top #socket .copyright span{ font-family: Courier !important; }
und die Schrift ändert sich dann auf meinem PC in Courier – daher müssen die Selektoren nun passen. Wenn deine Schrift noch immer nicht geladen wird liegt ein Problem mit der font Datei vor.
Best regards,
PeterAugust 29, 2014 at 9:44 am in reply to: woocommerce shop page: %date% | site name , page title #310824Hi!
Unfortunately the SEO plugin you use doesn’t recognize the “Shop” page and just outputs the (wrong) archive title. You’ve 3 options:
1) On this page. http://blog.swiss-paracord.ch/wp-admin/admin.php?page=all-in-one-seo-pack/aioseop_class.php insert “Shop” into the “Archive Title Format:” option field. The disadvantage is that all category pages will then display “Shop” in the title. This might affect your seo on archive pages and is not recommended.
2) Use another seo plugin like Yoast SEO or WPSEO: http://wpseo.de/ which is compatible with WooCommerce and which detects the shop page.
3) Report this bug to the plugin author of your seo plugin and wait for a fix.
Regards,
PeterHey adwordsfriends!
1) You can use this code to remove the default theme flags completely – insert it into the functions.php file:
add_action('after_setup_theme','avia_remove_main_menu_flags'); function avia_remove_main_menu_flags(){ remove_filter( 'wp_nav_menu_items', 'avia_append_lang_flags', 20, 2 ); remove_filter( 'avf_fallback_menu_items', 'avia_append_lang_flags', 20, 2 ); remove_action( 'avia_meta_header', 'avia_wpml_language_switch', 10); }
The WPML plugin should add the language dropdown to the menu if you tick the “Display the language switcher in the WP Menu” option and select the main menu (or secondary menu) in the dropdown: http://www.clipular.com/c/5697699709976576.png?k=tR7hiYan-r1Pht6Rl__rwYgcx8k
Regards,
PeterAugust 28, 2014 at 5:18 pm in reply to: email address with wrong prepopulated information (Enfold and Woocommmerce) #310548Hi!
The theme does not prepopulate your email address. I guess a browser extension automatically inserts your email into the email address field. I recommend to use a different browser to test the checkout page. If this doesn’t help try to deactivate all wordpress plugins except WooCommerce and check if the email address is still prepopulated.
Best regards,
PeterHey keifygeorge!
Afaik LayerSlider completely removes the slider data from the database if you delete a slider. Probably your only chance is to restore the entire database with a backup file (sql file) if you have one.
Cheers!
PeterHey webethique!
No, I’ve not heard such a rumor. But Enfold doesn’t include or use this plugin and thus we do not keep track of the development status of Revolution Slider. Your best bet is to search the comments here: http://codecanyon.net/item/slider-revolution-responsive-wordpress-plugin/2751380/comments
Regards,
PeterHey!
Did you try to use the “conditional menu” feature – you can activate it easily by adding one line of code to your child theme functions.php or enfold/functions.php file:
add_theme_support( 'avia_conditionals_for_mega_menu' );
It’s a native Enfold feature which helps you to use conditionals for menu items:
Best regards,
PeterHey!
The “Force same size for all big preview images?” option will crop the images if the aspect ratio of the images vary. Eventually all images will have the same size and it doesn’t matter if an image is a “landscape” or “portrait” photo. The cropping is done with css only and won’t affect the source images (= images stored on your server). If you want to use the gallery with professional photos I recommend to deactivate the “Force same size for all big preview images” option because the cropped images may look strange.
Cheers!
PeterHey!
Ok, I’ll mark this thread for Kriesi. Unfortunately I can’t test it on a Mac and we need to wait for Kriesi to debug the code with Safari. I’ll also ask him to check the autorotation code – maybe he can reproduce this issue too. Please note that Kriesi is on vacation now (I think for a week or two) and it will probably take some time.
Cheers!
PeterHey!
Actually it’s possible to load a modified version of functions.php with the child theme. Duplicate the code from the parent functions.php into your child theme functions.php, delete this line:
add_theme_support('avia_mega_menu');
and at the very bottom of the child theme functions.php add this code:
$avia_config['use_child_theme_functions_only'] = true;
Cheers!
PeterHey!
Yes, the change log here: http://wordpress.org/plugins/wordpress-seo/changelog/ doesn’t mention a fix which would solve the incompatibility issue. A user here: https://kriesi.at/support/topic/wordpress-seo-plugin-1-5-5-3-breaks-enfold-page-w/#post-308439 mentioned that the Yoast support team has no ETA for the bug fix yet. I recommend to downgrade to 1.5.5 for now: https://kriesi.at/support/topic/yoast-seo-1-5-5-3-bug-may-affect-your-seo-please-downgrade-to-1-5-5/
Regards,
PeterHey!
I can recommend All-Inkl Hosting. Kriesi and I host our websites there, Kriesi uses a dedicated server, I host my websites on a shared host server. The service is great – they answer your emails often after 30 minutes, 24/7 week. They restore your website (files and database) if you mess something up, they upgrade the php and mysql version to the latest stable versions if you ask them to upgrade them and they allow cloud scripts like owncloud, etc. which also saves you the dropbox account. I even use them for my dynamic ip mappings (which saves me a dyndns or noip.com account). The price is imo fair.
Cheers!
PeterHey!
Da für mich die URL http://fast.fonts.net/lt/1.css?apiType=css&c=ca0dbbdf-8217-4d12-9d22-b3d4d2ae3ffd&fontids=694039 nicht funktioniert und auch keinen CSS Code zurückliefert, kann ich den Code nicht testen. Da diese URL als @import URL verwendet wird besteht auch eine große Wahrscheinlichkeit, dass andere Browser diesen CSS Code nicht laden können und daher auch nicht einbinden können. Wenn du die Schriftfamilie überall verwenden möchtest, genügt dieser Code:
#top #wrap_all:not([data-av_icon]) { font-family: 'HelveticaNeue-55Roma', 'HelveticaNeue-85Heav', OpenSans; }
Regards,
PeterHey!
That’s indeed a problem. Afaik WooCommerce doesn’t support a shortcode for product reviews – thus you also can’t insert it into the tabs.
Best regards,
PeterAugust 27, 2014 at 3:11 pm in reply to: woocommerce shop page: %date% | site name , page title #309860Hey!
Not sure why the Shop page doesn’t work. Please create us an admin account and we’ll look into it.
Cheers!
PeterHey!
Yes, I’ll close this thread now. Enfold does not support “scrolling tabs” out of the box and we don’t advertise this feature on the demo page or product description page. I consider this as customization request which is beyond the scope of our free support service.
Regards,
PeterAugust 27, 2014 at 3:05 pm in reply to: Add Date created and Updated to Categories, Pages and Posts #309849Hey gregdickson!
Open up enfold / includes / loop-index.php and replace:
echo "<time class='date-container minor-meta updated' $markup>".get_the_time(get_option('date_format'))."</time>"; echo "<span class='text-sep text-sep-date'>/</span>";
with
echo "<time class='date-container minor-meta' $markup>".get_the_time(get_option('date_format'))."</time>"; echo "<span class='text-sep text-sep-date'>/</span>"; echo "<time class='date-container minor-meta updated' $markup>Modified: ".get_the_modified_date((get_option('date_format'))."</time>"; echo "<span class='text-sep text-sep-date'>/</span>";
Cheers!
Peter -
AuthorPosts