glamorouscreations Posted April 14, 2008 Share Posted April 14, 2008 i have a wordpress theme i designed and its validated of all errors which means its clear, but i want to remove all the links, meta tag, and subscribe and put my own text link such as copyright, and graphics credit copyright link there but the only links from that area i wanna keep i wanna move to my sidebar in it own section named links and add the rss link, and my main site link and stuff to add later on, ive tried doing this from all css tuts and help from some other people but when i remove that section and follow what ive been told it moved my footer unpositioned off unlinement, can someone please help me remove this, id very much kindly appreciate any and all help from anyone, right now my blog is not public. thank you for reading this post and hope to await some help . thank you Quote Link to comment Share on other sites More sharing options...
TCH-Thomas Posted April 14, 2008 Share Posted April 14, 2008 Welcome to the forum, glamorouscreations. If I understand you correct, you will need to locate something similar to this in your footer.php: ><div id="footer"> <?php bloginfo('name'); ?> © 2007 All rights reserved. <a href="http://www.example.net/wordpress-themes/">Name of theme</a> theme by <a href="http://www.example.net">Name of theme</a>. </div> and remove the bit between the divs. Before you try it, make sure to backup footer.php in case anything goes wrong. As to adding these links to the sidebar, I would add those in a text widget if possible. Quote Link to comment Share on other sites More sharing options...
mistahp Posted April 14, 2008 Share Posted April 14, 2008 If you want to get really fancy, like if you intend this theme for public release and want to prevent the average user removing your credits, you can hook the wp_footer by adding to your theme's functions.php something like this: >function my_credit_links() { // your output here echo '<a href="foo">Name of theme</a>'; } add_action('wp_footer','my_credit_links'); Quote Link to comment Share on other sites More sharing options...
glamorouscreations Posted April 14, 2008 Author Share Posted April 14, 2008 ok what i seen above in tch thomas response thank you, i am not sure what u mean about that would i could do is post my footer code here if you like and maybe that will help me understand more of how to do this , and yes thank you i will check into the widge text thing u mentioned above mistahp, thank you both i will await furthure detail, i do thank you for help me and welcoming me. Quote Link to comment Share on other sites More sharing options...
TCH-Thomas Posted April 14, 2008 Share Posted April 14, 2008 If you want, you can post the code here and we´ll go from there. Quote Link to comment Share on other sites More sharing options...
glamorouscreations Posted April 14, 2008 Author Share Posted April 14, 2008 thank you here you go. >[color="#8B0000"]<div class="clear-this"></div> </div> <!-- div#wrap-mid --> <div id="footer"> <ul id="footer-links"> <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(2) ) : else : ?> <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?> <li id="links"> <h2>Links</h2> <ul> <?php get_links('-1', '<li>', '</li>', '<br />', FALSE, 'name', FALSE, FALSE, -1, FALSE); ?> </ul> </li> <li id="meta"> <h2>Meta</h2> <ul> <?php wp_register(); ?> <li><?php wp_loginout(); ?></li> <li><a href="http://validator.w3.org/check?uri=referer" title="Validate XHTML">XHTML</a></li> <li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li> <li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li> <?php wp_meta(); ?> </ul> </li> <li id="subscribe"> <h2>Subscribe</h2> <p> <a href="<? bloginfo('rss2_url') ?>" title="Subscribe to my feed"><img src="<?php bloginfo('template_url'); ?>/images/rss-images/feed-icon.gif" alt="Subscribe to RSS" /></a> <a href="http://fusion.google.com/add?feedurl=<? bloginfo('rss2_url') ?>"><img src="<?php bloginfo('template_url'); ?>/images/rss-images/google-plus.gif" alt="Google Reader or Homepage" /></a> <a href="http://www.ifeedreaders.com/subscribe.php?thefeed=<? bloginfo('rss2_url') ?>&"><img src="<?php bloginfo('template_url'); ?>/images/rss-images/ifeedreaders.gif" alt="Subscribe" title="More Subscription Options"/></a> <a href="http://add.my.yahoo.com/rss?url=<? bloginfo('rss2_url') ?>"><img src="<?php bloginfo('template_url'); ?>/images/rss-images/yahoo.gif" alt="Add to My Yahoo!" /></a> <a href="http://www.bloglines.com/sub/<? bloginfo('rss2_url') ?>"><img src="<?php bloginfo('template_url'); ?>/images/rss-images/bloglines.gif" alt="Subscribe with Bloglines" /></a> <a href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=<? bloginfo('rss2_url') ?>"><img src="<?php bloginfo('template_url'); ?>/images/rss-images/newsgator.gif" alt="Subscribe in NewsGator Online" /></a> <a href="http://my.msn.com/addtomymsn.armx?id=rss&ru=<? bloginfo('rss2_url') ?>&ru=<? echo get_settings('home'); ?>"><img src="<?php bloginfo('template_url'); ?>/images/rss-images/msn2.gif" alt="Add to MyMSN" /></a> <a href="http://feeds.my.aol.com/add.jsp?url=<? bloginfo('rss2_url') ?>"><img src="<?php bloginfo('template_url'); ?>/images/rss-images/myaol.gif" alt="Add to My AOL"/></a> <a href="http://www.pageflakes.com/subscribe.aspx?url=<? bloginfo('rss2_url') ?>"><img src="<?php bloginfo('template_url'); ?>/images/rss-images/pageflakes.gif" alt="Subscribe to PageFlakes" /></a> <a href="http://www.rojo.com/add-subscription?resource=<? bloginfo('rss2_url') ?>"> <img src="<?php bloginfo('template_url'); ?>/images/rss-images/rojo.gif" alt="Subscribe in Rojo" /></a> <a href="http://technorati.com/faves?add=<? echo get_settings('home'); ?>"><img src="<?php bloginfo('template_url'); ?>/images/rss-images/technorati.gif" alt="Add to Technorati Favorites!" /></a> </p> </li> <?php } ?> <?php endif; /* end of dynamic sidebar */ ?> </ul> <div id="credits"> <a href="http://wordpress.org"><img src="<?php bloginfo('template_url'); ?>/images/wp-logo.jpg" alt="WordPress" title="Powered by WordPress" /></a> <a href="http://www.glamorouscreations.com"><img src="<?php bloginfo('template_url'); ?>/images/cureless-logo.jpg" alt="Glamor" title="Fantasy WordPress Theme by Glamorous Creations" /></a> </div> </div> <!-- div#footer --> </div> <!-- div#wrap-all --> <?php /* "Powered by WordPress. Designed by Glamorous Creations." */ ?> <?php wp_footer(); ?> </body> </html>[/color] Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted April 14, 2008 Share Posted April 14, 2008 Welcome to the forum glamorouscreations What you posted looks like the index.php and not the footer.php Normally the only code in the footer.php is what Thomas posted above. So what is it you would like to remove from your pages? Quote Link to comment Share on other sites More sharing options...
glamorouscreations Posted April 14, 2008 Author Share Posted April 14, 2008 i pated the actual footer.php info which is what it says , yeah i agree normal footers arent that legthly from all ive seen, but when u see my blog , at the bottom u see all the ugly links, the meta links and all the buttons to subscribe for stuff not needs, the only links i wanna keep are the login admin link, the rss link , the wordpress link, , and once removed where that was all placed i wanna add just plain texting such as my copyright, and the graphics copyright link info and thats pretty much it. Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted April 14, 2008 Share Posted April 14, 2008 Well you can start by editing your file to look like this. >[color="#8B0000"]<div class="clear-this"></div> </div> <!-- div#wrap-mid --> <div id="footer"> <ul id="footer-links"> <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(2) ) : else : ?> <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?> <li id="links"> <h2>Links</h2> <ul> <?php get_links('-1', '<li>', '</li>', '<br />', FALSE, 'name', FALSE, FALSE, -1, FALSE); ?> </ul> </li> <li id="meta"> <h2>Meta</h2> <ul> <?php wp_register(); ?> <li><?php wp_loginout(); ?></li> <?php wp_meta(); ?> </ul> </li> <?php } ?> <?php endif; /* end of dynamic sidebar */ ?> </ul> <div id="credits"> <a href="http://wordpress.org"><img src="<?php bloginfo('template_url'); ?>/images/wp-logo.jpg" alt="WordPress" title="Powered by WordPress" /></a> <a href="http://www.glamorouscreations.com"><img src="<?php bloginfo('template_url'); ?>/images/cureless-logo.jpg" alt="Glamor" title="Fantasy WordPress Theme by Glamorous Creations" /></a> </div> </div> <!-- div#footer --> </div> <!-- div#wrap-all --> <?php /* "Powered by WordPress. Designed by Glamorous Creations." */ ?> <?php wp_footer(); ?> </body> </html>[/color] Quote Link to comment Share on other sites More sharing options...
glamorouscreations Posted April 14, 2008 Author Share Posted April 14, 2008 (edited) thank you 1 question is there a way to also rid of this (<div id="credits"> <a href="http://wordpress.org"><img src="<?php bloginfo('template_url'); ?>/images/wp-logo.jpg" alt="WordPress" title="Powered by WordPress" /></a> <a href="http://www.glamorouscreations.com"><img src="<?php bloginfo('template_url'); ?>/images/cureless-logo.jpg" alt="Glamor" title="Fantasy WordPress Theme by Glamorous Creations" /></a> </div>) , since most of this is copyright and credit info which i only wanna do text, now once i change this do i need to edit the style.css file as well? again thank you Edited April 14, 2008 by glamorouscreations Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted April 14, 2008 Share Posted April 14, 2008 Sure just delete from the to the Quote Link to comment Share on other sites More sharing options...
glamorouscreations Posted April 14, 2008 Author Share Posted April 14, 2008 (edited) ok now when this is done and i resave the footer how do i add the text and credit links where all that used to be located? cause i dont want none of that there at all i was thinking of adding a text widget to the sidebar area for the login , the rss and thats pretty much it this way all at bottom will be my copyright info and the graphic credit info. again thank you Edited April 14, 2008 by glamorouscreations Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted April 14, 2008 Share Posted April 14, 2008 Why didn't (or don't) you just replace what's there? It's just like editing any HTML document. Quote Link to comment Share on other sites More sharing options...
glamorouscreations Posted April 14, 2008 Author Share Posted April 14, 2008 oh i did i took what u was very kind to give me the code and i will upload it and see what happens. thank you Quote Link to comment Share on other sites More sharing options...
glamorouscreations Posted April 15, 2008 Author Share Posted April 15, 2008 hi bruce thank you what u give me worked very well but i really want to links section gone and the meta section gone ...and then just want to add plain text links for my copyright to me and my grsphics owner.....so if u could help me with that and do i need to add something to the style css file as well like i want just reg text like this below Theme Fantasy Designed By Glamorous Creations, Copyright ©2008-2009 to Glamorous Creations Graphics Designed by Penny Parker (with link attached to the text) thank you so how do i add this? Quote Link to comment Share on other sites More sharing options...
TCH-Thomas Posted April 15, 2008 Share Posted April 15, 2008 To have links and meta removed, I believe you should remove this from the modified code, Bruce posted above: ><li id="links"> <h2>Links</h2> <ul> <?php get_links('-1', '<li>', '</li>', '<br />', FALSE, 'name', FALSE, FALSE, -1, FALSE); ?> </ul> </li> <li id="meta"> <h2>Meta</h2> <ul> <?php wp_register(); ?> <li><?php wp_loginout(); ?></li> <?php wp_meta(); ?> </ul> </li> As always, backup first if anything goes wrong. Quote Link to comment Share on other sites More sharing options...
glamorouscreations Posted April 15, 2008 Author Share Posted April 15, 2008 thank you once all this is done how do i add plain text links for my copyright to me and my graphics owner.....so if u could help me with that and also do i need to add something to the style css file as well like i want just reg text like this below Theme Fantasy Designed By Glamorous Creations, Copyright ©2008-2009 to Glamorous Creations Graphics Designed by Penny Parker (with link attached to the text) thank you so how do i add this? Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted April 15, 2008 Share Posted April 15, 2008 You add the links just as you would in any HTML file. ><a href="http://your-link-here">Your text here</a> Just insert it into the document where you want it to appear. Where the WordPress links were would be a good place. Just change the text and links to what you want it to say. Quote Link to comment Share on other sites More sharing options...
glamorouscreations Posted April 15, 2008 Author Share Posted April 15, 2008 thank you but got a small question, for you and thomas, the code below , is this save to remove and replace with this code, if so then i do thank you for everyones help. i do have a widget question i spent time yesterday trying to figure out how to add a widget but the new wordpress 2.5 doesnt show how to do this it says click add and i do but nothing shows up ....so not sure how to add my text to it such my rss and login info , on my sidebar..... other then that im just about done with this theme and prepared to publish to the web searches and stuff.... again thank you so much. ><a href="http://your-link-here">Your text here</a> > <ul id="footer-links"> <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(2) ) : else : ?> <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?> <li id="links"> <h2>Links</h2> <ul> <?php get_links('-1', '<li>', '</li>', '<br />', FALSE, 'name', FALSE, FALSE, -1, FALSE); ?> </ul> </li> <li id="meta"> <h2>Meta</h2> <ul> <?php wp_register(); ?> <li><?php wp_loginout(); ?></li> <?php wp_meta(); ?> </ul> </li> <?php } ?> <?php endif; /* end of dynamic sidebar */ ?> </ul> <div id="credits"> <a href="http://wordpress.org"><img src="<?php bloginfo('template_url'); ?>/images/wp-logo.jpg" alt="WordPress" title="Powered by WordPress" /></a> <a href="http://www.glamorouscreations.com"><img src="<?php bloginfo('template_url'); ?>/images/cureless-logo.jpg" alt="Glamor" title="Fantasy WordPress Theme by Glamorous Creations" /></a> </div> Quote Link to comment Share on other sites More sharing options...
TCH-Bruce Posted April 15, 2008 Share Posted April 15, 2008 You are asking development quesitons. We use WordPress but are by no means experts at creating templates. In fact, I use a template that someone else created. I have not tried to create my own because it is just too time consuming. I've offered all the help I can. Quote Link to comment Share on other sites More sharing options...
glamorouscreations Posted April 15, 2008 Author Share Posted April 15, 2008 thank you i finally got it to all work out ....im very appreciative for all your help. ill be doing some more research on adding a widget to my sidebar Quote Link to comment Share on other sites More sharing options...
glamorouscreations Posted April 15, 2008 Author Share Posted April 15, 2008 i have learned sooo much from everyone here. i want to say THANK YOU THOMAS, BRUCE AND ALL TCH STAFF. I have added new sidebars to without asking for help ive learned sooo much and want to thank you again. Quote Link to comment Share on other sites More sharing options...
TCH-Thomas Posted April 15, 2008 Share Posted April 15, 2008 You´re welcome. As Bruce I use a theme from someone else too, but with a little trial and error you can do pretty much anything with the themes. Modifying anything else I try to stay out of. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.