• Resolved luderbrus

    (@luderbrus)


    So, I have a author.php site set up. However, It’s not deep enough. I want each user to have a (slightly) different design. Can I do this in any easy way, like author1.php, author2.php etc. or do I have to be clever and sorta echo the authorname and use that as a way of calling a custom php file?

    Thanks guys.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’d love to do the same sort of thing myself — let each author have some customization options for their author page — maybe a custom header graphic, colors, etc. I don’t know much php, so if someone could develop a plugin or create a guide of some kind for me to follow, that would be great. Or even some advice would be very welcome.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Put this on your theme’s author.php:

    <?php
    load_template(TEMPLATEPATH.'author'.get_the_author_ID().'.php');
    ?>

    And there you go. Now you can do author1.php, author2.php, whatever. Just use the author’s ID number as their template number.

    You can extend this same kind of concept as far as you like.

    Thread Starter luderbrus

    (@luderbrus)

    Works wonders. Thanks Otto42.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Deeper authorpages? Deeper than author.php’ is closed to new replies.