hi,
I’m not sure I understand what code have you changed, please provide more details, also a screenshot would be helpful. If you refer to this: http://screencast.com/t/IOIVhFJPsIR note that this will apply to the default post template and will not add the author the other post templates.
Please let me know!
Thanks
I am referring to the screenshot that you linked to.
I would ideally want bylines to appear on these two locations for posts: http://www.screencast.com/t/CyFjunsTwk7 and http://www.screencast.com/t/WqoLJo5NzN.
Is that possible, or can it be in the very near future?
-
This reply was modified 11 years by
rparlier.
The edits are good but they only apply to one of many possible templates your posts can have. Do the exact same code edit (uncommenting the byline) in each of the following files:
loop-single.php, loop-single-1.php, single_template_2.php, single_template_3.php, single_template_4.php, single_template_5.php
And if you want, a similar edit for each of these files in includes/modules (the modules display posts in blocks and archive pages mainly):
td_module_1.php, td_module_2.php, td_module_3.php, td_module_4.php, td_module_5.php, td_module_6.php, td_module_8.php, td_module_9.php, td_module_aj_search.php, and td_module_search.php (if it isn’t already uncommented in that last one).
Happy editing!
Great! Yeah, your homepage will be using the modules. They can be found in your WordPress directory like this: /wp-content/themes/Newspaper/includes/modules. The specific line is:
<?php //echo $this->get_author();?>
Which will become:
<?php echo $this->get_author();?>