<?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>Shortcodes - Our-Hometown</title>
	<atom:link href="https://our-hometown.com/docs/our-hometown-knowledgebase/shortcodes/feed/" rel="self" type="application/rss+xml" />
	<link>https://our-hometown.com</link>
	<description>Your Newspaper&#039;s Future, Today.</description>
	<lastBuildDate>Sun, 15 Dec 2019 08:05:15 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.2</generator>

<image>
	<url>https://our-hometown.com/wp-content/uploads/cropped-our-hometown-block-no-texxt-32x32.jpg</url>
	<title>Shortcodes - Our-Hometown</title>
	<link>https://our-hometown.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Embedding A Form</title>
		<link>https://our-hometown.com/docs/embedding-a-form/</link>
		
		<dc:creator><![CDATA[Our Hometown, Inc.]]></dc:creator>
		<pubDate>Fri, 04 May 2018 16:52:05 +0000</pubDate>
				<guid isPermaLink="false">http://our-hometown.com/?post_type=docit&#038;p=19215</guid>

					<description><![CDATA[<p>Page/Post Editor Shortcode Builder From the Page or Post Editor you can click on the Form icon in the Upload/Insert toolbar. This is located to the left of the Visual/HTML tabs in the body text editor. Clicking on the Form icon will activate the insert form modal window. Using the shortcode builder you will first want to select a form from the Select a Form dropdown. If you are unable to find […]</p>
<p>The post <a href="https://our-hometown.com/docs/embedding-a-form/">Embedding A Form</a> first appeared on <a href="https://our-hometown.com">Our-Hometown</a>.</p>]]></description>
										<content:encoded><![CDATA[<h2>Page/Post Editor</h2>
<h3>Shortcode Builder</h3>
<p>From the Page or Post Editor you can click on the Form icon in the Upload/Insert toolbar. This is located to the left of the Visual/HTML tabs in the body text editor. Clicking on the Form icon will activate the insert form modal window.</p>
<p>Using the shortcode builder you will first want to select a form from the <em>Select a Form</em> dropdown. If you are unable to find your form in the dropdown list, return to the Edit Forms page and ensure that your form is active. Once you have selected a form, you can specify the following options:</p>
<ul>
<li><strong>Display form title</strong><br />
Checking this option will display the form title</li>
<li><strong>Display form description</strong><br />
Checking this option will display the form description</li>
<li><strong>Enable AJAX</strong><br />
Checking this option will enable your form to be submitted via AJAX. Submitting the form via AJAX allows the form to be submitted without requiring a page refresh.</li>
</ul>
<p><span class="gf-docs-message gf-docs-notice">Please note, due to limitations with reCAPTCHA, forms containing a reCAPTCHA field will not be submitted via AJAX even if this option is enabled.</span></p>
<p>After you have specified your desired options, click <strong>Insert Form</strong> to automatically insert the Gravity Forms shortcode into the body of the post/page content you are editing.</p>
<h3>Shortcode Manually</h3>
<p>If you would like to build the WordPress shortcode manually, you may do so using the format and options below. You may then insert the shortcode into the body of the page or post you would like the form to appear in.</p>
<p>Example:</p>
<div>
<div id="highlighter_996003" class="syntaxhighlighter  xml">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="code">
<div class="container">
<div class="line number1 index0 alt2"><code class="xml plain"></code></div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<ul>
<li><strong>id</strong><br />
The id of the form to be embedded. <em>(required)</em></li>
<li><strong>title</strong><br />
Whether or not to display the form title. Defaults to ‘true’. <em>(optional)</em></li>
<li><strong>description</strong><br />
Whether or not to display the form description. Defaults to ‘true’. <em>(optional)</em></li>
<li><strong>ajax</strong><br />
Specify whether or not to use AJAX to submit the form.</li>
<li><strong>tabindex</strong><br />
Specify the starting tab index for the fields of this form.</li>
<li><strong>field_values</strong></li>
</ul><p>The post <a href="https://our-hometown.com/docs/embedding-a-form/">Embedding A Form</a> first appeared on <a href="https://our-hometown.com">Our-Hometown</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Memberpress Shortcodes</title>
		<link>https://our-hometown.com/docs/memberpress-shortcodes/</link>
		
		<dc:creator><![CDATA[Our Hometown, Inc.]]></dc:creator>
		<pubDate>Thu, 28 Dec 2017 15:31:19 +0000</pubDate>
				<guid isPermaLink="false">http://our-hometown.com/?post_type=docit&#038;p=4960</guid>

					<description><![CDATA[<p>What is a shortcode? Shortcodes are small placeholders you can insert almost anywhere within your WordPress page and post content. When the page is viewed by a visitor, those placeholders get processed and replaced with some dynamically generated content instead. For example, you might have a shortcode that will show the currently logged in user their first name. A shortcode might look like  . When the page that shortcode is on […]</p>
<p>The post <a href="https://our-hometown.com/docs/memberpress-shortcodes/">Memberpress Shortcodes</a> first appeared on <a href="https://our-hometown.com">Our-Hometown</a>.</p>]]></description>
										<content:encoded><![CDATA[<h2>What is a shortcode?</h2>
<p>Shortcodes are small placeholders you can insert almost anywhere within your WordPress page and post content. When the page is viewed by a visitor, those placeholders get processed and replaced with some dynamically generated content instead. For example, you might have a shortcode that will show the currently logged in user their first name. A shortcode might look like  <strong></strong>. When the page that shortcode is on gets viewed by a logged in user named John Doe. The page would show <strong>John</strong> in the content where that shortcode had been placed.</p>
<h2>Currently Available Shortcodes</h2>
<h4>Account Related</h4>
<p><strong>
<div id="mepr-logged-out-template">
  <span class="mepr-link-span"><a href="https://our-hometown.com/login/">Login</a></span>
</div>

</strong>Shows a link to the Account page in MemberPress. Can be used on any page or post.</p>
<p><strong><div class="mp_wrapper">
  <div class="mepr-unauthorized-message">
    You are unauthorized to view this page.  </div>
  <div class="mepr-login-form-wrap">
            
<div class="mp_wrapper mp_login_form">
                  <!-- mp-login-form-start -->     <form name="mepr_loginform" id="mepr_loginform" class="mepr-form" action="https://our-hometown.com/login/" method="post">
            <div class="mp-form-row mepr_username">
        <div class="mp-form-label">
                              <label for="user_login">Username or E-mail</label>
                  </div>
        <input type="text" name="log" id="user_login" value="" />
      </div>
      <div class="mp-form-row mepr_password">
        <div class="mp-form-label">
          <label for="user_pass">Password</label>
                    <div class="mp-hide-pw">
            <input type="password" name="pwd" id="user_pass" value="" />
            <button type="button" class="button mp-hide-pw hide-if-no-js" data-toggle="0" aria-label="Show password">
              <span class="dashicons dashicons-visibility" aria-hidden="true"></span>
            </button>
          </div>
        </div>
      </div>
            <div>
        <label><input name="rememberme" type="checkbox" id="rememberme" value="forever" /> Remember Me</label>
      </div>
      <div class="mp-spacer">&nbsp;</div>
      <div class="submit">
        <input type="submit" name="wp-submit" id="wp-submit" class="button-primary mepr-share-button " value="Log In" />
        <input type="hidden" name="redirect_to" value="/docs/our-hometown-knowledgebase/shortcodes/feed/" />
        <input type="hidden" name="mepr_process_login_form" value="true" />
        <input type="hidden" name="mepr_is_login_page" value="false" />
      </div>
    </form>
    <div class="mp-spacer">&nbsp;</div>
    <div class="mepr-login-actions">
      <a href="https://our-hometown.com/login/?action=forgot_password">Forgot Password</a>
    </div>

      
    <!-- mp-login-form-end --> 
  </div>
      </div>
</div>


</strong>Shows the user account information form. This typically isn&#8217;t used, unless you want to show account information somewhere besides the MemberPress Account page that exists by default. This can also be useful for folks using WPML who create separate account pages for each language.</p>
<p><strong></strong> (beta)<br />
Displays a list of the current user&#8217;s active and inactive subscriptions. This shortcode is currently in beta and its output may change in the future or new features and parameters may be added.</p>
<div><strong>      <a href="https://our-hometown.com/login/?redirect_to=https%3A%2F%2Four-hometown.com%2Fdocs%2Fmemberpress-shortcodes%2F">Login</a>
            
</strong><strong>      <a href="https://our-hometown.com/login/?redirect_to=https%3A%2F%2Four-hometown.com%2Fdocs%2Fmemberpress-shortcodes%2F">Login</a>
            </strong><br />
The above two shortcodes are both identical. They show login or logout links based on the current user&#8217;s logged in status. The login link will direct the user to the MemberPress login page where they can login. The logout link will log the user out, and redirect them to the Logout Redirect URL you have set in your MemberPress Options.</div>
<div>
<p><strong>
<div class="mp_wrapper mp_login_form">
                  <!-- mp-login-form-start -->     <form name="mepr_loginform" id="mepr_loginform" class="mepr-form" action="https://our-hometown.com/login/" method="post">
            <div class="mp-form-row mepr_username">
        <div class="mp-form-label">
                              <label for="user_login">Username or E-mail</label>
                  </div>
        <input type="text" name="log" id="user_login" value="" />
      </div>
      <div class="mp-form-row mepr_password">
        <div class="mp-form-label">
          <label for="user_pass">Password</label>
                    <div class="mp-hide-pw">
            <input type="password" name="pwd" id="user_pass" value="" />
            <button type="button" class="button mp-hide-pw hide-if-no-js" data-toggle="0" aria-label="Show password">
              <span class="dashicons dashicons-visibility" aria-hidden="true"></span>
            </button>
          </div>
        </div>
      </div>
            <div>
        <label><input name="rememberme" type="checkbox" id="rememberme" value="forever" /> Remember Me</label>
      </div>
      <div class="mp-spacer">&nbsp;</div>
      <div class="submit">
        <input type="submit" name="wp-submit" id="wp-submit" class="button-primary mepr-share-button " value="Log In" />
        <input type="hidden" name="redirect_to" value="https://our-hometown.com/#" />
        <input type="hidden" name="mepr_process_login_form" value="true" />
        <input type="hidden" name="mepr_is_login_page" value="true" />
      </div>
    </form>
    <div class="mp-spacer">&nbsp;</div>
    <div class="mepr-login-actions">
      <a href="https://our-hometown.com/login/?action=forgot_password">Forgot Password</a>
    </div>

      
    <!-- mp-login-form-end --> 
  </div>

</strong>Shows a login form on a page or post. Can be used anywhere. When <em>use_redirect = true</em>, MemberPress will redirect the user to the login redirect URL setting located in the MemberPress Options.</p>
<p><strong>
</strong>Displays the user meta field which is chosen by &#8220;slug&#8221;</p>
<table style="width: 850px;">
<tbody>
<tr>
<td style="width: 240px;"><strong>Slug</strong></td>
<td style="width: 596px;"><strong>Result</strong></td>
</tr>
<tr>
<td style="width: 240px;">full_name</td>
<td style="width: 596px;">John Doe</td>
</tr>
<tr>
<td style="width: 240px;">full_name_last_first</td>
<td style="width: 596px;">Doe, John</td>
</tr>
<tr>
<td style="width: 240px;">first_name_last_initial</td>
<td style="width: 596px;">John D.</td>
</tr>
<tr>
<td style="width: 240px;">last_name_first_initial</td>
<td style="width: 596px;">Doe, J.</td>
</tr>
<tr>
<td style="width: 240px;">first_name</td>
<td style="width: 596px;">John</td>
</tr>
<tr>
<td style="width: 240px;">last_name</td>
<td style="width: 596px;">Doe</td>
</tr>
<tr>
<td style="width: 240px;">user_login</td>
<td style="width: 596px;">johndoe</td>
</tr>
<tr>
<td style="width: 240px;">user_email</td>
<td style="width: 596px;">johndoe@email.com</td>
</tr>
<tr>
<td style="width: 240px;">nickname</td>
<td style="width: 596px;">johndoe</td>
</tr>
<tr>
<td style="width: 240px;">description</td>
<td style="width: 596px;">(aka Biographical info)</td>
</tr>
<tr>
<td style="width: 240px;">mepr-address-one</td>
<td style="width: 596px;">123 Fake Street</td>
</tr>
<tr>
<td style="width: 240px;">mepr-address-two</td>
<td style="width: 596px;">Apt. 123</td>
</tr>
<tr>
<td style="width: 240px;">mepr-address-city</td>
<td style="width: 596px;">Vidor</td>
</tr>
<tr>
<td style="width: 240px;">mepr-address-state</td>
<td style="width: 596px;">Texas</td>
</tr>
<tr>
<td style="width: 240px;">mepr-address-zip</td>
<td style="width: 596px;">77662</td>
</tr>
<tr>
<td style="width: 240px;">mepr-address-country</td>
<td style="width: 596px;">USA</td>
</tr>
<tr>
<td style="width: 240px;">mepr_user_message</td>
<td style="width: 596px;">The &#8220;Custom MemberPress Account Message&#8221; you have defined for the member in their profile</td>
</tr>
<tr>
<td style="width: 240px;">user_registered</td>
<td style="width: 596px;">The date/time the user first joined your site</td>
</tr>
<tr>
<td style="width: 240px;">display_name</td>
<td style="width: 596px;">johndoe</td>
</tr>
<tr>
<td style="width: 240px;">ID</td>
<td style="width: 596px;">The unique ID assigned to the user upon registration. Must be entered as ID, not id.</td>
</tr>
<tr>
<td style="width: 240px;">&#8220;Your custom Slug&#8221;</td>
<td style="width: 596px;">Any of the Custom Account Field slugs in the MemberPress options.</td>
</tr>
</tbody>
</table>
<h4>Unauthorized Access Related</h4>
<p><strong><div class="mp_wrapper">
  <div class="mepr-unauthorized-message">
    You are unauthorized to view this page.  </div>
  <div class="mepr-login-form-wrap">
      </div>
</div>


</strong>Shows the unauthorized message wherever this is placed. If you&#8217;ve set MemberPress up to redirect unauthorized visitors to a specific URL, then we recommend using this shortcode on that unauthorized page.</p>
<p><strong></strong><br />
<strong></strong>Content to hide in here<strong></strong><br />
Both shortcodes above support if=&#8221;X&#8221; attribute, where &#8220;X&#8221; can be &#8220;loggedin&#8221; or &#8220;loggedout&#8221;. Both shortcodes work on whether the user is logged in or logged out, and does not care what, if any, Memberships the user has purchased. Examples of this could be: <em><strong></strong>. <strong></strong>You’re now logged out!</em><strong><em></em></strong>.</p>
<p><strong>
</strong>Used to show or hide content on pages throughout your site. This shortcode supports the following parameters (parameters marked with * are required. Only <strong>one</strong> parameter in red below can be applied per shortcode):</p>
<table>
<tbody>
<tr>
<td><strong>Shortcode Parameters</strong></td>
<td><strong>Description</strong></td>
</tr>
<tr>
<td>rule(s)*</td>
<td>If you plan to use a single Rule ID, then set this to rule=&#8221;X&#8221;. If you plan to use multiple Rule ID&#8217;s, then set this to rules=&#8221;X, XX, XXX&#8221;. Where X&#8217;s = the ID&#8217;s of the Rule(s).</td>
</tr>
<tr>
<td>membership(s)*</td>
<td>If you plan to use a single Membership ID, then set this to membership=&#8221;X&#8221;. If you plan to use multiple Membership ID&#8217;s, then set this to memberships=&#8221;X, XX, XXX&#8221;. Where X&#8217;s = the ID&#8217;s of the Membership(s).</td>
</tr>
<tr>
<td>ifallowed*</td>
<td>When set to ifallowed=&#8221;show&#8221; the content in-between is shown to authorized members only. When set to ifallowed=&#8221;hide&#8221;, the content is hidden from authorized members.</td>
</tr>
<tr>
<td>unauth</td>
<td>If set to unauth=&#8221;message&#8221; &#8211; the user will be shown the unauthorized message when they are not authorized. If set to unauth=&#8221;login&#8221; &#8211; the user will see the login form when they are unauthorized. If set to unauth=&#8221;both&#8221; &#8211; the user will see the  <em>default</em> unauthorized message followed by the login form. <strong>NOTE:</strong> when set to, &#8220;message&#8221; or, &#8220;both&#8221; the code will not display any custom unauthorized message you have set for your rule(s). It only works to display the <em>default</em> unauthorized message.</td>
</tr>
<tr>
<td>unauth_message</td>
<td>Use this to override the default unauthorized message. This only applies when the &#8220;unauth&#8221; attribute above is set equal to &#8220;message&#8221; or &#8220;both&#8221;.</td>
</tr>
</tbody>
</table>
<p>An  <strong>example shortcode</strong> using all above attributes might look like the following:<br />
<strong><div class="mepr_error">Download link hidden, please login or purchase a membership to view.</div></strong></p>
<h4>Registration Related</h4>
<p><strong>
<div class="mepr-price-menu minimal_gray_horizontal minimal_horizontal">
  <div class="mepr-price-boxes mepr-0-col">
    </div>
</div>

</strong>Helpful if you want to place content above and below the group pricing boxes. If you&#8217;re using this on the Group page itself, there&#8217;s no need to specify a group_id. If you want to use it elsewhere on your site, you will need the group_id attribute on it.</p>
<p><strong></strong>Link text in here<strong>
</strong>Shows a link to the Membership identified by &#8220;id&#8221;.</p>
<p><strong></strong>Link text here<strong></strong><br />
Uses the Membership access URL set in the &#8220;Membership access URL&#8221; setting under the Membership Options section. Use this anywhere on your site to give the member a link to the Membership access URL.</p>
<p><strong>
</strong>Helpful if you want to place content above and below the Membership registration form. Can ONLY be used on the Membership page.</p>
<p><strong>
</strong>You can use this shortcode on any WordPress page, post, or custom post type to display the membership registration form of a specific membership. Simply replace <strong>123</strong> with your own memberships unique ID. <strong>IMPORTANT:</strong> When using this, you&#8217;ll most likely need to also enable the Global CSS option your Options &gt; General of MemberPress to prevent errors from appearing on the form.</p>
<p><strong></strong>Click Here<strong></strong><br />
Displays a link pointing to the URL you have set as the Membership Access URL setting on the Membership. id = 123 should be replaced with the ID of your Membership.</p>
<p><strong>
</strong>This shortcode can be used on your thank you pages to display any type of message specific to users who registered via your offline gateway option. For gateway_id=&#8221;abc-123&#8243;, enter your gateway&#8217;s ID. Could be used to provide additional instructions for users when they purchase your membership through your offline gateway. <strong>Note:</strong> Though we designed this specifically with offline gateways in mind, it can be used successfully with the gateway ID of any other MemberPress supported gateway.</p>
</div><p>The post <a href="https://our-hometown.com/docs/memberpress-shortcodes/">Memberpress Shortcodes</a> first appeared on <a href="https://our-hometown.com">Our-Hometown</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Event Manager &#038; Calendar Shortcodes</title>
		<link>https://our-hometown.com/docs/event-manager-calendar-shortcodes/</link>
		
		<dc:creator><![CDATA[Our Hometown, Inc.]]></dc:creator>
		<pubDate>Thu, 01 Jun 2017 13:39:49 +0000</pubDate>
				<guid isPermaLink="false">http://our-hometown.com/?post_type=docit&#038;p=4602</guid>

					<description><![CDATA[<p>Event Manager Shortcodes Event Listings Shortcode: [gd_event_listing] Parameters: category – ID number of the category to show (default = 0 for all) post_number – Number of posts to show (default = 5) layout – Number of columns to show (default = 2) add_location_filter – True or False (default = false) listing_width – A percent between 20 and 100 (default = ‘’) list_sort – One of az, upcoming, latest, featured, high_review, high_rating, random […]</p>
<p>The post <a href="https://our-hometown.com/docs/event-manager-calendar-shortcodes/">Event Manager & Calendar Shortcodes</a> first appeared on <a href="https://our-hometown.com">Our-Hometown</a>.</p>]]></description>
										<content:encoded><![CDATA[<div class="entry-content">
<header>
<h1 class="entry-title">Event Manager Shortcodes</h1>
</header>
<h3>Event Listings</h3>
<h4>Shortcode: [gd_event_listing]</h4>
<p>Parameters:</p>
<ul>
<li><strong>category</strong> – ID number of the category to show (default = 0 for all)</li>
<li><strong>post_number</strong> – Number of posts to show (default = 5)</li>
<li><strong>layout</strong> – Number of columns to show (default = 2)</li>
<li><strong>add_location_filter</strong> – True or False (default = false)</li>
<li><strong>listing_width</strong> – A percent between 20 and 100 (default = ‘’)</li>
<li><strong>list_sort</strong> – One of az, upcoming, latest, featured, high_review, high_rating, random (default = latest)</li>
<li><strong>list_filter</strong> – One of all, today, upcoming, past (default = all)</li>
<li><strong>character_count</strong> – Number of characters to show from the Excerpt (Min/default = 20)</li>
<li><strong>title</strong> – title</li>
</ul>
<p>This example shows a widget with 5 listings in a row of 5 (5 grid), showing upcoming events ordered by earliest first, and the widget will have a tile <em><strong>Featured Events</strong></em>:</p>
<p><code>[gd_event_listing layout=5 post_number=5 list_sort=upcoming list_filter=upcoming title=”Featured Events”]</code></p>
<h3>Event Calendar</h3>
<h4>Shortcode: [gd_event_calendar]</h4>
<h5>Parameters:</h5>
<ul>
<li><strong>title</strong> – title</li>
</ul>
<ul>
<li><strong>day</strong> – One of sunday or monday</li>
</ul>
<h3>Related Events</h3>
<h4>Shortcode: gd_related_events]</h4>
<p>Parameters:</p>
<ul>
<li>post_number – Number of posts to show (default = 5)</li>
</ul>
<ul>
<li>layout – Number of columns to show (default = 2)</li>
<li>event_type – One of all, today, upcoming, past (default = all)</li>
<li>add_location_filter – True or False (default = false)</li>
<li>listing_width – A percent between 20 and 100 (default = ‘’)</li>
<li>list_sort – One of az, latest, featured, high_review, high_rating, random (default = latest)</li>
<li>character_count – Number of characters to show from the Excerpt (Min/default = 20)</li>
</ul>
</div><p>The post <a href="https://our-hometown.com/docs/event-manager-calendar-shortcodes/">Event Manager & Calendar Shortcodes</a> first appeared on <a href="https://our-hometown.com">Our-Hometown</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Directory Shortcodes</title>
		<link>https://our-hometown.com/docs/directory-shortcodes/</link>
		
		<dc:creator><![CDATA[Our Hometown, Inc.]]></dc:creator>
		<pubDate>Thu, 01 Jun 2017 13:38:19 +0000</pubDate>
				<guid isPermaLink="false">http://our-hometown.com/?post_type=docit&#038;p=4600</guid>

					<description><![CDATA[<p>Shortcodes are ways to place widgets on pages if you have no widgetized areas to use. Sometimes they let you place content when widgets don’t exist. Home Page Map Shortcode: [gd_homepage_map] This shortcode is the equivalent of the GD > GMap – Home Page widget. Parameters: width – A number of pixels or percent (default = 960px) height – A number of pixels (default = 425px) maptype – One of HYBRID, […]</p>
<p>The post <a href="https://our-hometown.com/docs/directory-shortcodes/">Directory Shortcodes</a> first appeared on <a href="https://our-hometown.com">Our-Hometown</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Shortcodes are ways to place widgets on pages if you have no widgetized areas to use. Sometimes they let you place content when widgets don&#8217;t exist.</p>
<h3>Home Page Map</h3>
<h4>Shortcode: [gd_homepage_map]</h4>
<p>This shortcode is the equivalent of the <em><strong>GD &gt; GMap – Home Page</strong></em> widget.</p>
<h5>Parameters:</h5>
<ul>
<li><strong>width</strong> – A number of pixels or percent (default = 960px)</li>
<li><strong>height</strong> – A number of pixels (default = 425px)</li>
<li><strong>maptype</strong> – One of HYBRID, SATELLITE or ROADMAP (default = ROADMAP) – not case sensitive</li>
<li><strong>zoom</strong> – A number between 1 (narrowest) or 19 (widest) (default = 13)</li>
<li><strong>autozoom</strong> – True or False (default = false)</li>
<li><strong>child_collapse</strong> – True or False (default = false)</li>
<li><strong>scrollwheel</strong> – True or False (default = false)</li>
<li><strong>marker_cluster</strong> – 1 or on – 0 or off, (default = 0)</li>
</ul>
<p>Example: <code>[gd_homepage_map width=100% height=300 scrollwheel=false]</code></p>
<h3>Custom Post Type Categories</h3>
<h4>Shortcode: [gd_cpt_categories]</h4>
<p>This shortcode is the equivalent of the <em><strong>GD &gt; CPT – Categories</strong></em> widget.</p>
<h5>Parameters:</h5>
<ul>
<li><strong>title</strong> – the title for the cpt categories</li>
<li><strong>post_type</strong> – The custom post types to use (default = shows all) (examples: ‘gd_place’ or ‘gd_place,gd_event’)</li>
<li><strong>hide_empty</strong> – Hide empty categories? True or False (default = false)</li>
<li><strong>show_count</strong> – Show category count? True or False (default = false)</li>
<li><strong>hide_icon</strong> – Hide category icon? True or False (default = false)</li>
<li><strong>cpt_left</strong> – Show CPT on same line? True or False (default = false)</li>
<li><strong>sort_by</strong> – Categories sort by. ‘az’ or ‘count’ (default = count)</li>
<li><strong>max_count</strong> – Maximum number of sub-categories count. (default = shows all)</li>
<li><strong>max_level</strong> – Maximum level of sub-categories depth. (default = 1)</li>
</ul>
<p>Example: <code>[gd_cpt_categories show_count=1]</code></p>
<h3>Listings Page Map</h3>
<h4>Shortcode: [gd_listing_map]</h4>
<p>This shortcode is the equivalent of the <em><strong>GD &gt; GMap – Listing Page</strong></em> widget.</p>
<h5>Parameters:</h5>
<ul>
<li><strong>width</strong> – A number of pixels or percent (default = 294px)</li>
<li><strong>height</strong> – A number of pixels or percent (default = 370px)</li>
<li><strong>zoom</strong> – A number between 1 (narrowest) or 19 (widest) (default = 13)</li>
<li><strong>autozoom</strong> – True or False (default = false)</li>
<li><strong>sticky</strong> – True or False (default = false)</li>
<li><strong>scrollwheel</strong> – True or False (default = false)</li>
<li><strong>marker_cluster</strong> – 1 or on – 0 or off, (default = 0)</li>
<li><strong>maptype</strong> – One of HYBRID, SATELLITE or ROADMAP (default = ROADMAP) – not case sensitive</li>
<li><strong>post_type</strong> – The slug for the post_type (default = gd_place)</li>
<li><strong>event_type</strong> – The events filter (for gd_event CPT only) (default = all)<br />
Options: all, today, upcoming, past</li>
<li><strong>category</strong> – ID number of the category to show – if more than one, separate by comma (default = 0 for all)</li>
</ul>
<p>Example: <code>[gd_listing_map width=100% height=300 scrollwheel=false category="2,3,4"]</code></p>
<h3>Listing Slider</h3>
<h4>Shortcode: [gd_listing_slider]</h4>
<p>This shortcode is the equivalent of the <em><strong>GD &gt; Listing Slider</strong></em> widget.</p>
<h5>Parameters:</h5>
<ul>
<li><strong>post_type</strong> – The slug for the post_type (default = gd_place)</li>
<li><strong>category</strong> – ID number of the category to show (default = 0 for all)</li>
<li><strong>post_number</strong> – Number of posts to show (default = 5)</li>
<li><strong>slideshow</strong> – True or False (default = false)</li>
<li><strong>animation_loop</strong> – True or False (default = false)</li>
<li><strong>direction_nav</strong> – True or False (default = false)</li>
<li><strong>slideshow_speed</strong> – A positive number of milliseconds (default = 5000)</li>
<li><strong>animation_speed</strong> – A positive number of milliseconds (default = 600)</li>
<li><strong>animation</strong> – Either slide or fade (default = slide)</li>
<li><strong>order_by</strong> – One of az, latest, featured, high_review, high_rating, random (default = latest)</li>
<li><strong>show_title</strong> – True or False (default = false)(this is the post title over image)</li>
<li><strong>show_featured_only</strong> – True or False (default = false)</li>
<li><strong>title</strong> – the title for the title of the slider</li>
</ul>
<p>Example: <code>[gd_listing_slider post_number=5 category=3 slideshow=true show_featured_only=true]</code></p>
<h3>Login Box</h3>
<h4>Shortcode: [gd_login_box]</h4>
<p>This shortcode is the equivalent of the <em><strong>GD &gt; Login box</strong></em> widget.</p>
<h5>No parameters</h5>
<p>Example: <code>[gd_login_box]</code></p>
<h3>Popular Post Category</h3>
<p>Shortcode: [gd_popular_post_category]
<p>This shortcode is the equivalent of the <em><strong>GD &gt; Popular Post Category</strong></em> widget.</p>
<h5>Parameters:</h5>
<ul>
<li><strong>category_limit</strong> – Number of categories to show (default = 15)</li>
<li><strong>title</strong> – (default = ‘Popular Categories’)</li>
</ul>
<p>Example: <code>[gd_popular_post_category category_limit=10]</code></p>
<h3>Popular Post View</h3>
<h4>Shortcode: <code>[gd_popular_post_view]</code></h4>
<p>This shortcode is the equivalent of the <a href="https://wpgeodirectory.com/docs/widgets/#popular-post"><em><strong>GD &gt; Popular Post View</strong></em></a> widget.</p>
<h5>Parameters:</h5>
<ul>
<li>post_type – The slug for the post_type (default = gd_place)</li>
<li>category – ID number of the category to show (default = 0 for all)</li>
<li>post_number – Number of posts to show (default = 5)</li>
<li>layout – Number of columns to show (default = 2)</li>
<li>add_location_filter – True or False (default = false)</li>
<li>list_sort – One of az, latest, featured, high_review, high_rating, random (default = latest)</li>
<li>use_viewing_post_type – True or False (default = false)</li>
<li>character_count – Number of characters to show from the Excerpt (Min/default = 20)</li>
<li>listing_width – A percent between 20 and 100 (default = ‘’)</li>
<li>show_featured_only – True or False (default = false)</li>
<li>show_special_only – True or False (default = false)</li>
<li>with_pics_only – True or False (default = false)</li>
<li>with_videos_only – True or False (default = false)</li>
<li>title – (default = ‘the name of the custom post type’)</li>
</ul>
<p>Example:</p>
<p><code>[gd_popular_post_view category=3 layout=5 add_location_filter=true character_count=0 show_featured_only=true]</code></p>
<h3>Recent Reviews</h3>
<h4>Shortcode: [gd_recent_reviews]</h4>
<p>This shortcode is the equivalent of the <a href="https://wpgeodirectory.com/docs/widgets/#recent-reviews"><em><strong>GD &gt; Recent Reviews</strong></em></a> widget.</p>
<h5>Parameters:</h5>
<ul>
<li><strong>count</strong> – Number of posts to show (default = 5)</li>
</ul>
<p>Example: <code>[gd_recent_reviews count=5]</code></p>
<h3>Related Listings</h3>
<h4>Shortcode: [gd_related_listings]</h4>
<p>This shortcodes is the equivalent of the <a href="https://wpgeodirectory.com/docs/widgets/#related-listing"><em><strong>GD &gt; Related Listings</strong></em></a> widget.</p>
<h5>Parameters:</h5>
<ul>
<li><strong>post_number</strong> – Number of posts to show (default = 5)</li>
<li><strong>relate_to</strong> – Either category or tags (default=category)</li>
<li><strong>layout</strong> – Number of columns to show (default = 2)</li>
<li><strong>add_location_filter</strong> – True or False (default = false)</li>
<li><strong>listing_width</strong> – A percent between 20 and 100 (default = ‘’)</li>
<li><strong>list_sort</strong> – One of az, latest, featured, high_review, high_rating, random (default = latest)</li>
<li><strong>character_count</strong> – Number of characters to show from the Excerpt (Min/default = 20)</li>
</ul>
<p>Example: <code>[gd_related_listings relate_to=tags layout=3 add_location_filter=true list_sort=featured character_count=0]</code></p>
<h3>Search</h3>
<h4>Shortcode: [gd_advanced_search]</h4>
<p>This shortcode is the equivalent of the <a href="https://wpgeodirectory.com/docs/widgets/#search"><em><strong>GD &gt; Search</strong></em></a> widget.</p>
<p>No parameters unless <a href="https://wpgeodirectory.com/docs/category/addons/search-filters/">Advanced Search addon</a> is active:</p>
<ul>
<li>show_adv_search – If the advanced search section should be shown: (‘default’, ‘always’, ‘searched’)</li>
</ul>
<p>Example: <code>[gd_advanced_search show_adv_search='always']</code></p>
<h3>GD Listings</h3>
<h4>Shortcode: [gd_listings]</h4>
<p>This shortcode is almost the equivalent of what you see on the GD category listings pages.</p>
<h5>Parameters:</h5>
<ul>
<li><strong>post_number</strong> – Number of posts to show per page (default = 10)</li>
<li><strong>post_type</strong> – The custom post type to use (default=gd_place)</li>
<li><strong>layout</strong> – Number of columns to show (default = 2)</li>
<li><strong>category</strong> – The category ids “1,3” (default = ”)</li>
<li><strong>listing_width</strong> – A percent between 20 and 100 (default = ‘’)</li>
<li><strong>list_sort</strong> – One of az, latest, featured, high_review, high_rating, random (default = latest)</li>
<li><strong>character_count</strong> – Number of characters to show from the Excerpt (Min/default = 20)</li>
<li><strong>post_author</strong> – Filter by <em><strong>current_user</strong></em>, <em><strong>current_author</strong></em> or <em><strong>ID</strong></em> (default = unfiltered)
<ul>
<li>post_author=”current_user” will filter the listings by author id of the logged in user</li>
<li>post_author=”current_author” will filter the listings by author id of current viewing post/listing</li>
<li>post_author=”11″ will filter the listings by author id = 11</li>
</ul>
</li>
<li><strong>tags</strong> – Filter by tags (default = unfiltered), for example <em><strong>tags=”Museum,Garden”</strong></em></li>
<li><strong>add_location_filter</strong> – True or False (default = true)</li>
<li><strong>show_favorites_only </strong>– options are 1 [true] or 0 [false] (default = 0)</li>
<li><strong>favorites_by_user </strong>– Values should be “current”‘ or user id [eg 5] or empty (default = empty)
<ul>
<li>favorites_by_user=”current”, shortcode will show the listings which are favorites by author of current viewing post.</li>
<li>favorites_by_user=”12″, shortcode will show the listings which are favorites by user id “12”.</li>
<li>favorites_by_user=”” or empty, shortcode will show the listings which are favorites by current logged user(if logged in).</li>
</ul>
</li>
</ul>
<h4>Example:</h4>
<p><code>[gd_listings post_type="gd_place" layout=4 category="1,3" post_number="4" list_sort="high_review"]
[gd_listings post_type="gd_event" add_location_filter="0" layout="4" post_number="4" show_favorites_only="1"]</code></p>
<h3>GD Best of</h3>
<p>Shortcode: <code>[gd_bestof_widget]</code></p>
<p>Parameters:</p>
<ul>
<li style="list-style-type: none;">
<ul>
<li style="list-style-type: none;">
<ul>
<li>title – widget title (default = ”)</li>
</ul>
</li>
<li style="list-style-type: none;">
<ul>
<li>post_type – The custom post type to use (default=gd_place)</li>
</ul>
</li>
<li style="list-style-type: none;">
<ul>
<li>post_limit – Number of posts to show (default = 5)</li>
</ul>
</li>
<li style="list-style-type: none;">
<ul>
<li>categ_limit – The number of category to show (default = 3)</li>
</ul>
</li>
<li style="list-style-type: none;">
<ul>
<li>character_count – Number of characters to show from the Excerpt (Min/default = 20)</li>
</ul>
</li>
<li style="list-style-type: none;">
<ul>
<li>use_viewing_post_type – overridess parameter post_type if visiting another custom port type archive (default = false)</li>
</ul>
</li>
<li style="list-style-type: none;">
<ul>
<li>add_location_filter – True or False (default = false)</li>
</ul>
</li>
<li style="list-style-type: none;">
<ul>
<li>tab_layout – bestof-tabs-on-top or bestof-tabs-on-left or bestof-tabs-as-dropdown (default = bestof-tabs-on-top)</li>
</ul>
</li>
</ul>
</li>
</ul>
<p>Example:</p>
<p><code>[gd_bestof_widget title="widget title" post_type=gd_hotel post_limit=5 categ_limit=6 character_count=50 use_viewing_post_type=true add_location_filter=true tab_layout=bestof-tabs-as-dropdown]</code></p>
<p>&nbsp;</p>
<h3>Add Listing Form</h3>
<h4>Shortcode: [gd_add_listing]</h4>
<ol>
<li>This shortcode allows you to create your own <em><strong><a href="https://wpgeodirectory.com/docs/layout/#add">Add Listing</a> </strong></em>page(s).</li>
<li>By default GD uses the same <em><strong>Add Listing</strong></em> page to generate different forms for all different <em><strong><a href="https://wpgeodirectory.com/docs/category/addons/custom-post-types/">Custom Post Types</a></strong></em>and/or <em><strong><a href="https://wpgeodirectory.com/docs/category/addons/prices-and-payments/">price packages</a></strong></em>.  For example:
<ol>
<li>https://yoursite.com/add-listing/?listing_type=gd_place&amp;package_id=1</li>
<li>https://yoursite.com/add-listing/?listing_type=gd_event&amp;package_id=6</li>
</ol>
</li>
<li><i class="fa fa-exclamation-triangle fa-2x"></i> Do <em><strong>not</strong></em> add this shortcode to the Add Listing page selected at <em><strong>GD &gt; Permalinks &gt; GeoDirectory Pages &gt; Add Listing page</strong></em>.<br />
That page is reserved for GD generated pages, so only add this shortcode to any extra WP pages.</li>
<li><i class="fa fa-exclamation-triangle fa-2x"></i> After you have created all your custom Add Listing pages, you might have to permanently delete the temporary default Add Listing page that is selected at <em><strong>GD &gt; Permalinks &gt; GeoDirectory Pages &gt; Add Listing page</strong></em>before your custom Add Listing pages will work.</li>
</ol>
<h5>Parameters:</h5>
<ul>
<li><strong>listing_type</strong> – The custom post type to use (default=gd_place)</li>
<li><strong>login_msg</strong> – The message to show to logged out users (default = You must login to post.)</li>
<li><strong>show_login</strong> – show the login widget to logged out users (default = false)</li>
</ul>
<p>Example:<code> [gd_add_listing listing_type=gd_event login_msg="Please register and login to submit listings" show_login=true]</code></p><p>The post <a href="https://our-hometown.com/docs/directory-shortcodes/">Directory Shortcodes</a> first appeared on <a href="https://our-hometown.com">Our-Hometown</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Non-widget Slider</title>
		<link>https://our-hometown.com/docs/non-widget-slider/</link>
		
		<dc:creator><![CDATA[Our Hometown, Inc.]]></dc:creator>
		<pubDate>Thu, 15 Sep 2016 15:59:26 +0000</pubDate>
				<guid isPermaLink="false">http://our-hometown.com/?post_type=docit&#038;p=4056</guid>

					<description><![CDATA[<p>On your dashboard menu, go to "Max Galleria" & click "add new gallery".A pop-up will ask you if you want to an image or video gallery - select one.Start adding your images in from your desktop or media gallery. Click the "template" tab to decide what type of gallery or slider you want to use. Then click the "Options" tab to add additional style customization, if you would like. Some of these […]</p>
<p>The post <a href="https://our-hometown.com/docs/non-widget-slider/">Non-widget Slider</a> first appeared on <a href="https://our-hometown.com">Our-Hometown</a>.</p>]]></description>
										<content:encoded><![CDATA[<div id="pl-4056"  class="panel-layout" ><div id="pg-4056-0"  class="panel-grid panel-no-style" ><div id="pgc-4056-0-0"  class="panel-grid-cell panel-grid-cell-mobile-last" ><div id="panel-4056-0-0-0" class="so-panel widget widget_black-studio-tinymce widget_black_studio_tinymce panel-first-child panel-last-child" data-index="0" ><h3 class="widget-title">Step 1.</h3><div class="textwidget"><p>On your dashboard menu, go to "Max Galleria" &amp; click "add new gallery".</p>
<p>A pop-up will ask you if you want to an image or video gallery - select one.</p>
<p>Start adding your images in from your desktop or media gallery.</p>
</div></div></div><div id="pgc-4056-0-1"  class="panel-grid-cell panel-grid-cell-empty" ></div></div><div id="pg-4056-1"  class="panel-grid panel-no-style" ><div id="pgc-4056-1-0"  class="panel-grid-cell panel-grid-cell-mobile-last" ><div id="panel-4056-1-0-0" class="so-panel widget widget_black-studio-tinymce widget_black_studio_tinymce panel-first-child panel-last-child" data-index="1" ><h3 class="widget-title">Step 2.</h3><div class="textwidget"><p>Click the "template" tab to decide what type of gallery or slider you want to use. </p>
<p>Then click the "Options" tab to add additional style customization, if you would like. </p>
<p>Some of these include where captions appear, and how many images per row appear for thumbnails.</p>
<p>The description tab is also optional &amp; allows you to add a gallery description &amp; determine it's visibility and placement.</p>
</div></div></div><div id="pgc-4056-1-1"  class="panel-grid-cell panel-grid-cell-empty" ></div></div><div id="pg-4056-2"  class="panel-grid panel-no-style" ><div id="pgc-4056-2-0"  class="panel-grid-cell panel-grid-cell-mobile-last" ><div id="panel-4056-2-0-0" class="so-panel widget widget_black-studio-tinymce widget_black_studio_tinymce panel-first-child panel-last-child" data-index="2" ><h3 class="widget-title">Step 3.</h3><div class="textwidget"><p>If you want to place the gallery in an article or on a page, you can copy the shortcode found on the right-hand side and place it in the content where you want the gallery or slider to appear. </p>
<p>Click "publish" to make your gallery publicly visible. </p>
<p>Articles &amp; pages also have an "add gallery" button above the text editor where you can choose what gallery you want to insert. </p>
</div></div></div><div id="pgc-4056-2-1"  class="panel-grid-cell panel-grid-cell-empty" ></div></div></div><p>The post <a href="https://our-hometown.com/docs/non-widget-slider/">Non-widget Slider</a> first appeared on <a href="https://our-hometown.com">Our-Hometown</a>.</p>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
