petepyro
Member
Posted 4 months ago #
I know this question has been answered 1000 times but I cant seem to apply the answers to my site. I want to change the link and text of the "Proudly Powered by WordPress."
blog.haltwo.com is the address
I installed the advanced code editor and one-click child theme plugins. Currently have child theme so when I open editor it is empty. Thanks!
[No bumping. If it's that urgent, consider hiring someone.]
Find the .php file where the current text is shown - probably footer.php. Copy that file into your child theme folder and edit it.
petepyro
Member
Posted 4 months ago #
Thanks for your reply. For some reason when I do as suggested it has NO affect. I am not a code master by ant means and I know I left a lot of garbage from the parent, but I just cant get anything to actually change the footer.
@import url("../twentyeleven/style.css");
<div id="site-generator">
<?php do_action( 'twentyeleven_credits' ); ?>
<a href="<?php echo esc_url( __( 'http://haltwo.com/', 'twentyeleven' ) ); ?>" title="<?php esc_attr_e( 'haltwo.com', 'twentyeleven' ); ?>"><?php printf( __( 'Powered by Propaganda Panda © 2012 haltwo.com | All Rights Reserved' ); ?></a>
</div>
petepyro
Member
Posted 4 months ago #
I am using the "edit" function under "appearance" in the dashboard
You need to copy the entire parent footer.php file into the child theme -- but do not put the @import line at the top -- that only goes in the style.css file.
Review this if need be:
http://codex.wordpress.org/Child_Themes
Just looked at your site -- you can't put php code in the CSS file. Remove that and read the link above about how to do the footer.php file.
petepyro
Member
Posted 4 months ago #
ahhhh. very helpful. So what should I code If all I want is "mytext" linked to mysite.com without any unnecessary code
Not sure what you mean - are you still talking about changing the text in the footer?
petepyro
Member
Posted 4 months ago #
yes. when I copy the footer from the parent, there seems to be a lot of extracurricular code. I just simply want my text linked to my page in the footer.
petepyro
Member
Posted 4 months ago #
namely the powered by %s part. how do I best change that to the text I want?
<?php printf( __( 'Proudly powered by %s', 'twentyeleven' ), 'WordPress' ); ?></a>