edmundcwm
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Twenty Twenty-Four] Adding a new menu item in a block theme?For Block themes the way to edit the nav menu is via the navigation block. Here are some posts that will help you:
hmm if u have tried changing to another theme and the issue still persists, then I don’t think there’s any issue with the original theme’s functions.php.
Could you try removing any file with the word ‘cache’ inside the wp-content folder? Do keep a backup for those files before deleting.
The only way to ‘reset’ functions.php is to revert to the previous working copy. That is if you have a backup of your site. If you didn’t do your own backup, you can try contacting your hosting provider and see if they have a copy.
Can I confirm that you have tried 1) disabling all plugins and 2) changing to another theme?
Hello!
Sounds like a caching plugin is causing the issue. Could you try deactivating any caching plugin that is active?
Forum: Plugins
In reply to: [Advanced AJAX Product Filters] Setting default value for Select dropdownHello!
Yea I did it with some custom JS.
Thanks!
Forum: Developing with WordPress
In reply to: How to PHP include a theme fileHello!
I’m not sure if you are using
include
correctly here because thats usually used for ‘importing’ php files.What is your use-case like? Will echo-ing the svg work –
echo get_template_directory_uri() . '/images/icon.svg';
?In case you are working with a child theme, then you would want to use
get_stylesheet_directory_uri()
instead.Also, if you want to include a php file, you can try –
include get_template_directory() . '/inc/yourfile.php';
Forum: Fixing WordPress
In reply to: My wp site redirects to wrong addressHello!
I can’t seem the replicate the issue. The page loads fine for me. Have u tried incognito mode in your browser?
Forum: Plugins
In reply to: [WooCommerce] WC Form handlingThanks! I understand now!
Forum: Plugins
In reply to: [WooCommerce] Editing ‘lost password’ messageSorry for the lack of clarity!
Please take a look at the following screenshots:
1) Lost password – https://ibb.co/hUr1jz
2) Lost password confirmation – https://ibb.co/n61dWe
What I’m trying to achieve is to display the email address the user entered in (1) as part of the ‘Lost password confirmation message’ in (2).
So the final result would be something like “A password reset email has been sent to [email protected], but may take several minutes to show up in your inbox.”
Forum: Plugins
In reply to: [WooCommerce] Editing ‘lost password’ messageBut the problem I’m facing is displaying the username/email, which the user has entered in the lost password page, as part of the lost password confirmation message.
Any idea on this?
Forum: Plugins
In reply to: [WooCommerce Products Per Page] wppp_pre_get_posts functionNoted!
Thanks for the speedy reply!
Ed
Hello there,
The same issue happened to me after I updated the plugin to 2.0.16. I managed to fix it by renaming the ‘CSS #id for slider’ value to ‘myslider’. After the new update, I believe numbers aren’t allowed so rename it to only letters and it should re-appear.
I managed to fix it by inserting this into my style.css
.caldera-grid .row:after, .caldera-grid .row:before {
display: block;
}However I’m not sure if there will be any implications?
Forum: Plugins
In reply to: [Pricing Deals for WooCommerce] Trigger discount based on quantity remainingHi there,
If you add a new period, you will see this option – Which value has to be considered? (if any quantity/amount has been setted). If you want to trigger your product discount when the stock quantity of that product reaches a certain number, then select ‘Stock Item quantities’.
Next, click on the ‘Add new price/discount rule’ button. You can then select the relevant price/discount strategy you want (fixed price discount or % etc.). There are also two fields called ‘min quantity/amount’ and ‘max quantity/amount’. These are the values which will determine when the discount will be activated/de-activated.
Min quantity/amount – If the stock quantity hits this value or below, the discount will be deactivated.
Max quantity/amount – If the stock quantity hits this amount or below, the discount will be activated.
Scenario A –
Product X has a stock quantity of 30pcs. When the stock qty reaches 20 or below, I want to trigger the discountTo achieve this, set the max quantity to 20 (activation point) and min quantity to 0 (this means the discount will not be de-activated).
Scenario B –
Product X has a stock quantity of 30 pcs. When the stock qty reaches 20 or below, I want to trigger the discount. Once the stock quantity reaches below 10, I want to de-activate the discount.To achieve this, set the max quantity to 20 (activation point) and min quantity to 10 (de-activation point).
Scenario C –
Product X has a stock quantity of 30 pcs. I want the discount to be activated UNTIL product quantity reaches 10.To achieve this, set the max quantity to 0 (this means discount will be active as long as stock quantity is more than ‘minimum value’) and min quantity to 10 (once stock quantity reaches below 10, discount will be de-activated).
I hope my explanation is clear. Please email me if you have any other questions – [email protected]
Regards,
EdmundForum: Plugins
In reply to: [Pricing Deals for WooCommerce] Trigger discount based on quantity remainingHi 083n,
I’m using another (paid) plugin which does exactly that and more. Here is the link – https://codecanyon.net/item/woocommerce-pricing/14679278
Hope it helps!
Edmund