<?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/"
	 xmlns:media="http://search.yahoo.com/mrss/" >

<channel>
	<title>UI Customization &#8211; Agile Store Locator WordPress Plugin</title>
	<atom:link href="https://agilestorelocator.com/wiki/agile-store-locator/ui-customization/feed/" rel="self" type="application/rss+xml" />
	<link>https://agilestorelocator.com</link>
	<description>#1 Store Locator WordPress Plugin that finds location using the Google Maps</description>
	<lastBuildDate>Mon, 17 Nov 2025 21:37:36 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>Change Number of Columns in Template 4 Grid Layout</title>
		<link>https://agilestorelocator.com/wiki/change-number-of-columns-in-template-4-grid-layout/</link>
					<comments>https://agilestorelocator.com/wiki/change-number-of-columns-in-template-4-grid-layout/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Mon, 23 Jun 2025 07:03:57 +0000</pubDate>
				<guid isPermaLink="false">https://agilestorelocator.com/?post_type=docs&#038;p=4026</guid>

					<description><![CDATA[By default, Template 4 displays store listings in a three-column layout on large screens using the following classes: If you&#8217;d like to customize the number of columns, you can easily do this by modifying the Bootstrap column classes. Steps to Customize: Replace the pol-lg-4 class to adjust the number of columns: Example (4-column layout): This ... <br><a href="https://agilestorelocator.com/wiki/change-number-of-columns-in-template-4-grid-layout/" class="text-muted readmore">Read More <i data-feather="chevron-right" class="fea icon-sm"></i></a>]]></description>
										<content:encoded><![CDATA[
<p>By default, <strong>Template 4</strong> displays store listings in a three-column layout on large screens using the following classes:</p>



<pre class="wp-block-prismatic-blocks"><code class="language-markup" data-line="">&lt;li class=&quot;pol-lg-4 pol-md-6 pol-sm-12 sl-item&quot; data-id=&quot;{{:id}}&quot; tabindex=&quot;0&quot; accesskey=&quot;{{:id}}&quot;&gt;</code></pre>



<p>If you&#8217;d like to <strong>customize the number of columns</strong>, you can easily do this by modifying the Bootstrap column classes.</p>



<h4 class="wp-block-heading">Steps to Customize:</h4>



<ul class="wp-block-list">
<li>Go to <strong><a href="https://agilestorelocator.com/wiki/customization-of-store-locator/">ASL Settings > Customizer</a></strong>.</li>



<li>Select <strong>Template 4</strong> from the dropdown.</li>



<li>Click the <strong>“Load Template”</strong> button to load the template HTML.</li>



<li>In the <strong>List Section</strong>, locate the <code class="" data-line="">&lt;li&gt;</code> element that looks like:</li>
</ul>



<pre class="wp-block-prismatic-blocks"><code class="language-markup" data-line="">&lt;li class=&quot;pol-lg-4 pol-md-6 pol-sm-12 sl-item&quot; ...&gt;</code></pre>



<p>Replace the <code class="" data-line="">pol-lg-4</code> class to adjust the number of columns:</p>



<ul class="wp-block-list">
<li>Use <code class="" data-line="">pol-lg-3</code> for <strong>4 columns</strong></li>



<li>Use <code class="" data-line="">pol-lg-6</code> for <strong>2 columns</strong></li>



<li>Use <code class="" data-line="">pol-lg-12</code> for <strong>1 column</strong></li>
</ul>



<p>Example (4-column layout):</p>



<pre class="wp-block-prismatic-blocks"><code class="language-markup" data-line="">&lt;li class=&quot;pol-lg-3 pol-md-6 pol-sm-12 sl-item&quot; ...&gt;</code></pre>



<ul class="wp-block-list">
<li>Click <strong>Save Template</strong> after making changes.</li>
</ul>



<p>This allows you to tailor the grid layout to better fit your design preferences or available screen space.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://agilestorelocator.com/wiki/change-number-of-columns-in-template-4-grid-layout/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Display Map Above the Listing on Mobile Devices</title>
		<link>https://agilestorelocator.com/wiki/display-map-above-the-listing-on-mobile-devices/</link>
					<comments>https://agilestorelocator.com/wiki/display-map-above-the-listing-on-mobile-devices/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 24 Apr 2025 14:04:51 +0000</pubDate>
				<guid isPermaLink="false">https://agilestorelocator.com/?post_type=docs&#038;p=3949</guid>

					<description><![CDATA[In mobile view, the layout of Agile Store Locator can be customized to show either the Map first or the Store Listing first, giving you control over the user experience. How to Set Map Above the Listing: Clear Your Cache: After changing this setting, make sure to refresh your page cache. If you&#8217;re using a ... <br><a href="https://agilestorelocator.com/wiki/display-map-above-the-listing-on-mobile-devices/" class="text-muted readmore">Read More <i data-feather="chevron-right" class="fea icon-sm"></i></a>]]></description>
										<content:encoded><![CDATA[
<p>In mobile view, the layout of Agile Store Locator can be customized to show either the <strong>Map first</strong> or the <strong>Store Listing first</strong>, giving you control over the user experience.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img fetchpriority="high" decoding="async" width="814" height="249" src="https://agilestorelocator.com/wp-content/uploads/2025/04/map-top-list-top.png" alt="map top list top" class="wp-image-3950" title="Display Map Above the Listing on Mobile Devices 1" srcset="https://agilestorelocator.com/wp-content/uploads/2025/04/map-top-list-top.png 814w, https://agilestorelocator.com/wp-content/uploads/2025/04/map-top-list-top-300x92.png 300w, https://agilestorelocator.com/wp-content/uploads/2025/04/map-top-list-top-768x235.png 768w, https://agilestorelocator.com/wp-content/uploads/2025/04/map-top-list-top-360x110.png 360w, https://agilestorelocator.com/wp-content/uploads/2025/04/map-top-list-top-350x107.png 350w, https://agilestorelocator.com/wp-content/uploads/2025/04/map-top-list-top-76x23.png 76w" sizes="(max-width: 814px) 100vw, 814px" /></figure>
</div>


<h4 class="wp-block-heading">How to Set Map Above the Listing:</h4>



<ol class="wp-block-list">
<li>Navigate to your WordPress dashboard.</li>



<li>Go to <strong>Agile Store Locator > ASL Settings</strong>.</li>



<li>Click on the <strong>UI Tab</strong>.</li>



<li>Locate the option labeled <strong>&#8220;Map &amp; List Order&#8221;</strong>.</li>



<li>Choose <strong>&#8220;Map Top&#8221;</strong> from the dropdown.</li>



<li>Click the <strong>Save Settings</strong> button.</li>
</ol>



<h4 class="wp-block-heading">Clear Your Cache:</h4>



<p>After changing this setting, <strong>make sure to refresh your page cache</strong>. If you&#8217;re using a caching plugin (like WP Super Cache, W3 Total Cache, or any server-level caching), clear it to ensure the updated layout appears correctly on mobile devices.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://agilestorelocator.com/wiki/display-map-above-the-listing-on-mobile-devices/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Custom Column Configuration for Store Locator Layout</title>
		<link>https://agilestorelocator.com/wiki/custom-column-configuration-for-store-locator-layout/</link>
					<comments>https://agilestorelocator.com/wiki/custom-column-configuration-for-store-locator-layout/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 22 Aug 2024 15:26:37 +0000</pubDate>
				<guid isPermaLink="false">https://agilestorelocator.com/?post_type=docs&#038;p=3711</guid>

					<description><![CDATA[Overview Version 4.10.13 of the Agile Store Locator plugin introduces a new feature that allows you to customize the column layout of your store locator and search filter using Bootstrap 4&#8217;s grid system. This feature provides flexibility in creating responsive layouts that adapt beautifully to different screen sizes. Shortcode Attributes With this update, you can ... <br><a href="https://agilestorelocator.com/wiki/custom-column-configuration-for-store-locator-layout/" class="text-muted readmore">Read More <i data-feather="chevron-right" class="fea icon-sm"></i></a>]]></description>
										<content:encoded><![CDATA[
<h3 class="wp-block-heading">Overview</h3>



<p>Version 4.10.13 of the Agile Store Locator plugin introduces a new feature that allows you to customize the column layout of your store locator and search filter using Bootstrap 4&#8217;s grid system. This feature provides flexibility in creating responsive layouts that adapt beautifully to different screen sizes.</p>



<h3 class="wp-block-heading">Shortcode Attributes</h3>



<p>With this update, you can use the following shortcode attributes to control the layout:</p>



<ul class="wp-block-list">
<li><strong>md</strong>: Defines the column configuration for medium screens (≥ 768px).</li>



<li><strong>lg</strong>: Defines the column configuration for large screens (≥ 992px).</li>
</ul>



<p>Each attribute can accept up to two comma-separated values:</p>



<ul class="wp-block-list">
<li>The first value specifies the width of the search filter (list column).</li>



<li>The second value specifies the width of the store locator (map column).</li>
</ul>



<p>If only one value is provided, the remaining columns will automatically fill the space to ensure a total width of 12 columns, as per Bootstrap&#8217;s grid system.</p>



<h3 class="wp-block-heading">Default Configuration</h3>



<p>If you do not specify any attributes, the plugin uses the following default configuration:</p>



<ul class="wp-block-list">
<li><strong>md (Medium Screens)</strong>: 5 columns for the list, 7 columns for the map.</li>



<li><strong>lg (Large Screens)</strong>: 4 columns for the list, 8 columns for the map.</li>
</ul>



<h3 class="wp-block-heading">Usage Examples</h3>



<h4 class="wp-block-heading">Example 1: Default Layout</h4>



<p>If you use the shortcode without any attributes, the default layout will be applied:</p>



<pre class="wp-block-prismatic-blocks"><code class="language-git" data-line="">[ASL_STORELOCATOR]</code></pre>



<p><strong>Result:</strong></p>



<ul class="wp-block-list">
<li>On medium screens: 5 columns for the list and 7 columns for the map.</li>



<li>On large screens: 4 columns for the list and 8 columns for the map.</li>
</ul>



<h4 class="wp-block-heading">Example 2: Custom Medium Screen Layout</h4>



<p>You can customize the layout for medium screens by providing a single value:</p>



<pre class="wp-block-prismatic-blocks"><code class="language-git" data-line="">[ASL_STORELOCATOR md=&quot;6&quot;]</code></pre>



<p><strong>Result:</strong></p>



<ul class="wp-block-list">
<li>On medium screens: 6 columns for the list and 6 columns for the map (since <code class="" data-line="">12 - 6 = 6</code>).</li>



<li>Large screens will follow the default layout.</li>
</ul>



<h4 class="wp-block-heading">Example 3: Full-Width Map on Large Screens</h4>



<p>To make the map full-width on large screens:</p>



<pre class="wp-block-prismatic-blocks"><code class="language-git" data-line="">[ASL_STORELOCATOR md=&quot;12&quot; lg=&quot;12&quot;]</code></pre>



<p><strong>Result:</strong></p>



<ul class="wp-block-list">
<li>On large screens: The map takes up all 12 columns, and the list is drop to the next row.</li>



<li>Medium screens will also be full width as 12 columns value.</li>
</ul>



<h4 class="wp-block-heading">Example 4: Custom Layout for Both Medium and Large Screens</h4>



<p>You can specify custom layouts for both medium and large screens:</p>



<pre class="wp-block-prismatic-blocks"><code class="language-git" data-line="">[ASL_STORELOCATOR md=&quot;4,8&quot; lg=&quot;6,6&quot;]</code></pre>



<h3 class="wp-block-heading">Conclusion</h3>



<p>This new feature in version 4.10.13 of the Agile Store Locator plugin makes it easier than ever to create custom, responsive layouts using the familiar Bootstrap 4 grid system. Whether you want a balanced layout or a full-width map, you have complete control over the design of your store locator.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://agilestorelocator.com/wiki/custom-column-configuration-for-store-locator-layout/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Labels and Translation of Store Locator</title>
		<link>https://agilestorelocator.com/wiki/language-translation-store-locator/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 08 Sep 2017 15:06:59 +0000</pubDate>
				<category><![CDATA[wiki]]></category>
		<guid isPermaLink="false">https://agilestorelocator.com/?p=1620</guid>

					<description><![CDATA[Agile Store Locator provides the option to translate the text on the map. Furthermore, this guide will show you how to manually translate the text on the Store Locator Map into other languages.]]></description>
										<content:encoded><![CDATA[
<p>Agile Store Locator provides label customization through two distinct approaches, tailored to your website&#8217;s language configuration.</p>



<ol class="wp-block-list">
<li><strong>Using Label (Single-Language Site):</strong> If your website is in a single language, you can conveniently modify all labels through the Labels section, as detailed in section 1 of the documentation. This is a straightforward approach and doesn&#8217;t require a translation plugin.</li>



<li><strong>Using Translation (Multi-Language Site):</strong> If your website uses multiple languages, it&#8217;s advisable to bypass the Labels section and instead utilize a translation plugin. With this method, you can add translations to the language files, ensuring that your labels are correctly displayed in various languages. This approach is more suitable for multilingual websites as it allows for precise language management.</li>
</ol>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img decoding="async" width="1024" height="559" src="https://agilestorelocator.com/wp-content/uploads/2017/09/brand-translation-1024x559.gif" alt="brand translation" class="wp-image-3835" title="Labels and Translation of Store Locator 2" srcset="https://agilestorelocator.com/wp-content/uploads/2017/09/brand-translation-1024x559.gif 1024w, https://agilestorelocator.com/wp-content/uploads/2017/09/brand-translation-300x164.gif 300w, https://agilestorelocator.com/wp-content/uploads/2017/09/brand-translation-768x419.gif 768w, https://agilestorelocator.com/wp-content/uploads/2017/09/brand-translation-359x196.gif 359w, https://agilestorelocator.com/wp-content/uploads/2017/09/brand-translation-350x191.gif 350w, https://agilestorelocator.com/wp-content/uploads/2017/09/brand-translation-75x41.gif 75w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<h3 class="wp-block-heading" id="h-1-using-labels-single-language-site">1- Using Labels (Single-Language Site)</h3>



<p>We have introduced a new Labels section in the ASL Settings, allowing you to easily update the frontend store locator labels. To change the labels, please follow the steps outlined below:</p>



<ol class="wp-block-list">
<li>Ensure that you are using version 4.8.29 or above of the plugin. If you are using an older version, please upgrade to the latest version first.</li>



<li>Access the ASL Settings in your WordPress dashboard and navigate to the Labels section.</li>



<li>Enable the Labels to switch and save the settings.</li>



<li>In the Labels section, locate the specific label that you want to translate or modify. Provide the desired alternate text or label for that specific element.</li>
</ol>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="428" src="https://agilestorelocator.com/wp-content/uploads/2023/05/enable-the-translation-1024x428.png" alt="enable the translation" class="wp-image-3007" title="Labels and Translation of Store Locator 3" srcset="https://agilestorelocator.com/wp-content/uploads/2023/05/enable-the-translation-1024x428.png 1024w, https://agilestorelocator.com/wp-content/uploads/2023/05/enable-the-translation-300x125.png 300w, https://agilestorelocator.com/wp-content/uploads/2023/05/enable-the-translation-768x321.png 768w, https://agilestorelocator.com/wp-content/uploads/2023/05/enable-the-translation-350x146.png 350w, https://agilestorelocator.com/wp-content/uploads/2023/05/enable-the-translation-76x32.png 76w, https://agilestorelocator.com/wp-content/uploads/2023/05/enable-the-translation.png 1294w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Once you have changed a label for a store, it will be displayed accordingly on the frontend of your website. If you do not see the changes immediately, please remember to refresh the page cache to ensure the updated labels are applied.</p>



<p>In the example, we have changed the text <em>Search Location</em> to <em>Find Dealers</em>.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="228" src="https://agilestorelocator.com/wp-content/uploads/2023/05/label-change-example-backend-1024x228.png" alt="label change example backend" class="wp-image-3009" title="Labels and Translation of Store Locator 4" srcset="https://agilestorelocator.com/wp-content/uploads/2023/05/label-change-example-backend-1024x228.png 1024w, https://agilestorelocator.com/wp-content/uploads/2023/05/label-change-example-backend-300x67.png 300w, https://agilestorelocator.com/wp-content/uploads/2023/05/label-change-example-backend-768x171.png 768w, https://agilestorelocator.com/wp-content/uploads/2023/05/label-change-example-backend-350x78.png 350w, https://agilestorelocator.com/wp-content/uploads/2023/05/label-change-example-backend-76x17.png 76w, https://agilestorelocator.com/wp-content/uploads/2023/05/label-change-example-backend.png 1316w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>The front-end results of the store locator are displayed in the following format.</p>



<div style="padding:56.25% 0 0 0;position:relative;"><iframe src="https://player.vimeo.com/video/829786955?h=4e4ca002de&amp;badge=0&amp;autopause=0&amp;player_id=0&amp;app_id=58479" frameborder="0" allow="autoplay; fullscreen; picture-in-picture" allowfullscreen style="position:absolute;top:0;left:0;width:100%;height:100%;" title="Labels Text Update"></iframe></div><script src="https://player.vimeo.com/api/player.js"></script>



<h3 class="wp-block-heading" id="h-2-using-translation-multi-language-site">2- <strong>Using Translation (Multi-Language Site)</strong></h3>



<p>Agile Store Locator provides the option to translate the text on the map. Furthermore, this guide will show you how to manually translate the text on the Store Locator Map into other languages, please make sure the above Label is switched off if you want to change the text via translation files.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="433" src="https://agilestorelocator.com/wp-content/uploads/2023/05/label-switch-off-1024x433.png" alt="label switch off" class="wp-image-3008" title="Labels and Translation of Store Locator 5" srcset="https://agilestorelocator.com/wp-content/uploads/2023/05/label-switch-off-1024x433.png 1024w, https://agilestorelocator.com/wp-content/uploads/2023/05/label-switch-off-300x127.png 300w, https://agilestorelocator.com/wp-content/uploads/2023/05/label-switch-off-768x325.png 768w, https://agilestorelocator.com/wp-content/uploads/2023/05/label-switch-off-350x148.png 350w, https://agilestorelocator.com/wp-content/uploads/2023/05/label-switch-off-76x32.png 76w, https://agilestorelocator.com/wp-content/uploads/2023/05/label-switch-off.png 1312w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>Firstly, to translate the text a user will first need to manually add the translation for each word that appears on the map.</p>



<h3 class="wp-block-heading" id="h-steps-to-translate-the-text"><strong>Steps to Translate the Text</strong></h3>



<p>In the below guide, we will be translating the words “Search Location” on the map from English to Italian</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="887" height="298" src="https://agilestorelocator.com/wp-content/uploads/2021/07/pre-translation-text.png" alt="Pre-Translation Page" class="wp-image-1905" title="Labels and Translation of Store Locator 6" srcset="https://agilestorelocator.com/wp-content/uploads/2021/07/pre-translation-text.png 887w, https://agilestorelocator.com/wp-content/uploads/2021/07/pre-translation-text-300x101.png 300w, https://agilestorelocator.com/wp-content/uploads/2021/07/pre-translation-text-768x258.png 768w, https://agilestorelocator.com/wp-content/uploads/2021/07/pre-translation-text-350x118.png 350w, https://agilestorelocator.com/wp-content/uploads/2021/07/pre-translation-text-76x26.png 76w" sizes="auto, (max-width: 887px) 100vw, 887px" /><figcaption class="wp-element-caption"><em>Pre-Translation Page</em></figcaption></figure>



<ol class="wp-block-list">
<li>Install the “Loco Translate” Plugin from WordPress and activate it</li>
</ol>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="732" height="317" src="https://agilestorelocator.com/wp-content/uploads/2021/07/loco-translate-plugin.png" alt="Loco Translate Plugin" class="wp-image-1906" title="Labels and Translation of Store Locator 7" srcset="https://agilestorelocator.com/wp-content/uploads/2021/07/loco-translate-plugin.png 732w, https://agilestorelocator.com/wp-content/uploads/2021/07/loco-translate-plugin-300x130.png 300w, https://agilestorelocator.com/wp-content/uploads/2021/07/loco-translate-plugin-350x152.png 350w, https://agilestorelocator.com/wp-content/uploads/2021/07/loco-translate-plugin-76x33.png 76w" sizes="auto, (max-width: 732px) 100vw, 732px" /><figcaption class="wp-element-caption"><em>Loco Translate Plugin</em></figcaption></figure>



<ol start="2" class="wp-block-list">
<li>On the “Settings” tab, change the site language to the translated language. For example, English to Italian, if you need to translate the text to Italian.</li>
</ol>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="928" height="227" src="https://agilestorelocator.com/wp-content/uploads/2021/07/select-language-to-translate.png" alt="Change Language of the Site" class="wp-image-1907" title="Labels and Translation of Store Locator 8" srcset="https://agilestorelocator.com/wp-content/uploads/2021/07/select-language-to-translate.png 928w, https://agilestorelocator.com/wp-content/uploads/2021/07/select-language-to-translate-300x73.png 300w, https://agilestorelocator.com/wp-content/uploads/2021/07/select-language-to-translate-768x188.png 768w, https://agilestorelocator.com/wp-content/uploads/2021/07/select-language-to-translate-350x86.png 350w, https://agilestorelocator.com/wp-content/uploads/2021/07/select-language-to-translate-76x19.png 76w" sizes="auto, (max-width: 928px) 100vw, 928px" /><figcaption class="wp-element-caption"><em>Change Language of the Site</em></figcaption></figure>



<ol start="3" class="wp-block-list">
<li>Go to the “Loco Translate” Plugin and navigate to “plugins”</li>



<li>Select “Agile Store Locator” on the “Translate Plugins” page</li>



<li>Choose the language file that needs to be modified (in our case: Italian)</li>



<li>Manually add the translated word(s) to the language file. We have translated the “Search Location” text using google translate and added it to the language file as shown below</li>
</ol>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="862" height="537" src="https://agilestorelocator.com/wp-content/uploads/2021/07/insert-translation-for-source-text.png" alt="Add Translation for Source Text" class="wp-image-1908" title="Labels and Translation of Store Locator 9" srcset="https://agilestorelocator.com/wp-content/uploads/2021/07/insert-translation-for-source-text.png 862w, https://agilestorelocator.com/wp-content/uploads/2021/07/insert-translation-for-source-text-300x187.png 300w, https://agilestorelocator.com/wp-content/uploads/2021/07/insert-translation-for-source-text-768x478.png 768w, https://agilestorelocator.com/wp-content/uploads/2021/07/insert-translation-for-source-text-350x218.png 350w, https://agilestorelocator.com/wp-content/uploads/2021/07/insert-translation-for-source-text-76x47.png 76w" sizes="auto, (max-width: 862px) 100vw, 862px" /><figcaption class="wp-element-caption"><em>Add Translation for Source Text</em></figcaption></figure>



<ol start="7" class="wp-block-list">
<li>Save the file and Refresh the Store Locator. The text for “Search Location” will now be translated into Italian</li>
</ol>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="889" height="308" src="https://agilestorelocator.com/wp-content/uploads/2021/07/post-translation-text.png" alt="Text after Translation" class="wp-image-1910" title="Labels and Translation of Store Locator 10" srcset="https://agilestorelocator.com/wp-content/uploads/2021/07/post-translation-text.png 889w, https://agilestorelocator.com/wp-content/uploads/2021/07/post-translation-text-300x104.png 300w, https://agilestorelocator.com/wp-content/uploads/2021/07/post-translation-text-768x266.png 768w, https://agilestorelocator.com/wp-content/uploads/2021/07/post-translation-text-350x121.png 350w, https://agilestorelocator.com/wp-content/uploads/2021/07/post-translation-text-76x26.png 76w" sizes="auto, (max-width: 889px) 100vw, 889px" /><figcaption class="wp-element-caption">Text after Translation</figcaption></figure>



<h3 class="wp-block-heading" id="h-how-to-add-a-new-word-that-is-missing-from-the-language-file"><strong>How to Add a New Word That is Missing From the Language File.</strong></h3>



<p>A user might come across a situation where the source text to be translated is missing from the language file. In this case, the user can add the source text to the template file or the view customization and this will make the source text available to be translated into the language file.</p>



<p>For example, we will be locating the “Discounts” source text in the template file, to make it available for translation, for if you have that in the customization template that you are editing through ASL Settings &gt; Customizer, you have to wrap that text into square brackets as given below.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="887" height="414" src="https://agilestorelocator.com/wp-content/uploads/2024/05/custom-translation-label.png" alt="Translate custom label" class="wp-image-3607" title="Labels and Translation of Store Locator 11" srcset="https://agilestorelocator.com/wp-content/uploads/2024/05/custom-translation-label.png 887w, https://agilestorelocator.com/wp-content/uploads/2024/05/custom-translation-label-300x140.png 300w, https://agilestorelocator.com/wp-content/uploads/2024/05/custom-translation-label-768x358.png 768w, https://agilestorelocator.com/wp-content/uploads/2024/05/custom-translation-label-360x168.png 360w, https://agilestorelocator.com/wp-content/uploads/2024/05/custom-translation-label-350x163.png 350w, https://agilestorelocator.com/wp-content/uploads/2024/05/custom-translation-label-76x35.png 76w" sizes="auto, (max-width: 887px) 100vw, 887px" /></figure>
</div>


<ol class="wp-block-list">
<li>Go to the “Loco Translate” plugin and select “Plugins”</li>



<li>Choose “Agile Store Locator” on the “Translate Plugins” page</li>



<li>Click on “Edit Template” to access the template file</li>
</ol>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="538" height="317" src="https://agilestorelocator.com/wp-content/uploads/2021/07/to-access-template-file.png" alt="Access the Template file from “Edit template”" class="wp-image-1911" title="Labels and Translation of Store Locator 12" srcset="https://agilestorelocator.com/wp-content/uploads/2021/07/to-access-template-file.png 538w, https://agilestorelocator.com/wp-content/uploads/2021/07/to-access-template-file-300x177.png 300w, https://agilestorelocator.com/wp-content/uploads/2021/07/to-access-template-file-350x206.png 350w, https://agilestorelocator.com/wp-content/uploads/2021/07/to-access-template-file-76x45.png 76w" sizes="auto, (max-width: 538px) 100vw, 538px" /><figcaption class="wp-element-caption"><em>Access the Template file from the “Edit template”</em></figcaption></figure>
</div>


<ol start="4" class="wp-block-list">
<li>In the Template file, click on the “Sync”&nbsp; button, and the source text (“Discounts”) will be available in the template file, then press save</li>
</ol>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="763" height="377" src="https://agilestorelocator.com/wp-content/uploads/2021/07/sync-the-template-file.png" alt="“Sync” the template file" class="wp-image-1912" title="Labels and Translation of Store Locator 13" srcset="https://agilestorelocator.com/wp-content/uploads/2021/07/sync-the-template-file.png 763w, https://agilestorelocator.com/wp-content/uploads/2021/07/sync-the-template-file-300x148.png 300w, https://agilestorelocator.com/wp-content/uploads/2021/07/sync-the-template-file-350x173.png 350w, https://agilestorelocator.com/wp-content/uploads/2021/07/sync-the-template-file-76x38.png 76w" sizes="auto, (max-width: 763px) 100vw, 763px" /><figcaption class="wp-element-caption"><em>“Sync” the template file</em></figcaption></figure>



<ol start="5" class="wp-block-list">
<li>Go to the “Loco Translate” plugin and select “Plugins”</li>



<li>Choose “Agile Store Locator” on the “Translate Plugins” page and select a language page (for example English (United States))</li>



<li>On the language page, press the “Sync” button and the new source text (“Discounts”) will be available for translation when it’s typed in the search bar</li>
</ol>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="823" height="501" src="https://agilestorelocator.com/wp-content/uploads/2021/07/sync-lang-file.png" alt="New Source Text Added" class="wp-image-1913" title="Labels and Translation of Store Locator 14" srcset="https://agilestorelocator.com/wp-content/uploads/2021/07/sync-lang-file.png 823w, https://agilestorelocator.com/wp-content/uploads/2021/07/sync-lang-file-300x183.png 300w, https://agilestorelocator.com/wp-content/uploads/2021/07/sync-lang-file-768x468.png 768w, https://agilestorelocator.com/wp-content/uploads/2021/07/sync-lang-file-350x213.png 350w, https://agilestorelocator.com/wp-content/uploads/2021/07/sync-lang-file-76x46.png 76w" sizes="auto, (max-width: 823px) 100vw, 823px" /><figcaption class="wp-element-caption"><em>New Source Text Added</em></figcaption></figure>



<h3 class="wp-block-heading">How can I translate the Country name with WPML?</h3>



<p>Yes, the countries list is rendered from the database, it can also be translated via any translation plugin such as Loco Translate or WPML, if the country name doesn&#8217;t exist in the Translation pot file, you can easily modify it and sync your language file with the template.</p>



<figure class="wp-block-image size-large"><img decoding="async" src="https://agilestorelocator.com/share/language-add-new-string.png" alt="language add new string" title="Labels and Translation of Store Locator 15"><figcaption class="wp-element-caption">Add new translation</figcaption></figure>



<h3 class="wp-block-heading" id="h-how-to-display-the-store-data-in-multiple-languages"><strong>How to Display the Store Data in Multiple Languages</strong></h3>



<p>Users of Agile Store Locator can display data on their website in multiple languages for the following categories:</p>



<ol class="wp-block-list">
<li>Stores</li>



<li>Brands</li>



<li>Categories</li>



<li>Specialties</li>
</ol>



<p>The data in each of these sections can be changed using the multiple language drop-down menu to change the data from one language to another (provided that there is data entered for the selected language).</p>


<div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" width="1024" height="516" src="https://agilestorelocator.com/wp-content/uploads/2022/03/multi-lang-menu-2-1024x516.png" alt="Multiple Languages Drop-Down Menu" class="wp-image-2320" style="width:768px;height:387px" title="Labels and Translation of Store Locator 16" srcset="https://agilestorelocator.com/wp-content/uploads/2022/03/multi-lang-menu-2-1024x516.png 1024w, https://agilestorelocator.com/wp-content/uploads/2022/03/multi-lang-menu-2-300x151.png 300w, https://agilestorelocator.com/wp-content/uploads/2022/03/multi-lang-menu-2-768x387.png 768w, https://agilestorelocator.com/wp-content/uploads/2022/03/multi-lang-menu-2-350x176.png 350w, https://agilestorelocator.com/wp-content/uploads/2022/03/multi-lang-menu-2-76x38.png 76w, https://agilestorelocator.com/wp-content/uploads/2022/03/multi-lang-menu-2.png 1186w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption"><em>Multiple Languages Drop-Down Menu</em></figcaption></figure>
</div>


<p>For example, let&#8217;s suppose a user has two sets of store data one in English and one in German, that are both entered into Agile Store Locator. Furthermore, let&#8217;s say the user is displaying the English version on the store data on his/her website, and they want to change it to German. Furthermore, to do this the user can simply use the multiple Languages drop-down menu in the “Manage Stores” section to replace the English store data with the German store data (provided a CSV file was imported with German store data).</p>



<p><strong>Note:</strong> The multiple language drop-down menu does <strong>NOT</strong> automatically translate the data from one language to another. Rather, it replaces the current data with another data set that is in a different language.</p>



<h4 class="wp-block-heading" id="h-how-to-add-a-new-language-to-the-language-drop-down-menu"><strong>How to Add a New Language to the Language Drop-Down Menu?</strong></h4>



<p>In addition, to add a new language to the multi-language drop-down menu, please follow the below steps:</p>



<ol class="wp-block-list">
<li>Go to the “Settings” section on Agile Store Locator</li>



<li>Under “General Settings”, scroll down to the “Site Language” options</li>



<li>Enter a language you wish to enter the data in</li>
</ol>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" decoding="async" width="1024" height="608" src="https://agilestorelocator.com/wp-content/uploads/2022/03/site-language-section-1-1024x608.png" alt="Site Language" class="wp-image-2321" style="width:768px;height:456px" title="Labels and Translation of Store Locator 17" srcset="https://agilestorelocator.com/wp-content/uploads/2022/03/site-language-section-1-1024x608.png 1024w, https://agilestorelocator.com/wp-content/uploads/2022/03/site-language-section-1-300x178.png 300w, https://agilestorelocator.com/wp-content/uploads/2022/03/site-language-section-1-768x456.png 768w, https://agilestorelocator.com/wp-content/uploads/2022/03/site-language-section-1-350x208.png 350w, https://agilestorelocator.com/wp-content/uploads/2022/03/site-language-section-1-76x45.png 76w, https://agilestorelocator.com/wp-content/uploads/2022/03/site-language-section-1.png 1175w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption"><em>Site Language</em></figcaption></figure>



<p></p>



<ol start="4" class="wp-block-list">
<li>Click on “Save Changes”</li>
</ol>



<p>Now the selected language will be available in the language drop-down menu.</p>



<p><strong>Note:</strong> Any new entries made will automatically be saved in the same language that was selected in the drop-down menu.</p>



<p>For example, in the below screenshot, the entered store data will be saved in German.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="400" src="https://agilestorelocator.com/wp-content/uploads/2022/03/create-store-1-1024x400.png" alt="Store Data for the German Language" class="wp-image-2322" title="Labels and Translation of Store Locator 18" srcset="https://agilestorelocator.com/wp-content/uploads/2022/03/create-store-1-1024x400.png 1024w, https://agilestorelocator.com/wp-content/uploads/2022/03/create-store-1-300x117.png 300w, https://agilestorelocator.com/wp-content/uploads/2022/03/create-store-1-768x300.png 768w, https://agilestorelocator.com/wp-content/uploads/2022/03/create-store-1-1536x600.png 1536w, https://agilestorelocator.com/wp-content/uploads/2022/03/create-store-1-350x137.png 350w, https://agilestorelocator.com/wp-content/uploads/2022/03/create-store-1-76x30.png 76w, https://agilestorelocator.com/wp-content/uploads/2022/03/create-store-1.png 1611w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption"><em>Store Data for the German Language</em></figcaption></figure>
</div>


<h3 class="wp-block-heading" id="h-how-to-import-export-as-a-csv-file-with-a-new-language"><strong>How to Import/Export as a CSV file With a New Language?</strong></h3>



<p>Moreover, to Import a CSV file with a different language, you will simply need to create an extra column with the header “lang” and fill this column with the corresponding language code. Furthermore, leaving the &#8220;lang&#8221; parameter blank will result in the usage of the default language of the site.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="774" height="572" src="https://agilestorelocator.com/wp-content/uploads/2022/03/lang-column.png" alt="Language Column" class="wp-image-2407" style="width:581px;height:429px" title="Labels and Translation of Store Locator 19" srcset="https://agilestorelocator.com/wp-content/uploads/2022/03/lang-column.png 774w, https://agilestorelocator.com/wp-content/uploads/2022/03/lang-column-300x222.png 300w, https://agilestorelocator.com/wp-content/uploads/2022/03/lang-column-768x568.png 768w, https://agilestorelocator.com/wp-content/uploads/2022/03/lang-column-350x259.png 350w, https://agilestorelocator.com/wp-content/uploads/2022/03/lang-column-76x57.png 76w" sizes="auto, (max-width: 774px) 100vw, 774px" /><figcaption class="wp-element-caption">Language Column</figcaption></figure>
</div>


<h4 class="wp-block-heading" id="h-how-to-enforce-the-store-locator-to-render-a-specific-language"><strong>How to Enforce the Store Locator to Render a Specific Language?</strong></h4>



<p>Lastly, to force the store locator to use or display the data in a specific section and a certain language, users can use the below shortcode to do so:</p>



<pre class="wp-block-prismatic-blocks"><code class="language-markup" data-line="">[ASL_STORELOCATOR lang=&quot;fr_FR&quot;]</code></pre>



<p>Where “fr_FR” can be replaced with any language code.</p>



<h3 class="wp-block-heading">Translate Categories &amp; Attributes <strong>without</strong> enabling Data WPML</h3>



<p>If you only want to translate <strong>Category</strong> names and <strong>Attributes</strong> (e.g., <em>Brand</em>, <em>Special</em>)—without turning on <strong>Data WPML</strong>—you can do it with two WordPress filters.</p>



<p><strong>Workflow in short:</strong></p>



<ol class="wp-block-list">
<li>Add the filter(s) below to your theme’s <code class="" data-line="">functions.php</code> (or a small helper plugin).</li>



<li>Make sure each source word exists in the <code class="" data-line="">asl_locator</code> translation file. Add it and <strong>Sync</strong> via Loco Translate.</li>
</ol>



<h4 class="wp-block-heading">A) Translate <strong>Categories</strong> with a Hook</h4>



<pre class="wp-block-prismatic-blocks"><code class="language-php" data-line="">/**
 * Translate ASL categories using PO/MO (no Data WPML needed).
 * Domain: asl_locator (same domain used by the plugin).
 */
add_filter(&#039;asl_filter_locator_categories&#039;, function ($categories) {
    foreach ($categories as $cat) {
        // Ensure the category name is picked from the .po/.mo translation
        $cat-&gt;name = esc_attr__($cat-&gt;name, &#039;asl_locator&#039;);
    }
    return $categories;
});</code></pre>



<p><strong>Remember:</strong> Add each category label to your <code class="" data-line="">asl_locator</code> language file and <strong>Sync</strong> in Loco Translate so the strings are available to translate. <a href="https://agilestorelocator.com/wiki/language-translation-store-locator/" target="_blank" rel="noreferrer noopener"></a></p>



<h4 class="wp-block-heading">B) Translate <strong>Attributes</strong> (Brand, Special, etc.) with a Hook</h4>



<p>The example below does two things:</p>



<ol class="wp-block-list">
<li><strong>(Optional)</strong> Keeps only brands that are actually used by stores (so your dropdown isn’t bloated).</li>



<li><strong>Translates</strong> the visible labels (e.g., Brand names) via your PO/MO file before returning the attributes.</li>
</ol>



<pre class="wp-block-prismatic-blocks"><code class="language-php" data-line="">/**
 * Translate attribute labels (Brand, Special, etc.) via PO/MO.
 * Works without Data WPML. Text domain: asl_locator
 */
add_filter(&#039;asl_filter_locator_attributes&#039;, function ($attributes) {
    // Only translate the visible labels; preserve array keys and objects.
    foreach ([&#039;brand&#039;, &#039;special&#039;] as $key) {
        if (!empty($attributes[$key]) &amp;&amp; is_array($attributes[$key])) {
            foreach ($attributes[$key] as $id =&gt; $obj) {
                if (is_object($obj) &amp;&amp; isset($obj-&gt;name)) {
                    // Pass through translation and escape for safe output
                    $obj-&gt;name = esc_attr__($obj-&gt;name, &#039;asl_locator&#039;);
                }
            }
        }
    }
    return $attributes;
});</code></pre>



<h4 class="wp-block-heading">C) Make the strings translatable (Loco Translate)</h4>



<ol class="wp-block-list">
<li><strong>Open Loco Translate ➜ Plugins ➜ Agile Store Locator.</strong></li>



<li>Pick your language (or create one), then <strong>Sync</strong> so your new source strings appear.</li>



<li>Search for your Category/Brand/Special labels and enter their translations.</li>



<li><strong>Save</strong>, then refresh the Store Locator frontend to see the translated labels.</li>
</ol>
]]></content:encoded>
					
		
		
		<media:content url="https://player.vimeo.com/video/829786955" medium="video" width="1600" height="900">
			<media:player url="https://player.vimeo.com/video/829786955" />
			<media:title type="plain">Labels Text Update</media:title>
			<media:description type="html"><![CDATA[Using the following way, any text on the frontend store locator can be changed, for more please visit https://agilestorelocator.com]]></media:description>
			<media:rating scheme="urn:simple">nonadult</media:rating>
		</media:content>
	</item>
		<item>
		<title>How can we change the Text of Store Locator Words?</title>
		<link>https://agilestorelocator.com/wiki/change-words-text-store-locator/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 15 Dec 2017 23:31:38 +0000</pubDate>
				<category><![CDATA[wiki]]></category>
		<guid isPermaLink="false">https://agilestorelocator.com/?p=1661</guid>

					<description><![CDATA[Site Language Option]]></description>
										<content:encoded><![CDATA[
<p>There are multiple ways to change any text in the Store Locator for the static words such as <em>Search Location, Website</em> button, etc, the most recommended way by WordPress itself is to do it via translation, below are the following options.</p>



<h3 class="wp-block-heading">1- Via Translation</h3>



<p>WordPress itself works and recommends changing the text via translation so none of the files are being changed and the translation can be available in multiple languages. To change the text via the translation, first of all, you have to make sure that you are changing the site translation file, that can be done via any translation plugin, we recommend <a href="https://wordpress.org/plugins/loco-translate/" target="_blank" rel="noreferrer noopener nofollow">Loco Translate</a> which is a free plugin, so once you are done with change text you can simply remove/deactivate that plugin.</p>



<p>To check your language, go to your WordPress admin panel, select &#8220;Settings&#8221;, then &#8220;General&#8221;, and check your &#8220;Site Language&#8221;, as shown in the image. </p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="988" height="241" src="https://agilestorelocator.com/wp-content/uploads/2022/04/site-langPNG.png" alt="site langPNG" class="wp-image-2506" title="How can we change the Text of Store Locator Words? 20" srcset="https://agilestorelocator.com/wp-content/uploads/2022/04/site-langPNG.png 988w, https://agilestorelocator.com/wp-content/uploads/2022/04/site-langPNG-300x73.png 300w, https://agilestorelocator.com/wp-content/uploads/2022/04/site-langPNG-768x187.png 768w, https://agilestorelocator.com/wp-content/uploads/2022/04/site-langPNG-350x85.png 350w, https://agilestorelocator.com/wp-content/uploads/2022/04/site-langPNG-76x19.png 76w" sizes="auto, (max-width: 988px) 100vw, 988px" /><figcaption class="wp-element-caption">Site Language Option</figcaption></figure>



<p>To read the full detail about changing it, please follow the guide article <a href="https://agilestorelocator.com/wiki/language-translation-store-locator/">Store Locator WordPress Translation</a>.</p>



<h3 class="wp-block-heading">2- Via WordPress Hooks</h3>



<p>Any Store Locator text can also be modified via some WordPress available hooks, for that you have to add the given code to your active theme functions.php file, here we have WordPress filter <strong>gettext</strong> to modify the text of the button from Website to Booking.</p>



<pre class="wp-block-prismatic-blocks"><code class="language-php" data-line="">/**
 * [asl_filter_text Changing text of the Store Locator]
 * @param  [type] $translation [description]
 * @param  [type] $text        [description]
 * @param  [type] $domain      [description]
 * @return [type]              [description]
 */
function asl_filter_text($translation, $text, $domain) {

	$asl_domain = &#039;asl_locator&#039;;

	if($domain == $asl_domain) {

		if($translation == &#039;Website&#039;) {

			$translations = get_translations_for_domain($asl_domain);			

			return $translations-&gt;translate( &#039;Booking&#039; );
		}
	}

	return $translation;
}

add_filter(&#039;gettext&#039;, &#039;asl_filter_text&#039;, 10, 4);

</code></pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Remove the Store Count Text</title>
		<link>https://agilestorelocator.com/wiki/remove-store-count-text/</link>
		
		<dc:creator><![CDATA[Talha Nadeem]]></dc:creator>
		<pubDate>Thu, 26 Aug 2021 06:33:59 +0000</pubDate>
				<category><![CDATA[wiki]]></category>
		<guid isPermaLink="false">https://agilestorelocator.com/?p=1988</guid>

					<description><![CDATA[The map in Agile Store Locator has a store list. Furthermore, the store list has a section on top that shows how many shops are listed which appears as “Number of Shops: x”, this is the store count.]]></description>
										<content:encoded><![CDATA[
<p>The map in Agile Store Locator has a store list. Furthermore, the store list has a section on top that shows how many shops are listed which appears as “Number of Shops: x”, this is the store count.&nbsp;</p>



<p>Moreover, a user is able to remove the store count if they want to.  To do so simply add the below CSS line to remove the store count.</p>



<pre class="wp-block-prismatic-blocks"><code class="language-css" data-line="">#asl-storelocator.asl-cont .Num_of_store span,
#asl-storelocator.asl-p-cont .Num_of_store span {opacity: 0;}</code></pre>



<p>The below image shows the result of using the above shortcode. Moreover, the store count is removed in the below image</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="326" height="499" src="https://agilestorelocator.com/wp-content/uploads/2021/08/store-count-removed.png" alt="Store Count Removed" class="wp-image-1989" title="Remove the Store Count Text 21" srcset="https://agilestorelocator.com/wp-content/uploads/2021/08/store-count-removed.png 326w, https://agilestorelocator.com/wp-content/uploads/2021/08/store-count-removed-196x300.png 196w, https://agilestorelocator.com/wp-content/uploads/2021/08/store-count-removed-172x263.png 172w, https://agilestorelocator.com/wp-content/uploads/2021/08/store-count-removed-37x57.png 37w" sizes="auto, (max-width: 326px) 100vw, 326px" /><figcaption class="wp-element-caption"><em>Store Count Removed</em></figcaption></figure>
</div>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to Change the Font Family</title>
		<link>https://agilestorelocator.com/wiki/change-the-font-family/</link>
		
		<dc:creator><![CDATA[Talha Nadeem]]></dc:creator>
		<pubDate>Thu, 26 Aug 2021 08:53:14 +0000</pubDate>
				<category><![CDATA[wiki]]></category>
		<guid isPermaLink="false">https://agilestorelocator.com/?p=1997</guid>

					<description><![CDATA[A user can change the font style in Agile Store Locator. As a result, the font used for development will change based on the user’s selection.]]></description>
										<content:encoded><![CDATA[
<p>A user can change the font style in Agile Store Locator to add a different look to the store locator. Moreover, the new font will be used for every aspect of the store locator.</p>



<p>Furthermore, to change the font family, please follow these steps:</p>



<p>1- On the main dashboard of WordPress go to “Appearance”</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="647" height="455" src="https://agilestorelocator.com/wp-content/uploads/2023/06/appearance-link.png" alt="appearance link" class="wp-image-3108" title="How to Change the Font Family 22" srcset="https://agilestorelocator.com/wp-content/uploads/2023/06/appearance-link.png 647w, https://agilestorelocator.com/wp-content/uploads/2023/06/appearance-link-300x211.png 300w, https://agilestorelocator.com/wp-content/uploads/2023/06/appearance-link-350x246.png 350w, https://agilestorelocator.com/wp-content/uploads/2023/06/appearance-link-76x53.png 76w" sizes="auto, (max-width: 647px) 100vw, 647px" /></figure>
</div>


<p>2- Select “Customize” and then go to “Additional CSS”</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="471" height="326" src="https://agilestorelocator.com/wp-content/uploads/2023/06/additional-css.png" alt="additional css" class="wp-image-3109" title="How to Change the Font Family 23" srcset="https://agilestorelocator.com/wp-content/uploads/2023/06/additional-css.png 471w, https://agilestorelocator.com/wp-content/uploads/2023/06/additional-css-300x208.png 300w, https://agilestorelocator.com/wp-content/uploads/2023/06/additional-css-350x242.png 350w, https://agilestorelocator.com/wp-content/uploads/2023/06/additional-css-76x53.png 76w" sizes="auto, (max-width: 471px) 100vw, 471px" /></figure>
</div>


<p>Paste the below code in “Additional CSS” and click on the Publish button.</p>



<pre class="wp-block-prismatic-blocks"><code class="language-css" data-line="">.asl-cont * {font-family: &#039;Oswald&#039;,Helvetica,Arial,Lucida,sans-serif !important;}</code></pre>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="347" height="357" src="https://agilestorelocator.com/wp-content/uploads/2023/06/additional-css-1.png" alt="additional css 1" class="wp-image-3110" title="How to Change the Font Family 24" srcset="https://agilestorelocator.com/wp-content/uploads/2023/06/additional-css-1.png 347w, https://agilestorelocator.com/wp-content/uploads/2023/06/additional-css-1-292x300.png 292w, https://agilestorelocator.com/wp-content/uploads/2023/06/additional-css-1-256x263.png 256w, https://agilestorelocator.com/wp-content/uploads/2023/06/additional-css-1-55x57.png 55w" sizes="auto, (max-width: 347px) 100vw, 347px" /></figure>
</div>


<p>Alternatively, you can paste the above code into the theme style.css, this is located under “Theme Editor” in the “Appearance” menu.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to add CSS class to the store locator?</title>
		<link>https://agilestorelocator.com/wiki/how-to-add-class-to-the-store-locator/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 24 Aug 2022 12:22:58 +0000</pubDate>
				<category><![CDATA[wiki]]></category>
		<guid isPermaLink="false">https://agilestorelocator.com/?p=2733</guid>

					<description><![CDATA[Store locator has a shortcode attribute named as css_class that can be applied in the shortcode to add additional CSS class on the store locator, see the example below. How it can be useful? The above shortcode attribute can be useful when you have more than one store locator and you want to personalize with ... <br><a href="https://agilestorelocator.com/wiki/how-to-add-class-to-the-store-locator/" class="text-muted readmore">Read More <i data-feather="chevron-right" class="fea icon-sm"></i></a>]]></description>
										<content:encoded><![CDATA[
<p>Store locator has a shortcode attribute named as css_class that can be applied in the shortcode to add additional CSS class on the store locator, see the example below.</p>



<pre class="wp-block-prismatic-blocks"><code class="language-git" data-line="">[ASL_STORELOCATOR css_class=&quot;my-second-locator&quot;]</code></pre>



<h4 class="wp-block-heading">How it can be useful?</h4>



<p>The above shortcode attribute can be useful when you have more than one store locator and you want to personalize with the your own CSS class and styles.</p>



<pre class="wp-block-prismatic-blocks"><code class="language-css" data-line="">.my-second-locator#asl-storelocator {--sl-primary: #FF0000;}</code></pre>



<p>With the CSS rule given above, the store locator color scheme can be changed easily by <a href="https://agilestorelocator.com/wiki/add-css-styles-lines/">adding the CSS rule</a>.</p>



<h2 class="wp-block-heading">Hide the Map on a Specific Page</h2>



<p>You can also use the <code class="" data-line="">css_class</code> attribute to <strong>hide the map</strong> on certain pages. Here’s how:</p>



<pre class="wp-block-prismatic-blocks"><code class="language-git" data-line="">[ASL_STORELOCATOR css_class=&quot;no-map-include&quot;]</code></pre>



<p>Then apply the <a href="https://agilestorelocator.com/wiki/add-css-styles-lines/" data-type="docs" data-id="1936">following CSS</a>:</p>



<pre class="wp-block-prismatic-blocks"><code class="language-css" data-line="">.no-map-include.asl-cont {
  overflow: hidden !important;
}
.no-map-include.asl-cont .asl-map {
  visibility: hidden; 
  position: absolute; 
  left: 100% !important;
}
.no-map-include.asl-cont .asl-panel {
  position: relative !important; 
  display: block !important; 
  width: 100% !important; 
  max-height: unset !important; 
  min-height: unset !important; 
  height: 300px !important;
}
#asl-storelocator.no-map-include.asl-cont #asl-panel {
  position: relative !important; 
  max-height: 100% !important; 
  min-height: 300px !important; 
  flex: 0 0 100% !important; 
  max-width: 100% !important;
}</code></pre>



<h3 class="wp-block-heading">Hide the Maps on Mobile Device</h3>



<pre class="wp-block-prismatic-blocks"><code class="language-css" data-line="">@media (max-width: 768px) {
    .asl-cont .asl-map {
        display: none !important;
    }
}</code></pre>



<h3 class="wp-block-heading">Alternative: Use the <code class="" data-line="">list</code> Template (No Map by Default)</h3>



<p>Instead of hiding the map with CSS, you can also use a built-in map-free template:</p>



<pre class="wp-block-prismatic-blocks"><code class="language-git" data-line="">[ASL_STORELOCATOR template=&quot;list&quot;]</code></pre>



<p>This template is designed to <strong>only show the list of stores</strong> where a map isn’t needed.</p>



<h2 class="wp-block-heading">Example for Template 3 (Multiple Color Schemes)</h2>



<p>Template 3 supports full color customization through CSS variables.<br>If you want to apply a separate color scheme to one instance of the locator using <strong>Template 3</strong>, target your custom wrapper class along with the template class (<code class="" data-line="">asl-template-3</code>).</p>



<pre class="wp-block-prismatic-blocks"><code class="language-css" data-line="">/* Custom color scheme for Template 3 */
body .my-second-locator.asl-cont.asl-template-3 {
    --sl-primary: #b24a59;
    --sl-header: #f7f7f7;
    --sl-header-color: #555d66;
    --sl-infobox-color: #555d66;
    --sl-infobox-bg: #ffffff;
    --sl-infobox-a: #b24a59;
    --sl-action-btn-color: #ffffff;
    --sl-action-btn-bg: #b24a59;
    --sl-color: #555d66;
    --sl-list-bg: #ffffff;
    --sl-list-title: #32373c;
    --sl-list-sub-title: #6a6a6a;
    --sl-highlighted: #f7edee;
    --sl-highlighted-list-color: #b24a59;
    --asl-mrk-infobox-clr: #b24a59;
}
</code></pre>



<p><br></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to Remove the Search Bar?</title>
		<link>https://agilestorelocator.com/wiki/remove-search-bar/</link>
		
		<dc:creator><![CDATA[Talha Nadeem]]></dc:creator>
		<pubDate>Tue, 14 Sep 2021 07:50:54 +0000</pubDate>
				<category><![CDATA[wiki]]></category>
		<guid isPermaLink="false">https://agilestorelocator.com/?p=2017</guid>

					<description><![CDATA[In Agile Store Locator, users are also given the option to remove the search bar from the store locator if they wish to do so.]]></description>
										<content:encoded><![CDATA[
<p>In Agile Store Locator, users are also given the option to remove the search bar from the store locator if they wish to do so.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="889" height="491" src="https://agilestorelocator.com/wp-content/uploads/2021/09/remove-search-bar.png" alt="Remove Search Bar" class="wp-image-2018" title="How to Remove the Search Bar? 25" srcset="https://agilestorelocator.com/wp-content/uploads/2021/09/remove-search-bar.png 889w, https://agilestorelocator.com/wp-content/uploads/2021/09/remove-search-bar-300x166.png 300w, https://agilestorelocator.com/wp-content/uploads/2021/09/remove-search-bar-768x424.png 768w, https://agilestorelocator.com/wp-content/uploads/2021/09/remove-search-bar-350x193.png 350w, https://agilestorelocator.com/wp-content/uploads/2021/09/remove-search-bar-76x42.png 76w" sizes="auto, (max-width: 889px) 100vw, 889px" /><figcaption class="wp-element-caption"><em>Remove Search Bar</em></figcaption></figure>



<p>To remove the search bar simply add the below <a href="https://agilestorelocator.com/wiki/add-css-styles-lines/">CSS line to the “Additional CSS” section</a>. This can be reached by going to the “Appearance” tab and selecting the “Customize” option.</p>



<p>Add this CSS line to remove the search bar.</p>



<pre class="wp-block-prismatic-blocks"><code class="language-css" data-line="">#asl-storelocator.asl-p-cont .Filter_section,
#asl-storelocator.asl-cont .Filter_section,
#asl-storelocator.asl-cont .sl-main-row .asl-panel .search_filter,
#asl-storelocator.asl-cont.asl-template-3 .sl-filter-sec {display: none !important;}</code></pre>



<p>Use the CSS rule below for a compact layout to bring the list to the top.</p>



<pre class="wp-block-prismatic-blocks"><code class="language-css" data-line="">#asl-storelocator.asl-cont .sl-main-row .asl-panel .asl-panel-inner {
    top: 0px !important;
}</code></pre>



<h3 class="wp-block-heading" id="h-remove-search-in-the-template-4">Remove Search in the Template 4</h3>



<p>To remove the search from the Template 4, use the CSS line below, and <a href="https://agilestorelocator.com/wiki/add-css-styles-lines/">paste that to your Additional CSS</a>.</p>



<pre class="wp-block-prismatic-blocks"><code class="language-css" data-line="">.asl-cont .search_filter {display: none;}</code></pre>



<h3 class="wp-block-heading">Center Search Control for Template 0</h3>



<p>To move the search control to the center while hiding the other controls, use the CSS lines below, and <a href="https://agilestorelocator.com/wiki/add-css-styles-lines/">paste that to your Additional CSS</a>.</p>



<pre class="wp-block-prismatic-blocks"><code class="language-css" data-line="">.asl-cont .Filter_section .search_filter + div {
    display: none;
}
#asl-storelocator.asl-cont .asl-wrapper .Filter_section .search_filter, #asl-storelocator.asl-cont .asl-wrapper .Filter_section .asl-name-search {
 margin: auto;   
}</code></pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Show Field in Bullets or List points</title>
		<link>https://agilestorelocator.com/wiki/custom-script-method-store-locator/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 19 Oct 2021 17:26:19 +0000</pubDate>
				<category><![CDATA[wiki]]></category>
		<guid isPermaLink="false">https://agilestorelocator.com/?p=2044</guid>

					<description><![CDATA[Since version 4.8.25 (published on 2 Feb 2023), users can display their comma-separated fields data in a list format by the newly provided list tag, for example, you have data in your description field something like below. To show the above field data in the list format, we can add such a tag through the ... <br><a href="https://agilestorelocator.com/wiki/custom-script-method-store-locator/" class="text-muted readmore">Read More <i data-feather="chevron-right" class="fea icon-sm"></i></a>]]></description>
										<content:encoded><![CDATA[
<p>Since version 4.8.25 (published on 2 Feb 2023), users can display their comma-separated fields data in a list format by the newly provided <strong>list</strong> tag, for example, you have data in your <strong>description</strong> field something like below.</p>



<pre class="wp-block-prismatic-blocks"><code class="language-git" data-line="">Apples are green,Mangoes are yellow,Grapes are purple</code></pre>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="652" height="177" src="https://agilestorelocator.com/wp-content/uploads/2023/03/description-field.png" alt="description field" class="wp-image-2982" title="Show Field in Bullets or List points 26" srcset="https://agilestorelocator.com/wp-content/uploads/2023/03/description-field.png 652w, https://agilestorelocator.com/wp-content/uploads/2023/03/description-field-300x81.png 300w, https://agilestorelocator.com/wp-content/uploads/2023/03/description-field-350x95.png 350w, https://agilestorelocator.com/wp-content/uploads/2023/03/description-field-76x21.png 76w" sizes="auto, (max-width: 652px) 100vw, 652px" /><figcaption class="wp-element-caption">Description field with the data comma-separated</figcaption></figure>
</div>


<p>To show the above field data in the list format, we can add such a tag through the <a href="https://agilestorelocator.com/wiki/store-locator-template-customizer/">Template Customizer</a>.</p>



<pre class="wp-block-prismatic-blocks"><code class="language-git" data-line="">&lt;div class=&quot;sl-row sl-desc&quot;&gt;
 &lt;div class=&quot;pol-12&quot;&gt;{{list description}}{{/list}}&lt;/div&gt;
&lt;/div&gt;</code></pre>



<p>Adding the above code will render the description in a list format based on <em>ul</em> and <em>li</em> tags of the HTML.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="404" height="300" src="https://agilestorelocator.com/wp-content/uploads/2023/03/list-format-description.png" alt="list format description" class="wp-image-2984" title="Show Field in Bullets or List points 27" srcset="https://agilestorelocator.com/wp-content/uploads/2023/03/list-format-description.png 404w, https://agilestorelocator.com/wp-content/uploads/2023/03/list-format-description-300x223.png 300w, https://agilestorelocator.com/wp-content/uploads/2023/03/list-format-description-350x260.png 350w, https://agilestorelocator.com/wp-content/uploads/2023/03/list-format-description-76x57.png 76w" sizes="auto, (max-width: 404px) 100vw, 404px" /><figcaption class="wp-element-caption">Description in List Format</figcaption></figure>
</div>


<h4 class="wp-block-heading">How to add more custom tags?</h4>



<p>Our store locator plugin uses the JSRender which is a very handy and powerful templating engine. Through JSREnder many functionalities can be achieved by creating new custom script template tags. </p>



<p>In this guide article, we will show how you can make use of a custom script. For the demo, we are considering a comma-separated field which we will modify into UL LI tags by using commas as the separator. Furthermore, each item will list in a new HTML LI element.</p>



<p>We are considering that we have a custom field named &#8220;food&#8221;. Moreover, this field has multiple items comma-separated which we will render into the list, such as this.</p>



<pre class="wp-block-prismatic-blocks"><code class="language-json" data-line="">[{&quot;id&quot;:&quot;1&quot;,&quot;title&quot;:&quot;Amanda Food Court&quot;,&quot;description&quot;:&quot;not available&quot;,&quot;street&quot;:&quot;45 North Street&quot;,&quot;city&quot;:&quot;Uitenhage&quot;,&quot;state&quot;:&quot;Eastern Cape&quot;,&quot;postal_code&quot;:&quot;5043&quot;,&quot;country&quot;:&quot;South Africa&quot;,&quot;lat&quot;:&quot;-33.749771&quot;,&quot;lng&quot;:&quot;25.405823&quot;,&quot;phone&quot;:&quot;041 111 3964&quot;,&quot;fax&quot;:&quot;&quot;,&quot;email&quot;:&quot;support@agilelogix.com&quot;,&quot;website&quot;:&quot;https:\/\/google.com&quot;,&quot;logo_id&quot;:&quot;1&quot;,&quot;path&quot;:&quot;default.png&quot;,&quot;marker_id&quot;:&quot;1&quot;,&quot;description_2&quot;:&quot;&quot;,&quot;open_hours&quot;:&quot;{\&quot;mon\&quot;:\&quot;1\&quot;,\&quot;tue\&quot;:\&quot;1\&quot;,\&quot;wed\&quot;:\&quot;1\&quot;,\&quot;thu\&quot;:\&quot;1\&quot;,\&quot;fri\&quot;:\&quot;1\&quot;,\&quot;sat\&quot;:\&quot;1\&quot;,\&quot;sun\&quot;:\&quot;1\&quot;}&quot;,&quot;ordr&quot;:&quot;0&quot;,&quot;brand&quot;:&quot;&quot;,&quot;product&quot;:&quot;&quot;,&quot;slug&quot;:&quot;amanda-food-court-uitenhage&quot;,&quot;categories&quot;:null,&quot;days_str&quot;:&quot;Mon, Tues, Wed, Thur, Fri, Sat, Sun&quot;,&quot;foods&quot;:&quot;Cakes, Beverages, BBQ, Steak&quot;}]</code></pre>



<p>First of all, we have to register a new js file, which we will name <strong>sl-tmpl-script.js</strong>. Furthermore, this file will be placed under the theme js directory with the script content as follows.</p>



<pre class="wp-block-prismatic-blocks"><code class="language-javascript" data-line="">//  Validate if the jquery views are initialized to be used?
if(window[&#039;asl_jQuery&#039;] &amp;&amp; asl_jQuery.views) {
  
  //  list Template
  asl_jQuery.views.tags(&quot;list&quot;, function(_field) {
    
    var list_html  = &#039;&#039;;
    
    if(_field) {

      var list_items = _field.split(&#039;,&#039;);

      if(list_items.length) {
        
        list_html  = list_items.forEach(function(item){
          return &#039;&lt;li&gt;&#039; + item + &#039;&lt;/li&gt;&#039;;
        });
        list_html  = &#039;&lt;ul class=&quot;sl-list-props&quot;&gt;&#039; + list_html.join(&#039;&#039;) + &#039;&lt;/ul&gt;&#039;;
      }
    }
    return list_html;
  });
}</code></pre>



<p>Once we have saved the js file, under the theme js directory, now we need to add these lines to our theme functions.php file.  These lines can be placed anywhere but it is preferred to be at the top of the file.</p>



<pre class="wp-block-prismatic-blocks"><code class="language-javascript" data-line="">/**
 * [asl_tmpl_update description]
 * @return [type] [description]
 */
function asl_tmpl_update() {
    
  wp_enqueue_script( &#039;asl-template-update&#039;, get_template_directory_uri() . &#039;/js/sl-tmpl-script.js&#039;, array(&#039;agile-store-locator-lib&#039;), &#039;1.0.0&#039;  );
}

add_action( &#039;wp_enqueue_scripts&#039;, &#039;asl_tmpl_update&#039; );</code></pre>



<p>As of now, our customization is complete. Therefore, we can simply use this newly created custom tag named like the <strong>list</strong> in our template file, as in the code below.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="566" src="https://agilestorelocator.com/wp-content/uploads/2021/10/image-1024x566.png" alt="image" class="wp-image-2045" title="Show Field in Bullets or List points 28" srcset="https://agilestorelocator.com/wp-content/uploads/2021/10/image-1024x566.png 1024w, https://agilestorelocator.com/wp-content/uploads/2021/10/image-300x166.png 300w, https://agilestorelocator.com/wp-content/uploads/2021/10/image-768x424.png 768w, https://agilestorelocator.com/wp-content/uploads/2021/10/image-350x193.png 350w, https://agilestorelocator.com/wp-content/uploads/2021/10/image-76x42.png 76w, https://agilestorelocator.com/wp-content/uploads/2021/10/image.png 1138w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">Template 0 &#8211; List Item HTML</figcaption></figure>



<p>Once we have saved the template file, the custom field should appear in the list format, as in the screenshot below.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="313" height="186" src="https://agilestorelocator.com/wp-content/uploads/2021/10/image-1.png" alt="image 1" class="wp-image-2046" title="Show Field in Bullets or List points 29" srcset="https://agilestorelocator.com/wp-content/uploads/2021/10/image-1.png 313w, https://agilestorelocator.com/wp-content/uploads/2021/10/image-1-300x178.png 300w, https://agilestorelocator.com/wp-content/uploads/2021/10/image-1-76x45.png 76w" sizes="auto, (max-width: 313px) 100vw, 313px" /><figcaption class="wp-element-caption">List of the Store Locator with the custom field in the list format</figcaption></figure>
</div>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
