Thrilling Theme – How to change order or Sidebar Widgets (not drop and drop)
-
My website is https://www.juzzwright.com. I installed Thrilling Theme a free theme based around WhooThemes template.
I want to edit some pre-built in sidebar widgets and also change the order. I can’t do by dragging and dropping to change order under ‘widget’s because these widgets came built in with the theme. I think i need to do it by changing some code but have no idea what to do.
Any help will be much appreciated, thanks.
-
go to sidebar.php file and remove the required code… if you could tell me what all you want to remove then i would help you out ??
Hi Wrool, thanks for the help ??
I changed my theme for juzzwright.com because i couldn’t figure out how to change the side bar with the other theme but still want to use it in the future so please just refer to juzzwright.info for the site i want help with please.
I want to delete the ‘Subscribe to JuzzWright.info’ widget at the top. I want to put the ‘sign up’ text widget at the top. I also want to keep the ‘featured, popular, comments topics’ widget and also the ‘search this site’ widget (both come with the theme so i cant just rearrange the order in widgets in wordpress) but i may want to put other widgets on top of it but i can do that because all the widgets i add in the widgets section in wordpress go under the ‘built in’ widgets automattically.
If you can understand what im saying and there is an easy way to help me with that then great. Else if push comes to shove do you mind just telling me how i can delete ALL of the built in widgets so i can just start from stratch.
The sidebar.php code is :
<div id=”sidebar” class=”grid_6″>
<?php include(‘ads/ads-management.php’); ?>
<div class=”widget” id=”subform”>
<h4 style=”font-size: 22px; font-weight: bold; letter-spacing: -1px;”>Subscribe to <?php bloginfo(‘name’); ?>:</h4>
“” ) { echo stripslashes(htmlspecialchars(get_option(‘thrill_feedburner_url’))); } else { echo get_bloginfo_rss(‘rss2_url’); } ?>” title=”Subscribe to the RSS feed”><img border=”0″ style=”float: left; vertical-align: middle; padding-right: 10px;” src=”<?php bloginfo(‘template_directory’); ?>/images/ico-rss-trans.png” alt=”RSS”/>
<p style=”padding: 5px 0pt;”> “” ) { echo stripslashes(htmlspecialchars(get_option(‘thrill_feedburner_url’))); } else { echo get_bloginfo_rss(‘rss2_url’); } ?>” title=”Subscribe to updates via RSS”>Grab the RSS feed for Free Updates!
(What’s this? — Learn more about RSS)</p>
<?php if ( get_option(‘thrill_feedburner_id’) <> “” ) { ?><br style=”clear: both;” />” title=”Get email updates delivered to your email inbox!”><img border=”0″ style=”float: left; vertical-align: middle; padding-right: 10px;” src=”<?php bloginfo(‘template_directory’); ?>/images/mail-forward-trans.png” alt=”subscribe”/>
<p style=”padding: 5px 0pt;”>OR Get blog updates sent directly to your inbox by entering your email address below:</p>
<form action=”https://feedburner.google.com/fb/a/mailverify” method=”post” target=”popupwindow” onsubmit=”window.open(‘https://feedburner.google.com/fb/a/mailverify?uri=<?php $feedburner_id = get_option(‘thrill_feedburner_id’); echo $feedburner_id; ?>’, ‘popupwindow’, ‘scrollbars=yes,width=550,height=520’);return true” style=”text-align: center;”>
<input type=”text” name=”email” style=”width: 140px;”/>
<input type=”hidden” value=”<?php $feedburner_id = get_option(‘thrill_feedburner_id’); echo $feedburner_id; ?>” name=”uri”/>
<input type=”hidden” name=”loc” value=”en_US”/>
<input type=”submit” value=”Subscribe” onmouseover=”style.cursor=’pointer'” style=”margin: 5px; cursor: pointer;”/>
</form><?php } else {} ?>
</div><!–/widget–><div class=”box2″>
<ul class=”idTabs”>
- Featured
- Popular
- Comments
- Topics
- ” href=”<?php the_permalink() ?>” rel=”bookmark”><?php the_title(); ?>
<div class=”spacer white”>
<ul class=”list1″ id=”feat”>
<?php
include(TEMPLATEPATH . ‘/includes/version.php’);
$the_query = new WP_Query(‘cat=’ . $ex_feat . ‘&showposts=10&orderby=post_date&order=desc’);
while ($the_query->have_posts()) : $the_query->the_post(); $do_not_duplicate = $post->ID;
?><?php endwhile; ?>
<ul class=”list1″ id=”pop”>
<?php include(TEMPLATEPATH . ‘/includes/popular.php’ ); ?><ul class=”list1″ id=”comm”>
<?php include(TEMPLATEPATH . ‘/includes/comments.php’ ); ?><div class=”list1″ id=”tagcloud”>
<?php wp_tag_cloud(‘smallest=10&largest=22’); ?>
</div></div>
<!–/spacer –></div>
<!–/box2 –><div class=”widget”>
<img border=”0″ style=”float: left; vertical-align: middle; padding: 6px 10px 0 0;” alt=”search” src=”<?php bloginfo(‘template_directory’); ?>/images/search-trans.png”/>
<h4 style=”font-size: 20px; font-weight: bold; letter-spacing: -1px;”>Search the Site:</h4>
<form action=”<?php echo get_option(‘home’); ?>” method=”get” id=”searchform”>
<input type=”text” value=”” size=”” id=”s” name=”s”/>
<input type=”submit” onmouseover=”style.cursor=’pointer'” value=”Search” style=”cursor: pointer;”/>
</form></div><!–/widget–>
<div id=”adsection”>
<?php include(‘ads/ads-top.php’); ?>
</div><?php if (get_option(‘thrill_twit_id’) != “”) { ?>
<div class=”widget”>
<div class=”spacer”><h2><img src=”<?php bloginfo(‘template_directory’); ?>/images/twitter-trans.png” style=”margin: -5px 5px -5px -5px;” alt=”” />Twitter Updates</h2>
<span class=”author_photo” style=”float: right; margin: 0 0 0 8px;”>“><img src=”<?php echo stripslashes(htmlspecialchars(get_option(‘thrill_twit_photo’))); ?>” width=”48″ height=”48″ alt=”” /></span>
<?php
// Your twitter username.
$username = get_option(‘thrill_twit_id’);
// (HTML is OK, but be sure to escape quotes with backslashes: for example href=\”link.html\”)
$prefix = “”;
// Suffix – some text you want display after your latest tweet. (Same rules as the prefix.)
$suffix = “”;
$feed = “https://search.twitter.com/search.atom?q=from:” . $username . “&rpp=3”;
function parse_feed($feed) {
$stepOne = explode(“<content type=\”html\”>”, $feed);
$stepTwo = explode(“</content>”, $stepOne[1]);
$tweet = $stepTwo[0];
$tweet = str_replace(“<“, “<“, $tweet);
$tweet = str_replace(“>”, “>”, $tweet);
$tweet = str_replace(“&”, “&”, $tweet);
$tweet = str_replace(‘"’, ‘”‘, $tweet);
return $tweet;
}
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $feed);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$twitterFeed = curl_exec($ch);
curl_close($ch);
echo stripslashes($prefix) . parse_feed($twitterFeed) . stripslashes($suffix);
?>
<br style=”clear: both;” /><h3 style=”margin-top: 10px;”>” style=”color: #363636;”>Follow @<?php echo stripslashes(htmlspecialchars(get_option(‘thrill_twit_id’))); ?> on Twitter→</h3>
</div>
</div><?php } ?>
<?php if (function_exists(‘dynamic_sidebar’) && dynamic_sidebar(1) ) : else : ?>
<?php endif; ?>
<?php if (get_option(‘thrill_flickr_id’) != “”) { ?>
<div class=”box2″>
<div class=”top”></div>
<div class=”spacer flickr”>
<h3>/” title=””><span style=”color:#363636″>My Latest </span><span style=”color:#0063DC”>Flick</span><span style=”color:#FF0084″>r</span><span style=”color:#363636″> photos</span></h3>
<script type=”text/javascript” src=”https://www.flickr.com/badge_code_v2.gne?count=<?php echo stripslashes(htmlspecialchars(get_option(‘thrill_flickr_entries’))); ?>&display=latest&size=s&layout=x&source=user&user=<?php echo stripslashes(htmlspecialchars(get_option(‘thrill_flickr_id’))); ?>”></script>
</div><!–/spacer –>
<div class=”fix”></div>
<div class=”bot”></div>
</div>
<!–/box2 –><?php } ?>
<?php include(‘ads/ads-300×250.php’); ?>
<div class=”grid_3 alpha”>
<?php if (function_exists(‘dynamic_sidebar’) && dynamic_sidebar(2) ) : else : ?>
<?php endif; ?>
</div><!–/grid_3 alpha–>
<div class=”grid_3 omega”>
<?php if (function_exists(‘dynamic_sidebar’) && dynamic_sidebar(3) ) : else : ?>
<?php endif; ?>
</div><!–/grid_3 omega–>
</div><!–/sidebar–>
<div class=”fix”></div>
Thanks for you help
- The topic ‘Thrilling Theme – How to change order or Sidebar Widgets (not drop and drop)’ is closed to new replies.