1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Buying Need wordpress custom byline on thesis theme

Discussion in 'Programming' started by mattr2110, Mar 25, 2012.

  1. #1
    Below is the code for my current byline, it just displays the date. I want it to display the author too, in a format like this "by Author - March 23, 2012 " I also want the author to be a link to the authors profile and be nofollow.
    SEMrush
    function my_custom_byline() {
    
    if(is_single()) {
    
    ?>
    
    <p class="headline_meta"><abbr class="published"><?php the_time('M j, Y'); ?></abbr></p>
    
    <?php 
    }
    }
    
    add_action('thesis_hook_after_headline','my_custom_byline');
    Code (markup):
     
    mattr2110, Mar 25, 2012 IP
    SEMrush
  2. anuradhan

    anuradhan Active Member

    Messages:
    371
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    65
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    i can do this.
    pm me if the job is still available.

    Thanks
     
    anuradhan, Mar 25, 2012 IP