Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Forum: Plugins
    In reply to: Profiles?

    Since I’m new to PHP and CSS, I didn’t understand a word you said. Here’s an easier version that may help some people (also posted in its own thread and to the wiki)

    This takes that “posted by authorname” text on your blog page and changes the authorname to a link. When you click the link it lists all the posts by that author.

    In your index.php, change

    <div class=”meta”><?php _e(“Filed under:”); ?> <?php the_category() ?> a€??
    <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(); ?></div>

    To

    <div class=”meta”><?php _e(“Filed under:”); ?> <?php the_category() ?> a€??
    <?php the_author_posts_link(); ?> @ <?php the_time() ?> <?php edit_post_link(); ?></div>

    The only change is in that fourth tag, and mind the semicolon.

    You also link to those pages manually with links to https://www.whatever.com/blog/index.php?author=3

    Thread Starter sasha

    (@sasha)

    This is all in index.php, by the way.

    Found this in the wiki:

    How do I change the sort order of my links?

    Make these changes to INDEX.PHP
    Sort Links By…
    Date / Time Updated:

    <?php get_links(-1, ”, ”, ”, 0, ‘_updated’, 0, 0, -1, -1)?>

    Alphabetically:

    <?php get_links(-1, ”, ”, ”, 0, ‘name’, 0, 0, -1, -1)?>

Viewing 3 replies - 1 through 3 (of 3 total)