Have you ever wanted to know how to add Tags to each Post within your WordPress theme? If you theme does not have it built-in, there is no need for a plugin, so please take a moment to look this quick tutorial over because with just a bit of understanding of what is going on, you can look like a master at PHP and developing.
There are many ways to do the following steps (I actually prefer using FTP, but I am going to assume in this tutorial that you do not know what FTP means, and will show you how to do everything within the WordPress Dashboard.
In this example I am going to use the really clean coded free WordPress theme called Noteblog. Nicely coded, and generally speaking fast loading theme.
Step #1: Login to WordPress. If you do not know how to do this, stop and contact somebody that can help you – I am likely available if you contact me…
Step #2: Are you logged into your WordPress Dashboard now? Yes? Awesomesauce!
Go to the left navigation and look for
Appearance >> Editor
From there on the Right side of the screen look for
Click on it and you will see a few files drop down under it. Look for
Step #3: Here’s where the magic happens, so pay attention.
Look for the code at the bottom that says
</div<!-- .enter-content --> </article><!-- #post-## -->
At that point you will be adding some very common code between
</div><!-- .entry-content -->
</article><!-- #post-## -->
to actually make tags display on your Posts, and be SEO ready.
So the default method of the WordPress core code (which can be found at the WordPress Codex here)
code would look something like this:
</div><!-- .entry-content --> <p><?php the_tags(); ?></p> </article><!-- #post-## -->
and would display like the following on your site:
Don’t forget to look at the many variations of how you can use the_tags function, and you can really impress your friends and family.