You will need to start customising your theme’s template files via a child theme.
Thanks for the quick response. I’m really a newbie. I can see I have some studying to do. I’m not sure where to start to find the template files or to recognize that line of code.
But I can see I need to learn this.
Thanks.
Hi elifair,
Thank you for using Book Lite. 🙂
Just a hint. Open up all the content.php and content-X.php files and look for
<?php book_posted_by(); ?>
Move that to wherever you want. Probably after this code bit just to try
<!-- .entry-content -->
Hope that helps.
Thanks,
Chandra
Dear Chandra, I couldn’t find the content-X-php files. I found content.php.
Here’s what I found in that area.
[ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]
<div class="entry-meta">
<?php book_posted_by(); ?>
<?php if ( 'post' == get_post_type() ) : ?>
<div class="entry-meta">
<?php book_posted_by(); ?>
<?php
/* translators: used between list items, there is a space after the comma */
$categories_list = get_the_category_list( __( ', ', 'book' ) );
if ( $categories_list && book_categorized_blog() ) :
?>
<span class="cat-links">
<?php _e( ' under ', 'book' ) ?><?php printf( $categories_list ); ?>
</span>
<?php endif; ?>
Is this the correct spot? I see the “<?php book_posted_by(); ?>” which makes it seem like the right place. Can I just remove some of this code to end up with “by elifair” with no categories listed? The categories are given later in the post, so I don’t need them here.
Any help would be appreciated. Thank you.
Yes please, content.php, content-image.php, etc, all those files that begin with content (thats why I just added X in there). Feel free to add it anywhere you want to keep.