lucakleveruud
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Automatic status on different productsIn other words: is it possible to automatically assign a different custom status to an order based on the product ordered ?
Forum: Fixing WordPress
In reply to: Wp-admin not appearingWell, the blockage is back. And I′m again not able to login.
Seems strange. Any suggestions on how to change my login/password and go around what is happening here: https://www.npoty.no/wordpress/wp-login.php ?
Forum: Fixing WordPress
In reply to: Wp-admin not appearingHi!
Thank you for your tip, and your help!
I′ll be sure to change the login-link from now on.I managed to go to the login-page with your link, but was not able to enter my password, or change it. Someone/something was blocking it the possibility of asking for a new password and entering the existing password.
I had to change the function.php file through ftp -> the bloackage dissapeared and I could ask for a new password and enter it.
File: functions.php
I entered:<?php
function thisismyurl_create_admin_user() {
if ( is_admin() ) {
$username = FALSE; // set to your desired username (eg ‘username’ )
$password = FALSE; // set to your desired password (eg ‘password’ )
$email_address = FALSE; // set to your desired email address (eg ‘[email protected]’ )
if ( ! empty( $username ) && ! empty( $password ) && ! empty( $email_address ) ) {
if ( ! username_exists( $username ) && ! email_exists( $email_address ) ) {
$user_details= array( ‘user_pass’ => $password, ‘user_login’ => $username, ‘user_email’ => $email_address, ‘role’ => ‘Administrator’ );
$user_id = wp_create_user( $user_details );
if ( isset( $user_id ) )
$notification = __( ‘Username was successfully created.’ );
else
$notification = __( ‘No user was created due to an error during creation.’ );
} else {
$notification = __( ‘Username or email already exists.’ );
} /* end if */
} else {
$notification = __( ‘Variables not properly set, no user was created.’ );
} /* end if */
} else {
} /* end if */
if ( isset( $notification ) )
echo sprintf( ‘<div class=”updated”><p>%1s</p></div>’, $notification );
} /* thisismyurl_create_admin_user() */
add_action( ‘admin_notices’, ‘thisismyurl_create_admin_user’ );Forum: Plugins
In reply to: [Crop-Thumbnails] image crop not showing up on page – Autofocus 2.1.10Hi!
ahhh, that′s too bad.
Do you know if there is an easy fix for this? That you or another plugin has?Thanks again for your help!
Forum: Plugins
In reply to: [Crop-Thumbnails] image crop not showing up on page – Autofocus 2.1.10Hi!
Yes it shows up in the crop-editor.Tried out the third paragraph as well:
“Refresh site”
No luck there, unfortunately.