GarnetHGB
Forum Replies Created
-
Forum: Themes and Templates
In reply to: How can I make my theme widget aware?I’ve checked several tutorials on how to make a theme widget-aware, but I can’t see code in my ‘sidebar.php’ that comes anywhere near matching what I’m supposed to be looking for to even make a start.
Would someone be able to describe what I need to change?
Sidebar:
<? include("adsense.php"); ?> <h2>Pages</h2> <ul><?php wp_list_pages('title_li=' ); ?></ul> <h2><?php _e('Categories:'); ?></h2> <ul><?php wp_list_cats('optioncount=1'); ?></ul> <div style="padding-left:10px; padding-top:5px; padding-bottom:5px;"> <script type="text/javascript"><!-- google_ad_client = "<?=$GoogleADID?>"; google_ad_width = 160; google_ad_height = 600; google_ad_format = "160x600_as"; google_ad_type = "text_image"; google_ad_channel =""; google_color_border = "E7EBDE"; google_color_bg = "FDFBF8"; google_color_link = "676E04"; google_color_url = "8A3207"; google_color_text = "000000"; //--></script> <script type="text/javascript" src="https://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </div> <h2><label for="s"><?php _e('Search:'); ?></label></h2> <ul> <li> <form id="searchform" method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <div style="text-align:center"> <p><input type="text" name="s" id="s" size="15" /></p> <p><input type="submit" name="submit" value="<?php _e('Search'); ?>" /></p> </div> </form> </li> </ul> <h2><?php _e('Monthly:'); ?></h2> <ul><?php wp_get_archives('type=monthly&show_post_count=true'); ?></ul> <h2><?php _e('RSS Feeds:'); ?></h2> <ul> <li> <a title="RSS2 Feed for Posts" href="<?php bloginfo('rss2_url'); ?>">Posts</a> | <a title="RSS2 Feed for Comments" href="<?php bloginfo('comments_rss2_url'); ?>">Comments</a></li> </ul>
Thanks very much to anyone who may take the bother of having a go at this!
Forum: Plugins
In reply to: wpomatic duplicate posts fix for wordpress 2.8?Forum: Plugins
In reply to: wpomatic duplicate posts fix for wordpress 2.8?I’m glad I found this discussion! I’ve been building my blog by mainly following a .pdf tutorial that insisted I should have this plugin. Now I know to hold off. A shame, though.
It’s unfortunate that the new WordPress releases tend to have such dramatic overall changes where plugins are concerned.
Anyway, thanks for the warning, everyone.