Backpacking Series
Forum Replies Created
-
AuthorPosts
-
October 18, 2017 at 10:28 am in reply to: Change default child theme directory for form templates #806
Hi Stiofan,
Thank you. It is a staging area and I cannot share the admin details. I really appreciate the inputs and advise here. About your query, I am adding this code to a site-specific plugin.
I use a do_action () at the end of the code pasted above. I am not sure whether I have the correct hooks here (tried a few 🙂 ) after looking in the forms.
do_action('uwp_template_', $template);
Kind regards
AbhijeetOctober 18, 2017 at 3:45 am in reply to: Change default child theme directory for form templates #802Thank you Stiofan 🙂
I guess this time, it works till the point of picking up the new path. But after that, breaks down with something like this (message shown on browser when accessing login.php):
Fatal error: Uncaught Error: Call to undefined function do_action() in /home/directory/themes/child/newpath/userswp/login.php:1 Stack trace: #0 {main} thrown in /home/directory/themes/child/newpath/userswp/login.php on line 1
Not sure what went wrong. Do I need to change anything in the form itself?
Kind regards
Abhijeet
Thank you Guust,
Yes, it works like a charm! My apologies for that oversight and I am grateful for your support.
Kind regards
Abhijeet
When I disable JetPack’s Mobile Theme feature, the login form is rendered along with the custom CSS but, instead of under (like the screen shot earlier), the page on mobile view is over-sized. Not sure what’s happening. Look forward to your thoughts. Thank you.
One other observation: the forms appeared fine on mobile devices in the earlier versions of the plugin. Not sure whether this info is material to the problem.
Just wanted to share this info – I tried the following steps with no success. Your thoughts are welcome.
1. Deactivated a site-specific plugin (disables wp admin bar and enqueues wp_scripts)
2. Deactivated the AMP plugin (supports rendering of mobile pages)
3. Added the following CSS for media queries –/*For browser/screen widths less than 768px (and for 800px also) */ @media screen and (max-width: 768px) { .container { max-width: 100%; } .content { width: 100%; } .sidebar { width: 100%; } }
Thank you Guust.
I am sharing the basic custom CSS (Appearance – Customize – Additional CSS) for reference below. Might I request your / Giri’s thoughts on why it impacts only the userswp forms and, if possible, directions to fix the issue.
Kind regards
Abhijeet
/* Child Theme Customization */ .site-logo-link { float: left; } .site-title { float: left; clear: inherit; margin-top: 17px; } .search-toggle { border: none; height: 62px; width: 60px; } .main-navigation { z-index: 100000; } .home #primary:before { content: "Slow Travel. Long Reads."; display: block; text-align: center; margin-top: 20px; font-size: 110%; } /* Plugin Customization Section */ /* Plugin - UsersWP */ .uwp-login, .uwp-registration, .uwp-forgot, .uwp-account, .uwp-change, .uwp-profile { background-color: #ffffff; border-style: solid; border-color: #000000; } .uwp_page .uwp-lf-icon, .uwp_widgets .uwp-lf-icon, .uwp_adv_search_form .uwp-lf-icon { border: none; width: 100px; height: 100px; } .uwp_page .uwp-forgotpsw, .uwp-register-now, .uwp_widgets .uwp-forgotpsw, .uwp_adv_search_form .uwp-forgotpsw { float: right; }
This reply has been marked as private.Okay, I get it now.
Thank you for helping me figure that.
Kind regards
Okay. Thank you for pointing that out.
Thank you for your response and apologies for the delay.
I have set FA icons for login screen too. However, they do not show up here too. Please see attachment.
Is this expected behavior? Please advise.
Kind regards
Hello Stiofan,
Thank you for your support.
My apologies that I am unable to provide admin-access to the staging area at this point. However, I will continue to observe the ongoing discussions here and on WordPress forum, should anyone else report a similar issue.
Thanks again for all that you and Giri do 🙂
Kind regards
October 11, 2017 at 5:50 pm in reply to: Locked out (after upgrading to new version 1.0.8 on 10 Oct 2017) #729Thank you. Got it!
CheersUpdating Plugin UsersWP (1/1)
UsersWP updated successfully.
Downloading update from https://downloads.wordpress.org/plugin/userswp.1.0.9.zip…
Unpacking the update…
Installing the latest version…
Removing the old version of the plugin…
Plugin updated successfully.Disabling Maintenance mode…
All updates have been completed.
October 11, 2017 at 2:34 pm in reply to: Locked out (after upgrading to new version 1.0.8 on 10 Oct 2017) #727Thank you Stiofan and Giri.
It could just be my site. Later this evening, I had these kind of errors (while disabling plugins one by one trying to troubleshoot an unrelated problem). I have fixed these but thought of sharing it here. Just in case it helps in your assessment.
Warning: include(home/directory/public_html/wp-content/themes/gazette/inc/updater.php): failed to open stream: No such file or directory in home/directory/public_html/wp-content/themes/gazette/functions.php on line 255
Warning: include(): Failed opening ‘home/directory/public_html/wp-content/themes/gazette/inc/updater.php’ for inclusion (include_path=’.:/opt/php70/lib/php’) in home/directory/public_html/wp-content/themes/gazette/functions.php on line 255
Warning: Cannot modify header information – headers already sent by (output started at home/directory/public_html/wp-content/themes/gazette/functions.php:255) in home/directory/public_html/wp-includes/pluggable.php on line 1210
October 11, 2017 at 3:52 am in reply to: Locked out (after upgrading to new version 1.0.8 on 10 Oct 2017) #722Okay, the cPanel allowed me to disable UsersWP plugin and I could log back in. I re-activated the plugin and things look fine for now. But the plugin behavior (after upgrade) was strange.
Could it happen if someone tries to access wp-admin URL directly (like I did before it locked me out)?
-
AuthorPosts