You can add your text before footer area. Using our code you can easily achieve this. In this article I will show you how to add text in footer wordpress. In this article I will show you how to add the text before footer area in wordpress.
how to add text in footer wordpress

First Open your functions.php file from your wordpress theme and use following code in the functions.php
function custom_footer() { $content = '</pre> <div id="custom_footer">this is your custom function or text</div> <pre>'; echo $content; } add_action('wp_footer', 'custom_footer');
Then open your footer.php file from wordpress theme folder and put following code in footer where you want to show your custom text or function.
<?php wp_footer(); ?>