Footer Text
-
Hi,
I had just upgrade my site. But i need to change or remove the WordPress+Apostrophe footer text. How can i do this? Please someone guide me.
Thanks
-
This topic was modified 9 years, 1 month ago by
mustainsani.
-
This topic was modified 9 years, 1 month ago by
-
Hi @mustainsani,
If you want to hide the text, add the css below to the customizer in appearance > customize > additional css.
.site-footer .site-info { display: none; }If you want to completely remove the text from the sites html, or change the text, that would be a bit more complex. If you want to go down that route, let me know, and I can post the steps required.
Hi Gary Bairead,
Thanks for your kindly help. Actually i want to add my copyright text instead of completely removing everything.
Thanks
Sure š
2. Make a copy the
footer.phpfile from Apostrophe in your child theme.3. Remove these lines from the footer.php in the child theme, and replace them with your custom text:
<a href="<?php echo esc_url( __( 'http://wordpress.org/', 'apostrophe' ) ); ?>"><?php printf( esc_html__( 'Proudly powered by %s', '_s' ), 'WordPress' ); ?></a> <span class="sep"> | </span> <?php printf( esc_html__( 'Theme: %1$s by %2$s.', 'apostrophe' ), 'Apostrophe', '<a href="http://wordpress.com/themes/apostrophe/" rel="designer">WordPress.com</a>' ); ?>4. Activate the child theme.
I think it’s too complex for me. Is there any other way to do this? I mean is there any plugin available to change the the footer credit?
This is an awkward/hacky way of changing the text with css, but it might work.
Try adding it to the customizer in appearance > customize > additional css.
Replace “Your footer text. Copyright Ā© 2017” in the css with your own text, but make sure to keep the text within the quotation marks.
If the css doesn’t work, please keep it in the customizer, post a link to your site, and I can then try tweaking it.
.site-info { position: relative; visibility: hidden; } .site-info::after { content: "Your footer text. Copyright Ā© 2017 "; left: 0; position: absolute; visibility: visible; } footer { border-top: 2px solid #ccc; }Hi, it’s working! but how can i set it in the middle & change the color?
-
This reply was modified 9 years, 1 month ago by
mustainsani.
-
This reply was modified 9 years, 1 month ago by
mustainsani.
I set it to the middle, just need to change the color, is it possible? if not then it’s ok.
It looks like you altered the previous css to center it.
To change the text color, try adding this:
.site-info::after { color: #117bb8; }I also found the code to change the color too, ha ha… anyway thanks Gary, thanks a lot, bye.
Ohh, it’s cool! thanks again & bye.
You’re welcome, glad I could help š
-
This reply was modified 9 years, 1 month ago by
The topic ‘Footer Text’ is closed to new replies.
