<?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>Class Archives - Nick Shaw</title>
	<atom:link href="https://www.nick-shaw.co.uk/tag/class/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description></description>
	<lastBuildDate>Tue, 24 Sep 2013 16:46:15 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
<site xmlns="com-wordpress:feed-additions:1">150481139</site>	<item>
		<title>How to use the page class feature in Joomla</title>
		<link>https://www.nick-shaw.co.uk/how-to-use-the-page-class-feature-in-joomla/</link>
					<comments>https://www.nick-shaw.co.uk/how-to-use-the-page-class-feature-in-joomla/#respond</comments>
		
		<dc:creator><![CDATA[Nick]]></dc:creator>
		<pubDate>Tue, 24 Sep 2013 16:46:15 +0000</pubDate>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Class]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[PHP]]></category>
		<guid isPermaLink="false">http://www.nick-shaw.co.uk/?p=1501</guid>

					<description><![CDATA[<p>This code can be used to target pages based on the page class property in the Menu area.</p>
<p>The post <a href="https://www.nick-shaw.co.uk/how-to-use-the-page-class-feature-in-joomla/">How to use the page class feature in Joomla</a> appeared first on <a href="https://www.nick-shaw.co.uk">Nick Shaw</a>.</p>
]]></description>
										<content:encoded><![CDATA[<pre>This code can be used to target pages based on the page class property in the Menu area.
<pre class="brush: php; title: ; notranslate">
&lt;?php
$app = JFactory::getApplication('site');
$params =  &amp; $app-&gt;getParams('com_content');
$pageclass = $params-&gt;get('pageclass_sfx');
?&gt;

class=&quot;&lt;?php echo $pageclass ? $pageclass : 'default'; ?&gt;&quot;

</pre>
<p>The post <a href="https://www.nick-shaw.co.uk/how-to-use-the-page-class-feature-in-joomla/">How to use the page class feature in Joomla</a> appeared first on <a href="https://www.nick-shaw.co.uk">Nick Shaw</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.nick-shaw.co.uk/how-to-use-the-page-class-feature-in-joomla/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1501</post-id>	</item>
	</channel>
</rss>
