Cant Change my footer.php
-
[ Moderator note: please wrap code in backticks or use the code button. ]
<?php /** * The template for displaying the footer. * * * @package Customizr * @since Customizr 3.0 */ ?> <?php tc__f('rec' , __FILE__ , __FUNCTION__ ); ?> <?php do_action( '__before_footer' ); ?> <!-- FOOTER --> <footer id="footer" class="<?php echo apply_filters('__footer_classes', '') ?>"> <?php do_action( '__footer' ); // hook of footer widget and colophon?> </footer> <?php wp_footer(); //do not remove, used by the theme and many plugins?> <?php do_action( '__after_footer' ); ?> </body> </html>What changes should i make to my footer.php file to remove ” Designed By themescando.com” and add my own?
-
You can use this snippet instead changing footer.php
Where should i paste this snippet exactly?
You must go to Appearance>Editor. Then you will find a list of PHP files on the right. Scroll down the list you will something as class-footer-footer.php. Open this file on line 175 you can make the desired changes.
I had the same issue in the past and found this very easy method without pasting any pasting snippet.Everything is explained in the snippet. You need to copy & paste snippet in the functions.php file of your child theme.
@tomaja -i m nt using a child theme . Its a customizr theme.
@vdixit- U mean to say is that all i have to do is make changes on the class-footer-footer.php ? not pasting any other snippet right?@manavmittl
You should make Customizr child theme and then make changes. It is VERY GOOD practice. If you change theme files directly in Customizr theme there is a possibility of loosing all changes after theme update. So instead you change class-footer-footer_main.php in Customizr you can change that file in Customizr child theme without any worries. Same goes for all default files, including functions.php
In above post you have a link to visual howto create child theme from the parent one.@manavmittl – Yes you don’t have to paste any snippet to make the desired changes. Just go to the mentioned file and line 175 and it’s done. You will ‘Designed by Themes & Co.’ change it to what you want.
@vdixit- Not happening… suppose i wanted @manavmittal , what would it be like..?
can you give me the code?
You should make Customizr child theme and then make changes. It is VERY GOOD practice. If you change theme files directly in Customizr theme there is a possibility of loosing all changes after theme update.
class-footer-footer_main.php (this is the file)
Scroll almost to the end of the page try and search for a line saying ‘Themes & Co.’
‘Themes & Co‘ (change ‘Themes & Co’ – to what you want, that’s it).
Hope this helps you.ok i got it.. thanks a lot 🙂
I created a child theme with css and functions.php files.I copied the scr ipt to functions.php and the code shows on the page header instead of footer area of the web page.
Hi @kelex, you might want to open a new thread for this as this one has been resolved.
Thanks!@manavmittl : would you mind set this to resolved to help users find solutions to their similar issues? thanks
The topic ‘Cant Change my footer.php’ is closed to new replies.
