• Resolved tua33450

    (@tua33450)


    Hello, all! I have a bit of a dilemma. I have a blog with several authors. I would like to create an about-us page with information about all of the authors (all on the same page), and also with links to certain sections of that page. I have seen others ask about this same thing with no responses.

    Here is the thing: I can put together the page with info about all of the authors (I have done something similar in the sidebar). However, what I cannot figure out is how to change my <?php the_author_posts_link(); ?> (from my single.php page) to link to the specific section of the page with each author’s information.

    For example, the page would have a section on Author1, followed by sections on Author2 and Author3. What I would like to do is link to #Author1 when someone clicks the author’s name in one of their posts.

    Thanks in advance! I would appreciate any help or even a starting point.

Viewing 1 replies (of 1 total)
  • Thread Starter tua33450

    (@tua33450)

    Hello again, I think I’ve figured this out. I guess fully writing out my question helped clear this up in my head.

    In case anyone else is interested, here is my solution. I am going to manually build the about-us page, being sure to us div IDs that correspond to the authors. Then, I will just change the author links in my single.php page to <?php the_author_link(); ?>. That way, I can set the website for the author in wp-admin to mywebsite.com/about-us#Author1

    Hopefully this will work out for me. Sorry for wasting the space in the forum.

Viewing 1 replies (of 1 total)
  • The topic ‘Link to page with info about all authors’ is closed to new replies.