<?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>Custom Fields Archives - Nick Shaw</title>
	<atom:link href="https://www.nick-shaw.co.uk/tag/custom-fields/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description></description>
	<lastBuildDate>Fri, 18 Nov 2016 18:02:19 +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>Woocommerce custom field under product title on product category page</title>
		<link>https://www.nick-shaw.co.uk/woocommerce-custom-field-product-title-product-category-page/</link>
					<comments>https://www.nick-shaw.co.uk/woocommerce-custom-field-product-title-product-category-page/#respond</comments>
		
		<dc:creator><![CDATA[Nick]]></dc:creator>
		<pubDate>Fri, 18 Nov 2016 18:02:19 +0000</pubDate>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Custom Fields]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Shortcode]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://www.nick-shaw.co.uk/?p=2091</guid>

					<description><![CDATA[<p>Add Advanced Custom Field below the Woocommerce product title called &#8216;strapline&#8217; on the product category page. You can then style second-tile class to make it look different.</p>
<p>The post <a href="https://www.nick-shaw.co.uk/woocommerce-custom-field-product-title-product-category-page/">Woocommerce custom field under product title on product category page</a> appeared first on <a href="https://www.nick-shaw.co.uk">Nick Shaw</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Add Advanced Custom Field below the Woocommerce product title called &#8216;strapline&#8217; on the product category page.<br />
You can then style second-tile class to make it look different.</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php 
//add cubtitle under product name
function nssecondtitle() { ?&gt;
&lt;div class=&quot;second-tile&quot;&gt;&lt;?php echo get_post_meta(get_the_ID(), &quot;strapline&quot;, true); ?&gt;&lt;/div&gt;
&lt;?php }
add_action( 'woocommerce_after_shop_loop_item_title', 'nssecondtitle', 6 );
?&gt;
</pre>
<p>The post <a href="https://www.nick-shaw.co.uk/woocommerce-custom-field-product-title-product-category-page/">Woocommerce custom field under product title on product category page</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/woocommerce-custom-field-product-title-product-category-page/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2091</post-id>	</item>
		<item>
		<title>Use Shortcode in WordPress Template with Custom Fields</title>
		<link>https://www.nick-shaw.co.uk/use-shortcode-in-wordpress-template-with-custom-fields/</link>
					<comments>https://www.nick-shaw.co.uk/use-shortcode-in-wordpress-template-with-custom-fields/#respond</comments>
		
		<dc:creator><![CDATA[Nick]]></dc:creator>
		<pubDate>Wed, 30 Apr 2014 17:14:44 +0000</pubDate>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Custom Fields]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Shortcode]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">http://www.nick-shaw.co.uk/?p=1820</guid>

					<description><![CDATA[<p>This PHP allows you to use Shortcode in a WordPress template but also pull in a value from a custom field. This was used to add a shortcode for a slider to a specific page. &#60;?php $slider = get_post_meta($post-&#62;ID, 'slider', true); echo do_shortcode(''.$slider.''); ?&#62;</p>
<p>The post <a href="https://www.nick-shaw.co.uk/use-shortcode-in-wordpress-template-with-custom-fields/">Use Shortcode in WordPress Template with Custom Fields</a> appeared first on <a href="https://www.nick-shaw.co.uk">Nick Shaw</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>This PHP allows you to use Shortcode in a WordPress template but also pull in a value from a custom field.<br />
This was used to add a shortcode for a slider to a specific page.</p>
<pre class="brush: php; title: ; notranslate">

&lt;?php $slider = get_post_meta($post-&gt;ID, 'slider', true);
echo do_shortcode(''.$slider.''); ?&gt;

</pre>
<p>The post <a href="https://www.nick-shaw.co.uk/use-shortcode-in-wordpress-template-with-custom-fields/">Use Shortcode in WordPress Template with Custom Fields</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/use-shortcode-in-wordpress-template-with-custom-fields/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1820</post-id>	</item>
	</channel>
</rss>
