scandinaviannerd
Forum Replies Created
-
Thanks.
I read this article and already checked everything. Howver, i had not added my subdomain where I am developing ecommerce temporary now while existing site is life. Now it is working.
I had question:1. When I added subdomain (dummy.iqm.no) where I have installed SPAI plugin, I had earlier also added existing domain (iqm.no) where NO spai is installed. How can SPAI show that the free version has optimized 15 images on my existing domain? Especially when this plugin is NOT added on my existing domain?
2. Despite this plugin is working, GTmetix is showing bad score for my subdomain developing site: https://gtmetrix.com/reports/iqm.no/MpLwMZQ3
2a. Which caching plugin is works best together with SPAI to improve GTmetix score?Forum: Plugins
In reply to: [Mega Menu Plugin for WordPress - AP Mega Menu] Mega menu destroyed my siteI made it.
Forum: Themes and Templates
In reply to: [OceanWP] BUGGS in debog.logI downloaded theme again and started from scratch.
Forum: Plugins
In reply to: [Mega Menu Plugin for WordPress - AP Mega Menu] Mega menu destroyed my siteIs there anyhow it is possible to create left side vertical mega menu in this oceanwp theme by using AP mega menu??
As far I can understand, this is not possible to change “menu location”, this theme offers 4 menu locations: top, main, footer and main/ mobile
Forum: Themes and Templates
In reply to: [OceanWP] B2B pluginThanks.
I added both, please see dummy here: https://iqm.no/Dummy/min-konto/In the bottom it is coming up “Quote request”, so NP Quote Request WooCommerce, seems to work.
For : woocommerce registration approval by admin using wp approve users, I googled and found a coding on internet that I added in the bottom of my theme function.php file. It seems like I got sentences under user registration: https://iqm.no/Dummy/min-konto/:
Send in your registration application today!
NOTE: Your account will be held for moderation and you will be unable to login until it is approved.I added this in function.php file:
function woocommerce_registration_autologout(){
if ( is_user_logged_in() ) {
$current_user = wp_get_current_user();
$user_id = $current_user->ID;
$approved_status = get_user_meta($user_id, ‘wp-approve-user’, true);
//if the user hasn’t been approved yet by WP Approve User plugin, destroy the cookie to kill the session and log them out
if ( $approved_status == 1 ){
return $redirect_url;
}
else{
wp_logout();
returnget_permalink(woocommerce_get_page_id(‘myaccount’)) . “?approved=false”;
}
}
}
add_action(‘woocommerce_registration_redirect’,’woocommerce_registration_autologout’, 2);
function registration_message(){
$not_approved_message = ‘<p class=”registration”>Send in your registration application today!<br /> NOTE: Your account will be held for moderation and you will be unable to login until it is approved.</p>’;
if( isset($_REQUEST[‘approved’]) ){
$approved = $_REQUEST[‘approved’];
if ($approved == ‘false’) echo ‘<p class=”registration successful”>Registration successful! You will be notified upon approval of your account.</p>’;
else echo $not_approved_message;
}
else echo $not_approved_message;
}
add_action(‘woocommerce_before_customer_login_form’,’registration_message’, 2);Despite doing everynthing correct, I am not getting any “email notifications” when I register into acount. Why? I have correct email on wp dashboard. I don’t know where I can approve these users from, NO notice on my wp dashboard?
Forum: Themes and Templates
In reply to: [OceanWP] Customize “theme” or “store”Thank you very much!
Forum: Themes and Templates
In reply to: [OceanWP] Customize “theme” or “store”NO, you didn’t understand.
When I logg into wp on the dashborad, top on the left there is a “home icon”. Under dropdown menu of this icon it is coming up: “Visit site” and “Visit store”.
So my question is do I customize site or store? Or if I customize “site”, the “store” will be automatically customize???How to I attach file here on this forum to explain better?
Thank you very much in advance!