<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>scriptygoddess &#187; WordPress Bookmarks</title>
	<atom:link href="http://www.scriptygoddess.com/archives/category/wordpress/wordpress-bookmarks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scriptygoddess.com</link>
	<description></description>
	<lastBuildDate>Thu, 08 Dec 2011 18:23:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Listing subpages in WordPress</title>
		<link>http://www.scriptygoddess.com/archives/2007/04/30/listing-subpages-in-wordpress/</link>
		<comments>http://www.scriptygoddess.com/archives/2007/04/30/listing-subpages-in-wordpress/#comments</comments>
		<pubDate>Tue, 01 May 2007 01:59:41 +0000</pubDate>
		<dc:creator>Jennifer</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Bookmarks]]></category>
		<category><![CDATA[WordPress Hacks]]></category>

		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2007/04/30/listing-subpages-in-wordpress/</guid>
		<description><![CDATA[I was looking for a way to list sub pages in a navigation bar if you were either on the &#034;parent&#034; page or one of it&#039;s sub pages. I found this page on Clioweb that was perfect. What&#039;s also nice is that it gives you the variable $parent_id to play with if you need to. [...]
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I was looking for a way to list sub pages in a navigation bar if you were either on the &#034;parent&#034; page or one of it&#039;s sub pages. I found <a href="http://clioweb.org/archive/2006/08/24/listing-pages-with-wordpress/">this page</a> on <a href="http://clioweb.org">Clioweb</a> that was perfect.</p>
<p>What&#039;s also nice is that it gives you the variable <strong>$parent_id</strong> to play with if you need to. Copied from his site:</p>
<p><code>&lt;?php<br />
$page = $wp_query-&gt;post;<br />
$parent_id = $wpdb-&gt;get_var("SELECT ID FROM $wpdb-&gt;posts WHERE ID ='$page-&gt;post_parent;'");<br />
if(!$parent_id) $parent_id = $post-&gt;ID;<br />
?&gt;</code></p>
<p>Then, to actually generate the HTML for the page list, I use the following code in the body of my page template:</p>
<p><code>&lt;?php if(wp_list_pages("child_of=".$parent_id."&#038;echo=0")): ?&gt;<br />
&lt;ul id="subnav"&gt;<br />
&lt;?php wp_list_pages("title_li=&#038;child_of=".$parent_id."&#038;sort_column=menu_order&#038;depth=1");?&gt;<br />
&lt;/ul&gt;<br />
&lt;?php endif; ?&gt;</code></p>
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.scriptygoddess.com/archives/2007/04/30/listing-subpages-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>WordPress: Make home page show latest post (in the &quot;single post&quot; format)</title>
		<link>http://www.scriptygoddess.com/archives/2007/04/28/wordpress-make-home-page-show-latest-post-in-the-single-post-format/</link>
		<comments>http://www.scriptygoddess.com/archives/2007/04/28/wordpress-make-home-page-show-latest-post-in-the-single-post-format/#comments</comments>
		<pubDate>Sat, 28 Apr 2007 07:05:09 +0000</pubDate>
		<dc:creator>Jennifer</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Bookmarks]]></category>
		<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[WordPress: Lessons Learned]]></category>

		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2007/04/28/wordpress-make-home-page-show-latest-post-in-the-single-post-format/</guid>
		<description><![CDATA[In a custom wordpress theme design I was working on tonight, I was trying to do as the title describes &#8211; make the home page show only one post (yes I know there&#039;s already a built in way to do this) but I wanted it to show up the same way the single view shows [...]
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>In a custom wordpress theme design I was working on tonight, I was trying to do as the title describes &#8211; make the home page show only one post (yes I know there&#039;s already a built in way to do this) but I wanted it to show up the same way the single view shows it &#8211; with the comments expanded and the comments form visible, etc. If you know of another/better way to do this, please say so in the comments. But this DID do the trick. I found <a href="http://wordpress.org/support/topic/110676">this page</a> in the support archives. The idea was to create your index.php to look like you wanted (ie. exactly like the &#034;single.php&#034; page) but add this before you start the loop:</p>
<p><code>&lt;?php<br />
      $i=0; // Initialize to Zero;<br />
      if (have_posts()) :<br />
        while (have_posts()) : the_post();<br />
            if ($i==0) {$recentpostid = $post-&gt;ID; $i=$i+1;}<br />
        endwhile;<br />
      endif;<br />
      //get only the latest post<br />
      $posts = query_posts( 'p='.$recentpostid."'");<br />
?&gt;</code></p>
<p>and then you start your loop like you normally would&#8230;</p>
<p><code>&lt;?php if (have_posts()) : while (have_posts()) : the_post(); ?&gt;</code></p>
<p>Worked for me!</p>
<p><strong>Update</strong> As Danny pointed out in the comments &#8211; there&#039;s a simpler way to do this. Put the following code on the page (I put it before the loop and it worked)<br />
<code>&lt;?php $wp_query-&gt;is_single = true; ?&gt;</code><br />
Much simpler <img src='http://www.scriptygoddess.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.scriptygoddess.com/archives/2007/04/28/wordpress-make-home-page-show-latest-post-in-the-single-post-format/feed/</wfw:commentRss>
		<slash:comments>50</slash:comments>
		</item>
		<item>
		<title>Plugin Competition</title>
		<link>http://www.scriptygoddess.com/archives/2005/05/07/plugin-competition/</link>
		<comments>http://www.scriptygoddess.com/archives/2005/05/07/plugin-competition/#comments</comments>
		<pubDate>Sat, 07 May 2005 13:02:04 +0000</pubDate>
		<dc:creator>Jennifer</dc:creator>
				<category><![CDATA[WordPress Bookmarks]]></category>

		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2005/05/07/plugin-competition/</guid>
		<description><![CDATA[While I *really* wish I could enter into the WordPress plugin contest &#8211; the fact of the matter is my schedule doesn&#039;t open up until next month &#8211; after the contest has closed for judging. But it sounds like it will be run again &#8211; so I should be able to enter it next time. [...]
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>While I *really* wish I could enter into the <a href="http://weblogtoolscollection.com/pluginblog/">WordPress plugin contest</a> &#8211; the fact of the matter is my schedule doesn&#039;t open up until next month &#8211; after the contest has closed for judging. But it sounds like it will be run again &#8211; so I should be able to enter it next time.</p>
<p>In any case &#8211; if I need ideas for plugins to &#034;get back into the swing&#034; &#8211; hopefully this &#034;<a href="http://weblogtoolscollection.com/pluginblog/category/developer-wanted/">developers wanted</a>&#034; list will still be up and running in June.</p>
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.scriptygoddess.com/archives/2005/05/07/plugin-competition/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Spam Bot Protection Measure</title>
		<link>http://www.scriptygoddess.com/archives/2004/12/30/spam-bot-protection-measure/</link>
		<comments>http://www.scriptygoddess.com/archives/2004/12/30/spam-bot-protection-measure/#comments</comments>
		<pubDate>Thu, 30 Dec 2004 17:52:45 +0000</pubDate>
		<dc:creator>Jennifer</dc:creator>
				<category><![CDATA[WordPress Bookmarks]]></category>

		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2004/12/30/spam-bot-protection-measure/</guid>
		<description><![CDATA[Here&#039;s a few steps you can do to protect against some of the spambots: Master-SpamBot IP, deny this! [found via weblogtoolscollection] No related posts. Related posts brought to you by Yet Another Related Posts Plugin.
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Here&#039;s a few steps you can do to protect against some of the spambots:</p>
<p><a href="http://www.carelessthought.com/index.php?p=616">Master-SpamBot IP, deny this!</a><br />
[found via <a href="http://weblogtoolscollection.com/">weblogtoolscollection</a>]</p>
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.scriptygoddess.com/archives/2004/12/30/spam-bot-protection-measure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Script to rename wp-admin folder</title>
		<link>http://www.scriptygoddess.com/archives/2004/12/30/script-to-rename-wp-admin-folder/</link>
		<comments>http://www.scriptygoddess.com/archives/2004/12/30/script-to-rename-wp-admin-folder/#comments</comments>
		<pubDate>Thu, 30 Dec 2004 16:25:33 +0000</pubDate>
		<dc:creator>Jennifer</dc:creator>
				<category><![CDATA[WordPress Bookmarks]]></category>

		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2004/12/30/script-to-rename-wp-admin-folder/</guid>
		<description><![CDATA[JD just sent me this link to his site: Script to rename your wp-admin folder. As he says &#8211; it&#039;s not a foolproof method to protect your site, but certainly not a bad idea. No related posts. Related posts brought to you by Yet Another Related Posts Plugin.
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>JD just sent me this link to his site:</p>
<p><a href="http://jdk.phpkid.org/index.php?p=1127.">Script to rename your wp-admin folder.</a><br />
As he says &#8211; it&#039;s not a foolproof method to protect your site, but certainly not a bad idea.</p>
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.scriptygoddess.com/archives/2004/12/30/script-to-rename-wp-admin-folder/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>A few good links</title>
		<link>http://www.scriptygoddess.com/archives/2004/12/28/a-few-good-links/</link>
		<comments>http://www.scriptygoddess.com/archives/2004/12/28/a-few-good-links/#comments</comments>
		<pubDate>Tue, 28 Dec 2004 20:26:53 +0000</pubDate>
		<dc:creator>Jennifer</dc:creator>
				<category><![CDATA[Bookmarks]]></category>
		<category><![CDATA[WordPress Bookmarks]]></category>

		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2004/12/28/a-few-good-links/</guid>
		<description><![CDATA[UploadBin Kind of like pastebin &#8211; but for files, and Mark offers it up so you can download and host it on your own server. wp-hashcash A version of Spam Stopgam Extreme. [seen on a lot of sites, but most recently on PhotoMatt and Weblogtoolscollection] WordPress &#034;Suggest&#034; plugin Kind of like &#034;Google&#039;s Suggest&#034; feature &#8211; [...]
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><a href="http://weblogtoolscollection.com/archives/2004/12/22/uploadbin-your-own-public-upload-repository/">UploadBin</a><br />
Kind of like <a href="http://paste.uni.cc/">pastebin</a> &#8211; but for files, and Mark offers it up so you can download and host it on your own server.</p>
<p><a href="http://dev.wp-plugins.org/browser/wp-hashcash/trunk/">wp-hashcash</a><br />
A version of <a href="http://elliottback.com/wp/archives/2004/11/29/spam-stopgap-extreme/">Spam Stopgam Extreme</a>.<br />
[seen on a lot of sites, but most recently on <a href="http://photomatt.net/">PhotoMatt</a> and <a href="http://weblogtoolscollection.com/">Weblogtoolscollection</a>]</p>
<p><a href="http://blog.linsin.de/index.php/archives/2004/12/23/wordpress-plugin-suggest/">WordPress &#034;Suggest&#034; plugin<br />
</a>Kind of like &#034;Google&#039;s Suggest&#034; feature &#8211; for WordPress Searches.<br />
[<a href="http://www.bloggingpro.com/">blogginpro</a>]</p>
<p><a href="http://www.navidazimi.com/projects/wp-lists/">WP-lists Plugin</a><br />
Centralized List management (through wordpress?)<br />
[<a href="http://www.bloggingpro.com/">blogginpro</a>]</p>
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.scriptygoddess.com/archives/2004/12/28/a-few-good-links/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Red Alt &#8211; WordPress Index Builder</title>
		<link>http://www.scriptygoddess.com/archives/2004/11/21/red-alt-wordpress-index-builder/</link>
		<comments>http://www.scriptygoddess.com/archives/2004/11/21/red-alt-wordpress-index-builder/#comments</comments>
		<pubDate>Mon, 22 Nov 2004 02:44:25 +0000</pubDate>
		<dc:creator>Jennifer</dc:creator>
				<category><![CDATA[WordPress Bookmarks]]></category>

		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2004/11/21/red-alt-wordpress-index-builder/</guid>
		<description><![CDATA[Red Alt &#8211; WordPress Index Builder No related posts. Related posts brought to you by Yet Another Related Posts Plugin.
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.redalt.com/Tools/builder.php">Red Alt &#8211; WordPress Index Builder</a></p>
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.scriptygoddess.com/archives/2004/11/21/red-alt-wordpress-index-builder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Design Sandbox</title>
		<link>http://www.scriptygoddess.com/archives/2004/11/12/wordpress-design-sandbox/</link>
		<comments>http://www.scriptygoddess.com/archives/2004/11/12/wordpress-design-sandbox/#comments</comments>
		<pubDate>Fri, 12 Nov 2004 23:59:39 +0000</pubDate>
		<dc:creator>Jennifer</dc:creator>
				<category><![CDATA[WordPress Bookmarks]]></category>

		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2004/11/12/wordpress-design-sandbox/</guid>
		<description><![CDATA[WordPress Design Sandbox If you want to work on a design for your WordPress blog, here&#039;s a static version of the default layout so you can tweak the stylesheet locally. Great idea. [via WeblogToolsCollection] No related posts. Related posts brought to you by Yet Another Related Posts Plugin.
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><a href="http://elasticdog.com/2004/11/wp-design-sandbox/">WordPress Design Sandbox</a><br />
If you want to work on a design for your WordPress blog, here&#039;s a static version of the default layout so you can tweak the stylesheet locally. Great idea.<br />
[via <a href="http://weblogtoolscollection.com/">WeblogToolsCollection</a>]</p>
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.scriptygoddess.com/archives/2004/11/12/wordpress-design-sandbox/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Anatomy of a WordPress Theme</title>
		<link>http://www.scriptygoddess.com/archives/2004/11/11/anatomy-of-a-wordpress-theme/</link>
		<comments>http://www.scriptygoddess.com/archives/2004/11/11/anatomy-of-a-wordpress-theme/#comments</comments>
		<pubDate>Fri, 12 Nov 2004 03:45:27 +0000</pubDate>
		<dc:creator>Jennifer</dc:creator>
				<category><![CDATA[WordPress Bookmarks]]></category>

		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2004/11/11/anatomy-of-a-wordpress-theme/</guid>
		<description><![CDATA[This link is going around &#8211; but I still want to save it for myself&#8230; Anatomy of WordPress theme A list of templates that you can create for a theme (for WordPress 1.3) No related posts. Related posts brought to you by Yet Another Related Posts Plugin.
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>This link is going around &#8211; but I still want to save it for myself&#8230;</p>
<p><a href="http://boren.nu/archives/2004/11/10/anatomy-of-a-wordpress-theme/">Anatomy of WordPress theme</a><br />
A list of templates that you can create for a theme (for WordPress 1.3)</p>
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.scriptygoddess.com/archives/2004/11/11/anatomy-of-a-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Blocking Proxy-IP based Spam</title>
		<link>http://www.scriptygoddess.com/archives/2004/11/05/blocking-proxy-ip-based-spam/</link>
		<comments>http://www.scriptygoddess.com/archives/2004/11/05/blocking-proxy-ip-based-spam/#comments</comments>
		<pubDate>Fri, 05 Nov 2004 11:56:44 +0000</pubDate>
		<dc:creator>Jennifer</dc:creator>
				<category><![CDATA[WordPress Bookmarks]]></category>

		<guid isPermaLink="false">http://www.scriptygoddess.com/archives/2004/11/05/blocking-proxy-ip-based-spam/</guid>
		<description><![CDATA[There&#039;s a number of anti-spam tricks floating around. I will hopefully be compiling a list of the most interesting ones very soon for my own reference. In the meantime, this one seems like a simple enough hit that can get rid of quite a bit: (As posted on the Daily Irrelevant) &#8230;If your IP address [...]
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>There&#039;s a number of anti-spam tricks floating around. I will hopefully be compiling a list of the most interesting ones very soon for my own reference. In the meantime, this one seems like a simple enough  hit that can get rid of quite a bit:</p>
<p>(As posted on <a href="http://weblog.sinteur.com/index.php?p=7967">the Daily Irrelevant</a>) &#8230;<em>If your IP address is on a list of known open proxies (mostly used by email spammers, but recently by comment-spammers as well) you will not be able to post comments.</em></p>
<p>[via <a href="http://photomatt.net/">Matt</a>]</p>
<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.scriptygoddess.com/archives/2004/11/05/blocking-proxy-ip-based-spam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

