How to add custom text into the thesis theme footer.We can use thesis_hook_footer hook for do this.Open the custom_functions.php in the thesis theme folder.Add the following function end of the file and save it.
File path – /wp-content/themes/thesis/custom/custom_functions.php
This function is keep the custom code.But still not displaying.
function copyright() { echo 'Copyright © Sumith Harshan-WebExplorar.com–' . date('Y') . '
'; }
How to Call to this function
add_action('thesis_hook_footer', 'copyright', '99');
Full script is here.
function copyright() { echo 'Copyright © Sumith Harshan-WebExplorar.com–' . date('Y') . '
'; } add_action('thesis_hook_footer', 'copyright', '99');
How to remove footer links
// SYNTAX remove_action('thesis_hook_footer', 'thesis_attribution'); // EXAMPLE remove_action('thesis_hook_footer', 'copyright'); // this is above code that we just added
If you want to edit current footer text go to the following path and open that file.
/wp-content/themes/thesis_18/lib/html/footer.php
Then you can see the footer links.