Support » Plugins » post-author-box plugin how to add new token

Viewing 4 replies - 1 through 4 (of 4 total)
  • Here’s an example you can follow.

    Basically, what you need to do is register your search tokens, and then replace them with your new values.

    You should put your code snippet in your theme’s functions.php file, or create an MU plugin for it, so your code doesn’t get blown away when the plugin is updated.

    Let me know if you need more specifics than this.

    Thanks so much.
    Meanwhile I did something absolutly simple. I put this code: Viev this user profile
    That’s how I got profil link:D
    However thanks for your answer I think it will be helpful in future.
    Best regards

    Neat trick, that could work too. Instead of using %display_name% though, I might recommend using %user_login%



    Is it possible to register a token as categories somehow? I’m removing the “Posted in:” section because I don’t want it on every page and post I make, I’d rather have it optional like the post author box.

    However, even after reading that example I have no idea how I’d do that.

    Thanks in advance for any help you can provide.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘post-author-box plugin how to add new token’ is closed to new replies.