user meta - Dynamic URL based on user_metadata

I want to know how can I dynamically change the page a user is taken to when they select a URL....using wordpress user m

I want to know how can I dynamically change the page a user is taken to when they select a URL....using wordpress user metadata fields?

My users have either selected "male" or "female" as their gender in their profile and the value is stored in a mysql database in the "usermeta" table.

And I have created 2 pages:

www.example/male

www.example/female

Is there a way to use a current logged in user's metadata field value in a URL to send them to the correct page?

meta_key = "user_gender"

www.example/"user_gender"

Is this possible in wordpress?

Please help!

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744942198a4602395.html

相关推荐

  • user meta - Dynamic URL based on user_metadata

    I want to know how can I dynamically change the page a user is taken to when they select a URL....using wordpress user m

    2天前
    40

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信