• Resolved icos

    (@icos)


    Hi,

    i created a page where new members can register using the ‘[wp-members page=”register”]’ shortcode. That works fine but when you are already logget in a link shows up wich, when clickt, sends you to the home page. Here is my problem. I want this link to point to a different page. How can i change this?

    I use the plugin to protect a download section on my site so it would make plenty of sense if it would link to my download page.

    I hope you guys can help me.

    regards,

    icos

    http://wordpress.org/plugins/wp-members/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    The HTML for the logged in state of that page can be filtered with wpmem_register_links. You can change the link by using something like str_replace, or (easier) you could just return your own custom HTML for whatever you want to display there.

    Thread Starter icos

    (@icos)

    hi,

    thank you for your quick respond. I think this could solve my Probelm.
    But whrere do i have to insert this piece of code?

    regards,

    icos

    Plugin Author Chad Butler

    (@cbutlerjr)

    Any custom functions go in your theme’s functions.php file.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change link target in register shortcode’ is closed to new replies.