<?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>Fields &#8211; Coding Chicken</title>
	<atom:link href="https://codingchicken.com/docs-category/fields/feed/" rel="self" type="application/rss+xml" />
	<link>https://codingchicken.com</link>
	<description>Building Awesome Things for WordPress</description>
	<lastBuildDate>Sat, 23 Dec 2023 01:17:28 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>Gallery Field</title>
		<link>https://codingchicken.com/docs/gallery-field/</link>
					<comments>https://codingchicken.com/docs/gallery-field/#respond</comments>
		
		<dc:creator><![CDATA[chyland]]></dc:creator>
		<pubDate>Sat, 23 Dec 2023 01:17:28 +0000</pubDate>
				<guid isPermaLink="false">https://codingchicken.com/?post_type=docs&#038;p=519</guid>

					<description><![CDATA[Importing both single and multiple images is supported for the Gallery field. Download Images Hosted Elsewhere For a single image you only need to either enter the image link to use for all imported records, or, map the element from your file that contains each record&#8217;s image link: If importing multiple images to each Gallery, [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Importing both single and multiple images is supported for the Gallery field.</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h4 class="wp-block-heading">Download Images Hosted Elsewhere</h4>



<p>For a single image you only need to either enter the image link to use for all imported records, or, map the element from your file that contains each record&#8217;s image link:</p>



<figure class="wp-block-image"><img fetchpriority="high" decoding="async" width="1884" height="280" src="https://codingchicken.com/wp-content/uploads/2023/12/image-6.png" alt="" class="wp-image-522" srcset="https://codingchicken.com/wp-content/uploads/2023/12/image-6.png 1884w, https://codingchicken.com/wp-content/uploads/2023/12/image-6-300x45.png 300w, https://codingchicken.com/wp-content/uploads/2023/12/image-6-1024x152.png 1024w, https://codingchicken.com/wp-content/uploads/2023/12/image-6-768x114.png 768w, https://codingchicken.com/wp-content/uploads/2023/12/image-6-1536x228.png 1536w" sizes="(max-width: 1884px) 100vw, 1884px" /></figure>



<p>If importing multiple images to each Gallery, each image link must be separated with two exclamation points:&nbsp;</p>



<figure class="wp-block-image size-full"><img decoding="async" width="496" height="60" src="https://codingchicken.com/wp-content/uploads/2023/03/jetengine-importer-field-gallery-2.png" alt="" class="wp-image-408" srcset="https://codingchicken.com/wp-content/uploads/2023/03/jetengine-importer-field-gallery-2.png 496w, https://codingchicken.com/wp-content/uploads/2023/03/jetengine-importer-field-gallery-2-300x36.png 300w" sizes="(max-width: 496px) 100vw, 496px" /></figure>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h4 class="wp-block-heading">Use Image(s) Currently Uploaded in /path/to/wpallimport/files</h4>



<p>For a single image you only need to either enter the image filename to use for all imported records, or, map the element from your file that contains each record&#8217;s image filename:</p>



<figure class="wp-block-image"><img decoding="async" width="1860" height="282" src="https://codingchicken.com/wp-content/uploads/2023/12/image-5.png" alt="" class="wp-image-521" srcset="https://codingchicken.com/wp-content/uploads/2023/12/image-5.png 1860w, https://codingchicken.com/wp-content/uploads/2023/12/image-5-300x45.png 300w, https://codingchicken.com/wp-content/uploads/2023/12/image-5-1024x155.png 1024w, https://codingchicken.com/wp-content/uploads/2023/12/image-5-768x116.png 768w, https://codingchicken.com/wp-content/uploads/2023/12/image-5-1536x233.png 1536w" sizes="(max-width: 1860px) 100vw, 1860px" /></figure>



<p>If importing multiple images to each Gallery, each image filename must be separated with two exclamation points:</p>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="704" height="66" src="https://codingchicken.com/wp-content/uploads/2023/12/image-4.png" alt="" class="wp-image-520" srcset="https://codingchicken.com/wp-content/uploads/2023/12/image-4.png 704w, https://codingchicken.com/wp-content/uploads/2023/12/image-4-300x28.png 300w" sizes="auto, (max-width: 704px) 100vw, 704px" /></figure>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h4 class="wp-block-heading">Using FOREACH Style Image Mapping</h4>



<p>If all of the element names are the same for your images elements (such as {img[1]}, {img[2]}, {img[3]}, etc) then you can use the snippet below with your actual element name to import them as required:</p>



<p>[str_replace(&#8220;,&#8221;,&#8221;!!&#8221;, {img})]</p>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="1826" height="264" src="https://codingchicken.com/wp-content/uploads/2023/12/image-7.png" alt="" class="wp-image-523" srcset="https://codingchicken.com/wp-content/uploads/2023/12/image-7.png 1826w, https://codingchicken.com/wp-content/uploads/2023/12/image-7-300x43.png 300w, https://codingchicken.com/wp-content/uploads/2023/12/image-7-1024x148.png 1024w, https://codingchicken.com/wp-content/uploads/2023/12/image-7-768x111.png 768w, https://codingchicken.com/wp-content/uploads/2023/12/image-7-1536x222.png 1536w" sizes="auto, (max-width: 1826px) 100vw, 1826px" /></figure>



<p>More advanced mappings are possible for cases where you may have elements that begin with the same name for example. If you have elements named: {image_number_one[1]}, {image_number_two[1]}, {image_number_three[1]}</p>



<p>You could use a snippet like below that only targets the start of each element name to import those:</p>



<p>{./*[starts-with(local-name(), &#8216;image_number&#8217;)]}</p>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="1860" height="286" src="https://codingchicken.com/wp-content/uploads/2023/12/image-8.png" alt="" class="wp-image-524" srcset="https://codingchicken.com/wp-content/uploads/2023/12/image-8.png 1860w, https://codingchicken.com/wp-content/uploads/2023/12/image-8-300x46.png 300w, https://codingchicken.com/wp-content/uploads/2023/12/image-8-1024x157.png 1024w, https://codingchicken.com/wp-content/uploads/2023/12/image-8-768x118.png 768w, https://codingchicken.com/wp-content/uploads/2023/12/image-8-1536x236.png 1536w" sizes="auto, (max-width: 1860px) 100vw, 1860px" /></figure>



<p>These mapping styles will work when downloading images hosted elsewhere or when using images from the /files directory. Just be sure that the required data is returned (links for downloads and filenames for retrieving from /files).</p>
]]></content:encoded>
					
					<wfw:commentRss>https://codingchicken.com/docs/gallery-field/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Switcher Field</title>
		<link>https://codingchicken.com/docs/switcher-field/</link>
					<comments>https://codingchicken.com/docs/switcher-field/#respond</comments>
		
		<dc:creator><![CDATA[chyland]]></dc:creator>
		<pubDate>Sat, 23 Dec 2023 00:58:59 +0000</pubDate>
				<guid isPermaLink="false">https://codingchicken.com/?post_type=docs&#038;p=510</guid>

					<description><![CDATA[Importing to the JetEngine Switcher field is accomplished by either selecting an existing option for all imported records. Or by using the ‘Set with XPath’ option to set values based on values in your import file. When using the ‘Set with XPath’ option you can use the tooltip to view the options configured for the [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Importing to the JetEngine Switcher field is accomplished by either selecting an existing option for all imported records. Or by using the ‘Set with XPath’ option to set values based on values in your import file.</p>



<p>When using the ‘Set with XPath’ option you can use the tooltip to view the options configured for the field. An option should already be configured for the field in the JetEngine configuration before you import it.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="215" src="https://codingchicken.com/wp-content/uploads/2023/12/image-3-1024x215.png" alt="" class="wp-image-511" srcset="https://codingchicken.com/wp-content/uploads/2023/12/image-3-1024x215.png 1024w, https://codingchicken.com/wp-content/uploads/2023/12/image-3-300x63.png 300w, https://codingchicken.com/wp-content/uploads/2023/12/image-3-768x161.png 768w, https://codingchicken.com/wp-content/uploads/2023/12/image-3-1536x323.png 1536w, https://codingchicken.com/wp-content/uploads/2023/12/image-3.png 2008w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://codingchicken.com/docs/switcher-field/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Checkbox Field</title>
		<link>https://codingchicken.com/docs/checkbox-field/</link>
					<comments>https://codingchicken.com/docs/checkbox-field/#respond</comments>
		
		<dc:creator><![CDATA[chyland]]></dc:creator>
		<pubDate>Sat, 23 Dec 2023 00:57:14 +0000</pubDate>
				<guid isPermaLink="false">https://codingchicken.com/?post_type=docs&#038;p=507</guid>

					<description><![CDATA[Importing to the JetEngine Checkbox field is accomplished by either selecting an existing option for all imported records. Or by using the ‘Set with XPath’ option to set values based on values in your import file. When using the ‘Set with XPath’ option you can use the tooltip to view the options configured for the [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Importing to the JetEngine Checkbox field is accomplished by either selecting an existing option for all imported records. Or by using the ‘Set with XPath’ option to set values based on values in your import file.</p>



<p>When using the ‘Set with XPath’ option you can use the tooltip to view the options configured for the field. An option should already be configured for the field in the JetEngine configuration before you import it.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="287" src="https://codingchicken.com/wp-content/uploads/2023/12/image-2-1024x287.png" alt="" class="wp-image-508" srcset="https://codingchicken.com/wp-content/uploads/2023/12/image-2-1024x287.png 1024w, https://codingchicken.com/wp-content/uploads/2023/12/image-2-300x84.png 300w, https://codingchicken.com/wp-content/uploads/2023/12/image-2-768x215.png 768w, https://codingchicken.com/wp-content/uploads/2023/12/image-2-1536x430.png 1536w, https://codingchicken.com/wp-content/uploads/2023/12/image-2.png 2000w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://codingchicken.com/docs/checkbox-field/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Radio Field</title>
		<link>https://codingchicken.com/docs/radio-field/</link>
					<comments>https://codingchicken.com/docs/radio-field/#respond</comments>
		
		<dc:creator><![CDATA[chyland]]></dc:creator>
		<pubDate>Sat, 23 Dec 2023 00:55:12 +0000</pubDate>
				<guid isPermaLink="false">https://codingchicken.com/?post_type=docs&#038;p=504</guid>

					<description><![CDATA[Importing to the JetEngine Radio field is accomplished by either selecting an existing option for all imported records. Or by using the ‘Set with XPath’ option to set values based on values in your import file. When using the ‘Set with XPath’ option you can use the tooltip to view the options configured for the [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Importing to the JetEngine Radio field is accomplished by either selecting an existing option for all imported records. Or by using the ‘Set with XPath’ option to set values based on values in your import file.</p>



<p>When using the ‘Set with XPath’ option you can use the tooltip to view the options configured for the field. An option should already be configured for the field before you import it.</p>



<p></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="209" src="https://codingchicken.com/wp-content/uploads/2023/12/image-1-1024x209.png" alt="" class="wp-image-505" srcset="https://codingchicken.com/wp-content/uploads/2023/12/image-1-1024x209.png 1024w, https://codingchicken.com/wp-content/uploads/2023/12/image-1-300x61.png 300w, https://codingchicken.com/wp-content/uploads/2023/12/image-1-768x157.png 768w, https://codingchicken.com/wp-content/uploads/2023/12/image-1-1536x313.png 1536w, https://codingchicken.com/wp-content/uploads/2023/12/image-1.png 2002w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://codingchicken.com/docs/radio-field/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Select Field</title>
		<link>https://codingchicken.com/docs/select-field/</link>
					<comments>https://codingchicken.com/docs/select-field/#respond</comments>
		
		<dc:creator><![CDATA[chyland]]></dc:creator>
		<pubDate>Sat, 23 Dec 2023 00:45:40 +0000</pubDate>
				<guid isPermaLink="false">https://codingchicken.com/?post_type=docs&#038;p=498</guid>

					<description><![CDATA[Importing to the JetEngine Select field is accomplished by either selecting an existing option for all imported records. Or by using the &#8216;Set with XPath&#8217; option to set values based on values in your import file. When using the &#8216;Set with XPath&#8217; option you can use the tooltip to view the options configured for the [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Importing to the JetEngine Select field is accomplished by either selecting an existing option for all imported records. Or by using the &#8216;Set with XPath&#8217; option to set values based on values in your import file. </p>



<p>When using the &#8216;Set with XPath&#8217; option you can use the tooltip to view the options configured for the field. An option should already be configured for the field in the JetEngine configuration before you import it.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="225" src="https://codingchicken.com/wp-content/uploads/2023/12/image-1024x225.png" alt="" class="wp-image-499" srcset="https://codingchicken.com/wp-content/uploads/2023/12/image-1024x225.png 1024w, https://codingchicken.com/wp-content/uploads/2023/12/image-300x66.png 300w, https://codingchicken.com/wp-content/uploads/2023/12/image-768x168.png 768w, https://codingchicken.com/wp-content/uploads/2023/12/image-1536x337.png 1536w, https://codingchicken.com/wp-content/uploads/2023/12/image-2048x449.png 2048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
]]></content:encoded>
					
					<wfw:commentRss>https://codingchicken.com/docs/select-field/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
