Shortcodes

LilSEO Documention

A detailed guide with step-by-step instructions on how to use our Local SEO Plugin.

Simple, straight-forward and to the point.

LilSEO Plugin: Shortcodes

Please Note: To see a full list of Shortcodes, please check out the LilSEO Demo.

LilSEO’s dynamic shortcodes enable the creation of highly targeted landing pages with location-specific content. This allows agencies to tailor content for different areas, improving user experience and potentially leading to better conversion rates. This level of dynamic content customisation may not be a standard feature in all local SEO plugins which is why our Local SEO Plugin can outshine the rest.

[city]: This technically doesn’t need to be a town. In fact, many LilSEO users will input other variables into the Town column – allowing for a more dynamic look and feel on each landing page.

[city]: This shortcode will dynamically display the city name associated with the landing page. For example, if the landing page is for “plumbers in Southampton”, the shortcode would output “Southampton”. This shortcode is useful for creating locally targeted page titles and meta descriptions.

[county]: This shortcode will display the county associated with the landing page, which can help differentiate between locations with the same city name. For example, if a business is running a national campaign and there are multiple towns named “Acton”, using [county] helps avoid cannibalising hyperlocal areas.

[country]: This shortcode dynamically displays the Country inside the landing page that the user is viewing. This is a great way to make your Landing Pages just that little-bit more dynamic.

[tel]: This shortcode displays the telephone number associated with a specific area code. Businesses using virtual landline numbers to appear local can define different numbers for each area in their CSV file. When used as a shortcode, the plugin will display the phone number corresponding to the user’s area.

Shortcodes from Code Snippets:

In addition to the shortcodes mentioned above, here are other useful shortcodes that can be used to input dynamic content on your landing pages:

[areas_covered]: This shortcode generates a list of counties covered by a business, along with links to relevant landing pages. It dynamically fetches and displays child pages related to each parent page, ensuring users can easily navigate to specific services within each area.

[postal_relations]: This shortcode displays links to other landing pages with similar postcode prefixes, connecting users to nearby services. This is particularly useful for businesses operating in densely populated areas.

[sibling_list]: This shortcode displays a list of sibling pages, which are other child pages under the same parent page. This allows users to easily see other services offered in the same city. For example, if your client is a locksmith but they also have landing pages for mobile locksmith services, door entry systems or even a landing page for key replacements, these will all appear (and link to) their siblings within the same City.

[cousin_list]: This shortcode lists cousin pages, which are landing pages for the same service in different areas. Users can use this to find the same services offered in different locations. The shortcode can be further customised with a “filter” attribute to refine the results by county or postcode. For example, [cousin_list filter=”county”] would show cousin pages within the same county.