Theme for Wordpress: The footer
Building of a simple footer file (footer.php).
<div id="footer"> © 2009<a class ="copyright" href="https://www.example.com">Cryonie</a> | Theme <i>Cryonie</i> by <a href="https://www.scriptol.com/wordpress/cryonie.php"> Scriptol.com </a> <a class="rsslink" href="<?php bloginfo('rss2_url') ?>">RSS</a> </div> <?php wp_footer() ?> </body> </html>
Our simplified footer contains:
- The copyright for the site.
- The name of the theme, in this case Cryonie.
- A link to the RSS feed.
- The wp_footer() function call.
- The body tag to close the page.
wp_footer () is an event handler that can be associated to a function. It's fine to add it because it can be used by plugins. And you can also create your own function, as follows:
add_action('wp_footer', 'myfunction'); function myfunction($content) { ... some processing ... return $content; }
The footer can be developed. Original examples are given in the links below.