[Resolved] How to link to different 'about' pages for different authors?

Home Forums Support [Resolved] How to link to different 'about' pages for different authors?

Home Forums Support How to link to different 'about' pages for different authors?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1112810
    Jay

    I found this post a few months ago which contained this code for changing the author link to a custom ‘about’ page:

    add_filter( 'author_link', 'my_author_link' );
    
    function my_author_link() {
    	return home_url( '/about/' );
    }

    This worked perfectly, but now my site is about to have additional authors for the first time, so I need to do this same thing but with a different ‘about’ page for each different author.

    Any help would be greatly appreciated. Thanks!

    #1112942
    David
    Staff
    Customer Support
    #1113332
    Jay

    Perfect, thanks!

    #1113380
    David
    Staff
    Customer Support

    You’re welcome

    #1803349
    crosby87

    Hi David,

    I just tried the above, but it does not work.

    Did something change in the code since 2019?
    Thanks!

    #1803780
    Leo
    Staff
    Customer Support

    Any chance you can open a new topic and link us to the page in question and maybe the requirement as well?

    I wonder if we could use dynamic stuff in GPP 2.0 now.

    Thanks!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘How to link to different 'about' pages for different authors?’ is closed to new replies.