Forums

[resolved] Removing author byline in minimalist template (3 posts)

  1. hargrovian
    Member
    Posted 1 year ago #

    How may I remove the author byline, while retaining the dateline in posts? I am using a customized version of the minimalist theme.

    Thanks in advance for any assistance.

    - hargrovian

  2. hargrovian
    Member
    Posted 1 year ago #

    "minimalism" is the name of the template's theme. Please excuse my error in naming it as "minimalist" in the post above.

    - h.

  3. hargrovian
    Member
    Posted 1 year ago #

    Ah! I found it. Should anyone else come this way and wonder how it was done, I'll explain:

    The edit was made in the Main Index Template (index.php). I changed the code from its original form to the following:

    <div class="post" id="post-<?php the_ID(); ?>">
    				<small><?php the_time(__('F jS, Y', 'minimalism')) ?></small>
    				<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'minimalism'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h2>

    This change achieved not only the removal of the author byline, but the reversal of the post title and dateline, about which I had also inquired.

    Both problems have been resolved, and both marked as so. Thanks to anyone who looked in.

    - hargrovian

Topic Closed

This topic has been closed to new replies.

About this Topic