So...my site theme is Atahualpa and I'm trying to remove the "Powered by WordPress Theme by Atahualpa" in the footer. I saw in some post here that you have to remove line 660, which I probably believe is this:
<?php
function footer_output($footer_content) {
$footer_content .= '
Powered by WordPress · Atahualpa Theme by BytesForAll';
return $footer_content;
}
?>
Now, whenever I remove that whole thing above, a fatal error occurs and when I remove the Atahualpa Theme by BytesForAll';, parse error happens. What should I remove?
There should be a footer.php file in the theme...open it and edit out what you want.
sirvish
Member
Posted 2 years ago #
The function footer_output is called in many different places in the Atahualpa framework, so simply deleting it will cause many problems as you say. All you have to do is edit (clear) the information within the '' marks. ie:
<?php
function footer_output($footer_content){
$foother_content .= '';
return....
I would like to keep the 'Powered by WordPress & Atahualpa WP Theme' but remove the deal about Bytes for All and now with tutorial and support!
within functions.php changed to:
function footer_output($footer_content) {
$footer_content .= '<strong><br />Powered by <a href="http://wordpress.org/">WordPress</a> & the <a href="http://wordpress.bytesforall.com/" title="Customizable WordPress themes">Atahualpa WP Theme</a></strong>';
return $footer_content;
}
... but got a syntax error and no website. Reloaded functions.php. What can I do to adjust the footer?
I am interested on this matter to.
I gladly accept the
"Powered by WordPress & the Atahualpa WP Theme"
even the
"by BytesForAll. "
but come on!
"Now with Tutorials & Support"
is not recognition, it's advertisement ;(
Hi,
You need to edit the footer.php file inside the theme folder and then remove the link code which you want.
Thanks,
Shane G.
I did everything you people said and I still have the stupid footer. I even deleted the whole footer.php file and it's still there. Help?!
Looking around the Atahualpa forum, there were answers like
Made a donation and gained access to the gold forum...
If not, there is no answer.
WTF?!
:-|
It's not perfect ......but just change the font to the background font.... then you can't see it. if it's white just change the font in the footer to #ffffff
You said it Paulyt, not pretty but does the trick ;)
Thanks, i didn't see that comming
Anyway, we should be able to edit that part on our blog.
focuswebtech
Member
Posted 2 years ago #
I found the solution:
1) Open themes/atahualpa/functions.php
2) go to line 660
3) DO NOT REMOVE THE WHOLE LINE! Instead replace it with:
$footer_content .= '<br />';
4) Alternatively you can replace with your own html as shown
here
5) Save file
6) Magic :)
@focuswebtech
Many thanks! It worked ;)
About the number line, it may change but it's easy if we search for the words
$footer_content .=
Thanks again and keep the magic going.
interi14
Member
Posted 2 years ago #
I removed everything but the following (as suggested above):
$footer_content .='
;
but now I can't even log in to my admin page at all and I get the following error:
Parse error: syntax error, unexpected T_STRING in /home/interi14/public_html/wp-content/themes/atahualpa342/functions.php on line 145
How can I fix this when I can't even get on to my admin page?
interi14
Member
Posted 2 years ago #
It's me again. I went into my server and I am able to edit the functions.php content I deleted. Does anyone know the full code for the following:
$footer_content.='
I would like to put it back so I can stop getting that syntax error I caused by deleting everything after it. (All I was trying to do was delete the WordPress footer, but I'll live with it if it means I can get my site back up again.) Help!
Thanks!
interi14
Member
Posted 2 years ago #
Got it to work! Read someone else's posting and it works finally!
Thank you focuswebtech!
It worked. Again, Ark74 states, not necessarily on line 660...
Very helpful.
valkyrie66
Member
Posted 2 years ago #
I am getting the parse error as well. How did you solv it interi14?? A link would be nice?
Edit: Fount it, here: http://wordpress.org/support/topic/254535?replies=9
Just remove all the crap inbetween... you end up with this code left and it works like a charm. :)
function footer_output($footer_content) {
return $footer_content;
}
womanwithmanyhats
Member
Posted 2 years ago #
With the newest version of Atahualpa, I can't seem to find the file this info is in. Everything now is a "bha" file. Anyone know where to find this? I, too, don't want an ad on my pages.
James Ronaldo
Member
Posted 2 years ago #
To remove the footer In the latest version of atahualpa go to functions.php in your theme folder
go to
line # 137
the code there is
function footer_output($footer_content) {
$footer_content .= '<br />Powered by <a href="http://wordpress.org/">WordPress</a> & the <a href="http://wordpress.bytesforall.com/" title="Customizable WordPress themes">Atahualpa WP Theme</a> by <a href="http://www.bytesforall.com/" title="BFA Webdesign">BytesForAll</a>. Now with <a href="http://forum.bytesforall.com/" title="Discuss Atahualpa & WordPress">Tutorials & Support</a>';
return $footer_content;
}
replace it with
function footer_output($footer_content) {
$footer_content .= '';
return $footer_content;
}
or simply search for footer_content in your text file editor and remove everything between the quotes
Mischa2009
Member
Posted 2 years ago #
Hi
I am using Atahualpa 3.4.1 and I managed to remove the footer links on the main page but they still appear on the other pages that I created. I removed the footer credits from:
function footer_output($footer_content) {
$footer_content .= '
Powered by WordPress & the Atahualpa WP Theme';
return $footer_content;
}
to :
function footer_output($footer_content) {
return $footer_content;
}
Any idea how I can get rid of the links on all pages?
thx.
burntheweb
Member
Posted 2 years ago #
actually these lines are found in function.php not in footer.php ;)
erockadus
Member
Posted 2 years ago #
waterfriendly
Member
Posted 2 years ago #
After some time I managed to get it right.
There is still the following footer:
"WordPress SEO fine-tune by Meta SEO Pack from Poradnik Webmastera"
I would like to remove that but dont know where?
Anyone with a copy and paste solution like saadbassi had?
seanx820
Member
Posted 2 years ago #
@waterfriendly, that is not part of this theme you can remove that in the editor under the plugin section, just do COMMAND+F (for mac) or a control f (windows) and search for the text you need to remove. Remember guys that we should leave some credit to people that did the work, we cannot just cut and paste everything without any credit.....
check my site on http://www.seancav.com to see my theme :)
waterfriendly
Member
Posted 2 years ago #
Thanks seanx820 but all this time later and I finally discovered a tickbox in the Meta SEO pack that had to be removed!
Another simple way to remove stuff from Atahualpa is to set it to:
visibility: hidden;
in the CSS. In this case you would put it in the Footer Style box (remove everything else that's in there).