I may be a bit confused about template iframe embed

User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: I may be a bit confused about template iframe embed

Post by axew3 »

Ok!

About the modal login, and correct redirect into wp forum page, this is the code to change:
open your Wp template page-forum(or board etc).php search for the line:

Code: Select all

<input type="hidden" name="redirect" value="<?php echo $w3urlscheme . "://" . $_SERVER['SERVER_NAME'].$_SERVER['PHP_SELF']; ?>">
just replace with this:

Code: Select all

<input type="hidden" name="redirect" value="<?php echo home_url().'/index.php/'.get_option( 'w3all_forum_template_wppage' ); ?>">
OR with this:

Code: Select all

<input type="hidden" name="redirect" value="<?php echo home_url().'/'.get_option( 'w3all_forum_template_wppage' ); ?>">
Now on modal login, the correct redirect to wp page forum should be executed.
Post Reply