Forum Replies Created
-
Author
-
mg409
ParticipantNo worries, another quick question, however this might be better asked to pmpro.
I’m having problems directing people to the register page from a page with paid content in it.
The post is restricted and a there is a message saying
“This content is for SHORT and LONG members only.
Log in – Register ” Which is good, however when I click the register button it takes me to: http://se3ds.com/login/?action=register
Error 404 – page not foundRather than: http://se3ds.com/membership-account/membership-levels/
What am I doing wrong?
mg409
ParticipantYep, that’s exactly what I did, lol.
However, I still can’t get it to work. I know very little about this sort of thing.
I’ve added this now:
/*
Add the PMPro meta box to a CPT
*/
function my_page_meta_wrapper()
{
//duplicate this row for each CPT
add_meta_box(‘pmpro_page_meta’, ‘Require Membership’, ‘pmpro_page_meta’, ‘product’, ‘side’);
}
function pmpro_cpt_init()
{
if (is_admin())
{
add_action(‘admin_menu’, ‘my_page_meta_wrapper’);
}
}
add_action(“init”, “pmpro_cpt_init”, 20);
?>I guess I need to specify that it is a portfolio custom post type somewhere?
mg409
ParticipantWhen I add that code to the functions.php I get this error message:
Parse error: syntax error, unexpected ‘<‘ in /home1/mg409/public_html/wp-content/themes/se3ds/functions.php on line 19
mg409
ParticipantHi There
Thanks for your reply, I am trying to use the paid membership pro shortcodes [membership level=”2″]… [/membership] for a custom post type (portfolio items).
The Kleo theme uses visual composer, and I find that it does not work properly. Only if I return to the classic mode and delete the [vc_row][vc_column][vc_column_text] & [/vc_column_text][/vc_column][/vc_row] which surrounds the [membership level=”2″] shortcode does it work. However, if I want to amend this portfolio item it reverts back to not working.
Do you have any suggestions?
mg409
ParticipantThank you for your quick reply, as I do not want to pay for the upgrade I have tried using the shortcodes as suggested here: http://www.paidmembershipspro.com/documentation/content-controls/with-shortcodes/
However am having trouble using this feature. I am inserting the shortcode within text boxes in Visual Composer, however it doesn’t see to work.
-
AuthorPosts