Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
  • in reply to: Customizing the Blog Template #6883
     hughm
    Participant

    Actually decided on a better way. I copied the function sweetdate_entry_meta from the Sweetdate functions.php file into the sweetdate-child/functions.php file. I rearranged the category list items to make the author display first before the date, category, and comments links. What makes sense to me is to have the author link go to the author/member profile (bridging the gap between wordpress and buddypress).

    I found some code to accomplish this in the BP default theme but couldn’t get it to work. Mind taking a look?

    COPY CODE
    
    $author = sprintf( <a href="%1$s" title="%2$s" rel="author">%3$s</a>,
    		esc_url( bp_core_get_userlink( $post->post_author ) ),
    		esc_attr( sprintf( __( View all posts by %s, kleo_framework ), get_the_author() ) ),
    		get_the_author()
    	);
    
Viewing 1 post (of 1 total)

Log in with your credentials

Forgot your details?