gluecklichezwerge
Forum Replies Created
-
Forum: Plugins
In reply to: [Related Products for WooCommerce] Amount of displayed itemsI mean is it possible to remove the prev/next and replace the navigation with arrows?
For removing I’d use:.customNavigation { display: none; }
Because I don’t know if such a functionality is included in the plugin I’d insert the buttons with a Font from FontAwesome and add functionality to them. Or is there an easier way how to achieve the button menu?
No matter what…you already made my day! Big thanks for that again!
Forum: Plugins
In reply to: [Related Products for WooCommerce] Amount of displayed itemsWaaaaaay better and exactly what I was about to do next! ??
What do you mean with alter? I would only know how to make prev/next invisible, but not how to display navigation arrows left/right.Forum: Plugins
In reply to: [Related Products for WooCommerce] Amount of displayed itemsYes, now four items are being displayed. Not the most beautiful way for now, but we definately have a progress here. ??
It also switches back to 3 items when selected in plugin options (and code being disabled). No more errors in console, neither in Chrome, nor in Firefox.
Btw.: Is it possible to add navigation arrows like being displayed in plugin icon?Thanks for your fast help, Vagelis! Highly appreciated!
Forum: Plugins
In reply to: [Related Products for WooCommerce] Amount of displayed itemsWill give it a try as I see in Firefox now that your plugin is generating a lot more errors than displayed in Chrome.
I’ll report back to you after disabling plugins and flushing cache.Forum: Plugins
In reply to: [Related Products for WooCommerce] Amount of displayed itemsHi Vagelis,
thanks for your reply.
I already tried that as you mentioned it in a thread here before. Unfortunately with no effect. Instead of 3 images being shown, it switched to only 2 with this code. In the options of the plugin I selected 4 images to be shown.
Any other idea?
I know that for my theme I had to add another code snippet to my functions.php to make it possible to display 4 items. This is the snippet, maybe it helps:add_filter( 'woocommerce_output_related_products_args', 'change_related_products_amount', 9999 ); function change_related_products_amount( $args ) { $args['posts_per_page'] = 4; // # of related products $args['columns'] = 4; // # of columns per row return $args; }
Edit: My snippet is not enabled right now, btw.
I also realize that if you refresh a single product page sometimes the slider only shows 2 items with a bigger gap between both. I am using meta slider on my homepage, but even with this being disabled I was able to reproduce the error.Thank you for the fast reply! Best regards,
-Bj?rn- This reply was modified 6 years, 6 months ago by gluecklichezwerge.
- This reply was modified 6 years, 6 months ago by gluecklichezwerge.
Forum: Plugins
In reply to: [Media Library Folders] Todays Update – Sync returns ErrorBIG shoutout for the plugin author. Very fast and effective support!
It turned out that I should have emptied browser cache. This solved my issue.Thanks again, Alan! Best regards,
-Bj?rn
Forum: Plugins
In reply to: [Media Library Folders] Todays Update – Sync returns ErrorHi Alan,
just sent you a mail.
Cheers,
-Bj?rn
Forum: Plugins
In reply to: [WooCommerce] Editing Woocommerce Product Categories WidgetHi Rian,
thanks for your feedback. I will consider that and see what I am able to come up with. Obviously a good possibility to dive deeper into coding. At least one positive aspect. ??
Have a refreshing weekend,
-Bj?rn
Forum: Fixing WordPress
In reply to: Child theme questionYeah, Felipe, you’re great!
That did it. And now I know where my fault was…I expected the plugin to add my code from /custom/functions.php to the functions.php of my theme. Therefore I always added the full path from plugins.Thank you again, that will help me a lot with my further plans. ??
Have a great day! Best regards,-Bj?rn
Forum: Fixing WordPress
In reply to: Child theme questionHi Felipe,
thanks for your reply. I gave it a try, but none of them was working. Because I assume the plugin folder needs to be included in the path as well I put it in front of the path, trying with slash and without slash in front.
Maybe I should explain my function a little bit more so that you are able to see what I want to achieve. I want to add an attachment to an email:function attach_agb_pdf_to_email ( $attachments_agb , $id, $object ) { $agb_pdf_path = plugin_dir_path(__FILE__) . '/theme-customisation-master/custom/emails/attached-files/AGB.pdf'; $attachments_agb[] = $agb_pdf_path; return $attachments_agb; }
When storing the emails folder within my theme folder everything is working. Moving it to wp-content/plugins/theme-customisation-master/custom is the desired goal.
Thanks again for your help,
-Bj?rn
Forum: Themes and Templates
In reply to: [Storefront] Related ProductsSolution for everybody having the same issue:
Issue is really theme related. To display more than 3 items in Storefront theme add this to your themes functions.php:add_filter( 'woocommerce_output_related_products_args', 'change_related_products_amount', 9999 ); function change_related_products_amount( $args ) { $args['posts_per_page'] = 4; // # of related products $args['columns'] = 4; // # of columns per row return $args; }
WOW! 2) Attach only subcategory to product – that did the trick for me. I’ve been working on adding subcategories to my product url structure for the last two days. Neither adding code nor plugins were able to get it to work. After reading through forums again I stumbled upon this entry and decided to re-install your plugin. And this time I was sucessful. Many, many thanks!
Have a great weekend everybody!
Forum: Plugins
In reply to: [WooCommerce] Read More (More Tag) on Single-Product-PageUpdate:
Just ran some tests with inbuild more-tag. Before I deleted my previous changes and then created a new page with pure text and added the more tag between.
Then I watched the result to toggle between page settings from startpage/frontpage to standard template and at last to full width template (emptied cache before, tried different browsers).
On none of them the more tag was working. Only thing I see is a line break which I also have in the editor in admin panel when adding the more tag.
Text Editor:
Visual Editor:Any ideas girls or guys? What am I missing?
To make sure there are no minor issues with my code, I decided to test a small ‘read more’-plugin.
Surprisingly this is working without any problems. :/Hm, no reply until now, very sad.
I decided to go back to php mail in the meantime. In the process I realized issues with sending mails to some mail providers and did a research on the errors given. Maybe this was the reason for my issues with the WP Mail SMTP plugin as well.
In the end I found out that I had a bad reverse DNS record (PTR) which I needed to change. That being done and everything was working fine.Forum: Plugins
In reply to: [WooCommerce] General (and noobish) questionHi Joel,
hm, I thought I already tried his code. ??
Now that you brought this up I gave it another try and you are right, issue solved.Thanks for your help, guys! Have a refreshing weekend!