Community Forums › Forums › General Discussion › Code at bottom of my page
This topic contains 14 replies, has 3 voices, and was last updated by anitac 3 months, 1 week ago.
-
AuthorPosts
-
February 6, 2013 at 8:55 pm #18568
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 #18583Hi, 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
February 8, 2013 at 10:32 am #18947Thanks. 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 #18977Can 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
February 8, 2013 at 12:50 pm #18981You 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?
Twitter Handles: @thecre8tivediva | Website: Cre8tiveDiva.com | LinkedIn Group: http://goo.gl/nNe1m
Why Not Take The Challenge! – Help us answer some of the unanswered postsFebruary 8, 2013 at 3:46 pm #19080I 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');
functioncustom_footer() {
?>
<p>© 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 #19085The 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
February 8, 2013 at 4:15 pm #19096Can’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 #19102Deactivate the Simple Edits please so we can see what it looks like without the plugin.
Twitter Handles: @thecre8tivediva | Website: Cre8tiveDiva.com | LinkedIn Group: http://goo.gl/nNe1m
Why Not Take The Challenge! – Help us answer some of the unanswered postsFebruary 9, 2013 at 12:53 pm #19261I deactivated simple edits and even deleted it, but no change.
February 9, 2013 at 1:07 pm #19265Do 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.
Twitter Handles: @thecre8tivediva | Website: Cre8tiveDiva.com | LinkedIn Group: http://goo.gl/nNe1m
Why Not Take The Challenge! – Help us answer some of the unanswered postsFebruary 9, 2013 at 1:39 pm #19271Not 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 #19273Okay, 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?
Twitter Handles: @thecre8tivediva | Website: Cre8tiveDiva.com | LinkedIn Group: http://goo.gl/nNe1m
Why Not Take The Challenge! – Help us answer some of the unanswered postsFebruary 9, 2013 at 2:05 pm #19277Bingo! Thanks a million.
February 9, 2013 at 2:15 pm #19281You’re welcome! I thought I was going to tear my hair out!
Twitter Handles: @thecre8tivediva | Website: Cre8tiveDiva.com | LinkedIn Group: http://goo.gl/nNe1m
Why Not Take The Challenge! – Help us answer some of the unanswered posts -
AuthorPosts
The topic ‘Code at bottom of my page’ is closed to new replies.