Skip to:
Content
Pages
Categories
Search
Top
Bottom

Add page to your personal cabinet


  • tiktak007
    Participant

    @tiktak007

    How to add a page to your personal cabinet member? Now, there are users/admin/edith need to add users/admin/custom_page. It will be displayed on certain information…

Viewing 3 replies - 1 through 3 (of 3 total)

  • tiktak007
    Participant

    @tiktak007

    probably need to somehow add a add_rewrite_tag and add_rewrite_rule, but tell me, please, how it is


    tiktak007
    Participant

    @tiktak007

    Wrote this:

    add_rewrite_tag( '%custom%', '([1]{1,})' );
    add_rewrite_rule( 'users'. '/([^/]+)/custom/&$', 'index.php?' . 'bbp_user' . '=$matches[1]&custom=1', 'top');

    But when you go to the page user/admin/custom, 404 page is displayed


    tiktak007
    Participant

    @tiktak007

    No one knows?

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.