-
Author
-
April 7, 2014 at 14:27 #14519amineParticipant
Hello
I would want to add additional fields of each membership.
How do I add or modify the field in memberships table – this is the field on the frontend on the membership level.
I look forward to hearing from you
Thank you
April 9, 2014 at 21:02 #14746AbeKeymasterHi, Please see this topic: https://archived.seventhqueen.com/forums/topic/membership-levels-price-page
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.April 10, 2014 at 01:42 #14773amineParticipantHi Abe
Thank you. to understand further the code on the link you sent me
‘name’ => ‘shop’Is this Shop is the page title? how does functiona know what is ‘shop’ or ‘message’
King regards
April 12, 2014 at 19:24 #14946AbeKeymasterTaking the below code as example for the Shop restriction, “/^\/shop\/?$/” is the actual REGEX restriction restricting the /shop page.
array(‘name’ => ‘shop’) tells the system to match the restriction with the settings you choose from Theme options – MembershipsYou will see that in the code, in the first part, the newly added Shop option to appear in Theme options – Memberships
//NEW RESTRICTION SHOP page with name: shopCOPY CODE//Restrict Shop page add_filter('kleo_pmpro_match_rules', 'kleo_my_custom_restrict2'); function kleo_my_custom_restrict2($restrictions) { //regular expression for shop page $restrictions["/^\/shop\/?$/"] = array('name' => 'shop'); return $restrictions; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.April 16, 2014 at 17:25 #15264AbeKeymasterWe are based in Romania, Eastern Europe and you cand send us an email to talk more details at themesupport@seventhqueen.com
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer. -
AuthorPosts
The forum ‘KLEO’ is closed to new topics and replies.