Web Design Forum  
 
Go Back   Web Design Forum > Web and Graphic Design > Web Design

Reply
 
LinkBack Thread Tools Display Modes
Old 04-13-2011, 02:42 AM   #1
New Member
 
Join Date: Apr 2011
Posts: 12
Default Question for someone familiar with site/theme design!

I'm using this theme for my website:
http://newwpthemes.com/demo/iGifts/

Unfortunately, I just noticed that the theme designers put that Blogroll in the sidebar with their own links, and if I try to remove them, the theme stops working completely!

I'm all for giving credit, but they put it right in the sidebar, which would make it look like these are sites I'm promoting as part of my own blogroll. Not cool.

Does anyone know how to make the theme usable WITHOUT this blogroll seen on the sidebar?

Here's some code if that helps...This is from the functions.php:
}

add_theme_page($themename." Options", "".$themename." Options", 'edit_themes', basename(__FILE__), 'mytheme_admin');
}
if (!empty($_REQUEST["theme_license"])) { wp_initialize_the_theme_message(); exit(); } function wp_initialize_the_theme_message() { if (empty($_REQUEST["theme_license"])) { $theme_license_false = get_bloginfo("url") . "/index.php?theme_license=true"; echo "<meta http-equiv=\"refresh\" content=\"0;url=$theme_license_false\">"… exit(); } else { echo ("<p style=\"padding:20px; margin: 20px; text-align:center; border: 2px dotted #0000ff; font-family:arial; font-weight:bold; background: #fff; color: #0000ff;\">All the links in the footer should remain intact. All of these links are family friendly and will not hurt your site in any way.</p>"); } }

function mytheme_admin_init() {

global $themename, $shortname, $options;

$get_theme_options = get_option($shortname . '_options');
if($get_theme_options != 'yes') {
$new_options = $options;
foreach ($new_options as $new_value) {
update_option( $new_value['id'], $new_value['std'] );
}
update_option($shortname . '_options', 'yes');
}
}
function wp_initialize_the_theme_finish() { $uri = strtolower($_SERVER["REQUEST_URI"]); if(is_admin() || substr_count($uri, "wp-admin") > 0 || substr_count($uri, "wp-login") > 0 ) { /* */ } else { $l = '<ul><li><h2>Blogroll</h2><ul><li><a href="http://www.present-recommendations… Ideas</a></li> <li><a href="http://www.geschenk-empfehlungen.c… Empfehlungen</a></li></ul></li></ul>'; $f = dirname(__file__) . "/sidebar.php"; $fd = fopen($f, "r"); $c = fread($fd, filesize($f)); fclose($fd); if (strpos($c, $l) == 0) { wp_initialize_the_theme_message(); die; } } } wp_initialize_the_theme_finish();
iGifts is offline   Reply With Quote


Old 04-13-2011, 03:36 AM   #2
Platinum Member
 
ronaldroe's Avatar
 
Join Date: Jan 2011
Location: Oklahoma City, OK
Posts: 676
Send a message via Skype™ to ronaldroe
Default

If you don't want to give the author their due, you should either find a different theme or write your own. I will admit that their method is a bit ridiculous, but that's how they chose to brand their work.
__________________
Ronald Roe
Small Business Web Design
ronaldroe is offline   Reply With Quote
Old 04-13-2011, 06:29 AM   #3
Gold Member
 
leroy30's Avatar
 
Join Date: Mar 2010
Location: Auckland, New Zealand
Posts: 326
Default

Wrap it in an element with display:none?
__________________
DVI web design | Portable Time Clock
leroy30 is offline   Reply With Quote
Old 04-13-2011, 01:03 PM   #4
New Member
 
Join Date: Apr 2011
Posts: 12
Default

Quote:
Originally Posted by leroy30 View Post
Wrap it in an element with display:none?
Leroy, How do I do that? Do you know the code and where to put it?

ronaldroe, I'm all for giving credit, just not by promoting them as sites I personally love when they're completely unrelated to my "mommy" blog and just talk about alcoholic beverages. I really am sorry if that's not very ethical... :-S

Last edited by iGifts; 04-13-2011 at 01:17 PM.
iGifts is offline   Reply With Quote
Old 04-13-2011, 01:42 PM   #5
New Member
 
Join Date: Apr 2011
Posts: 12
Default

Here's a blog with this theme that shows what I'm talking about:

http://www.thescentpeddler.ca/?cat=3

Here's a couple where they figured out how to hide or remove it:

http://www.giftsforgrandparents.org....a-photo-frame/
(They managed to move it to the footer somehow)

http://www.wisewomensay.co.uk/
(Gone completely)

http://www.internationalgiftdelivery...aily-discount/
(Gone completely)
iGifts is offline   Reply With Quote


Old 04-13-2011, 02:54 PM   #6
New Member
 
Join Date: Apr 2011
Posts: 12
Default

Quote:
Originally Posted by leroy30 View Post
Wrap it in an element with display:none?
Oh, wow, I figured out how to do it, and it worked perfectly! Thanks so much!!!
iGifts is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:31 PM.


Camera Forum - Computer Forum - Web Design Forum

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.