Adding footer image to right corner
-
Hello, where would I modify the code so that I can add a footer image to the bottom corner of the theme?
-
Where in the functions.php do I put it?
You need a Child Theme. Read this for a starter
Ok, I read the information but I’m not sure how to setup a child theme to do this. Couple of questions:
Here is the code for adding the logo:
[ Moderator note: Code fixed. ]
__________________________________________________________________ add_filter( 'tc_credits_display', 'my_credits_display' ); function my_credits_display($html) { $logo_src = esc_url ( tc__f( '__get_option' , 'tc_logo_upload') ) ; if ( empty($logo_src) ) return $html; ?> <div class="span4 credits"> <?php $credits = sprintf( '<p> · © %1$s <a href="%2$s" title="%3$s" rel="bookmark">%4$s</a> · Designed by %5$s ·</p>', esc_attr( date( 'Y' ) ), esc_url( home_url() ), esc_attr(get_bloginfo()), '<img src="'.$logo_src.'" alt="'.esc_attr(get_bloginfo()).'">', '<a href="'.TC_WEBSITE.'">Themes & Co</a>' ); echo $credits; ?> </div> <?php } __________________________________________________________________
I’m currently using the blue.min.css but i don’t know which function.php to use. Overall I’m not familiar on how to implement a child theme in this theme
Mmm?
You have to put css codes in your child-theme style.css or in the custom css box you can see in Appearance->Customize.
php code must go in the child-theme functions.phphttp://www.themesandco.com/customizr/how-to-customize-customizr-wordpress-theme/
Ok, I’m not to sure on how to implement the child them concept. Can you walk me through it real quick so I know where to put what files
Sorry, let me clarify. I know where to the put the custom css put not the php for the child theme
Don’t wanna read eh? hehe 😛 Sorry you have to, ’cause you have to chose what is easier for you.
From the link above:
http://www.themesandco.com/snippet/creating-child-theme-customizr/
http://www.themesandco.com/extension/customizr-child-theme/The only thing I want to show is the following:
2014 Shades of Happiness (centered)
Logo on the right corner of the footer
Maybe I didn’t understand as I read those items. Let me read them again because maybe I missed something
You need a child theme.
I don’t know what are your skills or tools. Can you use a ftp to upload on your site?Ok, read over the docs again. I must of read something different. I have FTP access and applied the plugin but also put in the child theme manually. Following the rest of the instructions now. Hopefully I can get this fixed. Thanks
Quick question,
I’m following the instructions for adding an image to the footer here:
http://www.themesandco.com/snippet/adding-logo-footer-credits/
but I have the following questions:
-How do I specify the image I want to go in the footer
-I need to also right justify itIn that case it uses the logo image, also where do you want it.. wanna replace the “back to top” link?
Yes, I want to replace the back to top link with the logo. Also, what code do I need to change so it uses a specific image. Do I upload the image right to the directory where the child them style.css is at?
- The topic ‘Adding footer image to right corner’ is closed to new replies.