Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Apr 2012
    Location
    Kansas City, Missouri
    Posts
    1
    Member #
    31483

    html links in wordpress

    okay I am about to lose my mind and hope somebody can help. Try to keep this brief.

    Here is my url - don't click it, it's the problem

    mydomain.com/lucky-vips/forums/users/lpc-vip/edit/

    This is the url that allows users to change their profile info and avatar. Easy enough, I thought.

    You see where it says lpc-vip, that is my username so I can't use this link because it won't work for the next person logged in.

    This is in wordpress, how do I change that part?

    I thought there is php or something I could put there like

    http://mydomain.com/lucky-vips/forums/users/$users/edit/ or something like this that it will grap the username of the logged in person. I know it's possible, just don't know the short code that could go there - or is there another way to do this I am unaware of.

    thanks,

  2.  

  3. #2
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    how many users do you have? Is this a multisite installation?
    There is a plugin here that could possibly help you.
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  4. #3
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    Not sure how to grab the current user's name, but you add parameters to a url with:
    Code:
    ?parameter=value
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Tags for this Thread

All times are GMT -6. The time now is 05:39 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com