Here’s the code that I mention in the video. Simply open your WordPress template’s file named ‘single.php‘ and paste this code just above ‘the_content‘ tag. Be sure to modify those three pieces of code that we discuss in the video so that it properly reflects you and your website.
<?php $author="Nicholas Cardot"; if(get_the_author()!=$author): ?><p><i>This is a guest post by <?php the_author(); ?>. If you're interested in getting yourself in front of the readers of Site Sketch 101, <a href="https://www.sitesketch101.com/site-sketch-101-wants-you">check out the guest posting guidelines here.</a></i></p><?php endif; ?>
If you have questions, comments or if you need any help then please don’t hesitate to use the comments section of this post.