- This topic has 2 replies, 2 voices, and was last updated 10 years, 1 month ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › eMember – put registration shortcode or php function out of wordpress page
Tagged: custom page, Member Registration
Hi Admin,
I would like to create a squeeze page which out of wordpress posts and pages.
The squeeze page just for split testing and collect email and username to register to free membership.
For example my squeeze page is host in the following location:
[http://mydomain.com/mysqueezepage/index.php]
I would like to do this because I want to bypass this squeeze page from wp themes design so that, the squeeze page not inherit header, footer or any themes design.
I tried to put the following php function into the very plain squeeze page:
<br />
<?php echo print_eMember_registration_form(); ?><br />
But error as per below happen since I’m not include the required wp function (maybe).
Fatal error: Call to undefined function print_eMember_registration_form()
Kindly help if this is possible to do.
Thank you,
Faiz
I would like to create a squeeze page which out of wordpress posts and pages.
It doesn’t work, because all plugin functions must be preloaded by the WordPress environment.
The better way to do it is to use a page template so it looks exactly how you want it to look like even though it is a WordPress page. See the following tutorials to learn more about WordPress page templates:
How to Create a Custom WordPress Page Template (Video Tutorial)
Alternatively, You could maybe use an autoredirect, from the non-WordPress page, to a WordPress page?
Thank you for your suggestion. I am using redirection instead.