Comments 2UnlimitedRealities started the conversationOctober 20, 2016 at 11:51pmHi there, We use WP_CONTENT_DIR option to move the content folder. And it causes a problem that it cannot change a text logo to a custom logo image. In tpls/header-logo.php, line 28, $logo_path = ABSPATH . substr($custom_logo_image, strpos($custom_logo_image, 'wp-content/uploads')); 'wp-content' is hard-coded. I think it should refer WP_CONTENT_DIR option if it is defined. Regards, Minoru[deleted] repliedOctober 21, 2016 at 5:27pmHi,Yes you are right, that was developed long time ago and I didn't thought about this. So here is the quickfix for this: $uploaddir = wp_upload_dir();$logo_path = str_replace( $uploaddir['baseurl'], $uploaddir['basedir'], $custom_logo_image );See where to place this code: (view large version)The new version of Aurum will contain this change. 2UnlimitedRealities repliedOctober 25, 2016 at 12:26amThank you for that. It works great.Regards,Minoru[deleted] repliedOctober 25, 2016 at 10:53amHi Minoru,Glad to hear thatIf you like our theme, it would help us a lot if you could give us five star rating on themeforest from your Downloads tab, (if you don't know how, just open this link). A huge thank you from Laborator in advance and have a great day!Will set this ticket as solved from here. Sign in to reply ...
Hi there,
We use WP_CONTENT_DIR option to move the content folder. And it causes a problem that it cannot change a text logo to a custom logo image.
In tpls/header-logo.php, line 28,
$logo_path = ABSPATH . substr($custom_logo_image, strpos($custom_logo_image, 'wp-content/uploads'));
'wp-content' is hard-coded. I think it should refer WP_CONTENT_DIR option if it is defined.
Regards,
Minoru
Hi,
Yes you are right, that was developed long time ago and I didn't thought about this. So here is the quickfix for this:
See where to place this code:
(view large version)
The new version of Aurum will contain this change.
Thank you for that. It works great.
Regards,
Minoru
Hi Minoru,
Glad to hear that
If you like our theme, it would help us a lot if you could give us five star rating on themeforest from your Downloads tab, (if you don't know how, just open this link).
A huge thank you from Laborator in advance and have a great day!
Will set this ticket as solved from here.