Community Forums › Forums › Archived Forums › General Discussion › Code at bottom of my page
- This topic has 14 replies, 3 voices, and was last updated 11 years, 1 month ago by Anita.
-
AuthorPosts
-
February 6, 2013 at 8:55 pm #18568alogomasiniParticipant
I tried to change the footer copyright using simple edits plugin. Now I have code at the bottom of my page and can't figure out how to remove it. I am a novice at best ... not good with code. Can anyone help me figure out hot to fix this. the website is sellitquickhomes.com. thanks.
February 6, 2013 at 11:41 pm #18583Tony @ AlphaBlossomMemberHi, I haven't used that plugin, but it loos like you're just missing your php tags.
Try adding <?php before and ?> after.
Hope that helps,
Tony
AlphaBlossom
Tony Eppright | http://www.AlphaBlossom.com | Follow me on twitter @_alphablossom
February 8, 2013 at 10:32 am #18947alogomasiniParticipantThanks. But I don't know where to add <?php before and ?> Could you point me to the file and location?
Sorry, I can tinker with code, but am not really that proficient. Not sure how the code could have changed, since I have not been in those files.
February 8, 2013 at 12:43 pm #18977Tony @ AlphaBlossomMemberCan you post what you placed inside of the simple edits page? Did you make any other changes anywhere, or just on the simple edits page?
Tony Eppright | http://www.AlphaBlossom.com | Follow me on twitter @_alphablossom
February 8, 2013 at 12:50 pm #18981AnitaKeymasterYou added code that should actually go into the Functions.php file. Go to Simple Edits and remove that code and save. Where did you get that code from that you put in there?
Love coffee, chocolate and my Bella!
February 8, 2013 at 3:46 pm #19080alogomasiniParticipantI got the code on the studio press site for code snippets where it said I customize credit in footer: http://my.studiopress.com/snippets/footer/#credits I am not sure this caused the problem. I deactivated the simple edits plug in and nothing has changed.
I have not changed any of the code files, so I don't know how I made this mistake. Here is the code I used, but its not active now.
/** Customize the entire footer */
remove_action(
'genesis_footer'
,
'genesis_do_footer'
);
add_action(
'genesis_footer'
,
'custom_footer'
);
function
custom_footer() {
?>
<p>&
copy
; Copyright 2012 <a href=
"http://mydomain.com/"
>My Domain</a> · All Rights Reserved · Powered by <a href=
"http://wordpress.org/"
>WordPress</a> · <a href=
"http://mydomain.com/wp-admin"
>Admin</a></p>
<?php
}
February 8, 2013 at 3:51 pm #19085Tony @ AlphaBlossomMemberThe code is still showing on your footer.
Where did you place that code? If you look in your functions.php file, do you see that code?
Tony Eppright | http://www.AlphaBlossom.com | Follow me on twitter @_alphablossom
February 8, 2013 at 4:15 pm #19096alogomasiniParticipantCan't find it anywhere. I even just reloaded all the child theme code files. Could it be on the Genesis files? Should I reload those too?
February 8, 2013 at 4:42 pm #19102AnitaKeymasterDeactivate the Simple Edits please so we can see what it looks like without the plugin.
Love coffee, chocolate and my Bella!
February 9, 2013 at 12:53 pm #19261alogomasiniParticipantI deactivated simple edits and even deleted it, but no change.
February 9, 2013 at 1:07 pm #19265AnitaKeymasterDo you have a footer.php file? And, check your home.php file way at the bottom to see if you have this code and let me know.
Love coffee, chocolate and my Bella!
February 9, 2013 at 1:39 pm #19271alogomasiniParticipantNot in any of the php files. I checked home, footer, and theme functions. Not sure how I did this! Thanks so much for your assistance.
February 9, 2013 at 1:41 pm #19273AnitaKeymasterOkay, check this. Go to Genesis > Theme Settings. Scroll all the way to the bottom - did you place the code in the last box marked Footer?
Love coffee, chocolate and my Bella!
February 9, 2013 at 2:05 pm #19277alogomasiniParticipantBingo! Thanks a million.
February 9, 2013 at 2:15 pm #19281AnitaKeymasterYou're welcome! I thought I was going to tear my hair out!
Love coffee, chocolate and my Bella!
-
AuthorPosts
- The topic ‘Code at bottom of my page’ is closed to new replies.