<?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>query &#8211; Netpad blog</title>
	<atom:link href="https://netpad.gr/tag/query/feed/" rel="self" type="application/rss+xml" />
	<link>https://netpad.gr</link>
	<description>My personal WordPress lab</description>
	<lastBuildDate>Tue, 10 Jul 2018 17:49:45 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>

<image>
	<url>https://i0.wp.com/netpad.gr/wp-content/uploads/2025/10/cropped-netpad.gr-icon.png?fit=32%2C32&#038;ssl=1</url>
	<title>query &#8211; Netpad blog</title>
	<link>https://netpad.gr</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">84609741</site>	<item>
		<title>Custom WordPress Query With pre_get_posts</title>
		<link>https://netpad.gr/custom-wordpress-query-with-pre_get_posts/</link>
					<comments>https://netpad.gr/custom-wordpress-query-with-pre_get_posts/#comments</comments>
		
		<dc:creator><![CDATA[George]]></dc:creator>
		<pubDate>Sun, 01 Mar 2015 20:24:08 +0000</pubDate>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[hooks]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[search query]]></category>
		<guid isPermaLink="false">http://netpad.gr/netpad/?p=156</guid>

					<description><![CDATA[Today i will show how you can use your custom WordPress query by simply using the hook pre_get_posts. This is an interesting hook that can modify the query before execution. As a result you can alter the WordPress query results aka the posts that come up to your blog. There are several options to do this. Whether you want to [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Today i will show how you can use your custom WordPress query by simply using the hook pre_get_posts. This is an interesting hook that can modify the query before execution. As a result you can alter the WordPress query results aka the posts that come up to your blog. There are several options to do this. Whether you want to limit the number of posts shown per page for example, or to include/</p>
<p><a href="https://netpad.gr/custom-wordpress-query-with-pre_get_posts/" rel="nofollow">Source</a></p>]]></content:encoded>
					
					<wfw:commentRss>https://netpad.gr/custom-wordpress-query-with-pre_get_posts/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">156</post-id>	</item>
	</channel>
</rss>
