c28g
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Hook WooCommerce message on archive/category pageHmm, that’s weird. I tried to open it elsewhere but it works. Probably it’s regarding my hosting. 🙁
This is a screenshot of what the notification is like. The “add to basket” notification always shows up on the first hook. I assume something in the message hook woocommerce_show_messages.
Firstly I remove the hook from the top most page by adding:
//Remove Added To Cart top message in archive product page remove_filter('woocommerce_before_shop_loop', 'woocommerce_show_messages', 10, 2);Then I add it back using:
//Hook Added To Cart message in archive product page add_filter('woocommerce_after_shop_loop_item', 'woocommerce_show_messages', 10, 2);Anyone could enlighten me about this?
Thank you,
CheersForum: Plugins
In reply to: [Theme My Login] TML Fatal error: (…) /custom-redirection.php on line 93Haha.. thank you 🙂
Great to know that it works for you as wellCheers.
Forum: Plugins
In reply to: [Theme My Login] TML Fatal error: (…) /custom-redirection.php on line 93Hi there,
I had the same issue recently. I search for some solution in the forum and got this answer. I tried to locate line 93 in the code but it doesn’t show any code regarding the error. Later, I tried to comment line 185 instead which has the get_option function that caused the error and it works.
However, same as Synaestesia who answered on the above link, I also didn’t know if this will have affect another functionality in the TML. Looking forward if anyone has better solution. 🙂
Cheers.
Forum: Plugins
In reply to: [Theme My Login] Login and Registration in one pageHi there,
I’ve managed to solve the problem. So, instead of having the shortcode written in the Pages on WP Dashboard, I add following code in my page template that I’ve made specifically for the login page:
<div class="floatleft"> <?php theme_my_login('default_action=login'); ?> </div> <div class="floatright"> <?php theme_my_login('default_action=register'); ?> </div>However, one thing, if you have specific page template (like me) that duplicated from page.php and you want to put the above code in that page, you have to put the code outside the post loop. Else it’s not working (based on what I’ve tried).
Hope this helps anyone that has the same issue.
Thanks to Jeff for the plugin and the solution code (got it from another forum post). 🙂Thank you,
Cheers.Forum: Plugins
In reply to: [Theme My Login] Login and Registration in one pageyeah.. i can’t get the error notifications to work either.
i appreciate for any idea regarding this issue?Thank you,
Cheers.