ilwoody
Forum Replies Created
-
Thanks for answering mate.
Just tried it. If I eliminate that it disappear the login/logout button.
It might work but there won’t be anything to click ??
I apologize just forgot to add the “code” tag and page got all messed up!
add_filter('wp_nav_menu_items', 'add_login_logout_link', 10, 2); function add_login_logout_link($items, $args) { ob_start(); wp_loginout('index.php'); $loginoutlink = ob_get_contents(); ob_end_clean(); $items .= '<li>'. $loginoutlink .'</li>'; return $items; }
That’s the code I meant. What the hell happened in this page!
Ok I got it. Not solved it but got it.
Login Welcome Page I had to set the option:
“No, do NOT modify (use WordPress default behaviour)”
And I even understand why they are redirect to the home page.
Because this line of code in the functions.php
add_filter('wp_nav_menu_items', 'add_login_logout_link', 10, 2); function add_login_logout_link($items, $args) { ob_start(); wp_loginout('index.php'); $loginoutlink = ob_get_contents(); ob_end_clean(); $items .= ' <li>'. $loginoutlink .'</li> '; return $items; }
This code allow me to have a Login/Logout button on the top right header. The only proble is that when I click in the button to login, it implements an autodirect:
https://suonareaorecchio.com/wp-login.php?redirect_to=index.php
That’s why (I guess) I was used to be redirect to the home page. I cannot see in these lines the redirection code, though?
Any idea how can I take this “?redirect_to=index.php” off, so I will use S2member redirection?
Thanks again
I guess I found something out.
That happened because the plugin couldn’t “see”, “understan” (don’t know the right word) the https://www. links.
Infact, talking about the paid customers, in the Modification Confirmation email the link to the main page I wrote was:
https://www.suonareaorecchio.com/corso-completo-di-pianoforte/
There are some features I don’t know that redirect the paid user to the membership. Now that I changed the link to:
https://suonareaorecchio.com/corso-completo-di-pianoforte/
Everythings fine concerning the paid customer.
Still, Subscribers and paid users after login, are redirect to the home page instead of the Login Welcome Page.
As I told you I triple checked the page set as Login W P in s2 general options.
Thanks again
I deactive any plugin except SEO by YOAST, Contact Form and Akismet and still experiencing the same problem
Hi, thanks for your reply,
the ID shows correctly in the Restriction Page at level #0. For posts didn’t put anything
since I want to protect only some pages.Haven’t changed any capabilities or role, and for Subscribers are set to “read” and “access_s2member_level0”.
Didn’t test for any conflict, if you please can show me how to do it I’d appreciate that. Thanks for helping!
I saw your theme customization page. Since I use Avada theme it’s easy for me to customize it without making bad mistakes.
For example at this link
https://www.pianogenius.it/la-mia-pagina-3/riepilogo-iscrizione/?level=2I would like the form to be customize with my User Profiles Made Easy plugin. Then I would like the p tag to be <p style=”font-size:17px;”>
I would like the button to be the default button.These are the customizations I’d like to do. Since my website it’s completely under construction I would like to postpone your paid membership support until I’ll be certain of everything.
By now are there any way to apply these changes?
Thanks a lot
Forum: Fixing WordPress
In reply to: Site doesn't load in specific placesNo problem for suonareaorecchio.com but for piano genius I got it down
<img src=”https://s22.postimg.org/a7gutj6y9/Schermata_2014_12_13_alle_10_06_59.png”>
Forum: Fixing WordPress
In reply to: Site doesn't load in specific placesHi Calvin, thanks for your support.
Sites are https://suonareaorecchio.com and https://pianogenius.it. They’re two different domain that I host on the same BlueHost account. So basically I have two worpress site in the same hosting account, but BlueHost team told me there was no problem about it.
Friends don’t see any particular error, Home page simply doesn’t load (message is ‘Impossible to load the page’ or something like that.)
Thanks again.
Paolo