Add internal links between your generated pages using a simple shortcode. Link by position (next, previous, first, last) or by slug from your data source.
#1
Miami
#2
Orlando
#3
Tampa
Miami:
<a class="lpagery_link_anchor" href="/orlando/">Visit Orlando</a>Orlando:
<a class="lpagery_link_anchor" href="/tampa/">Visit Tampa</a>Tampa:
<a class="lpagery_link_anchor" href="/miami/">Visit Miami</a>Links created successfully
Shortcodes replaced with anchor tags
Use position parameters (NEXT, PREV, FIRST, LAST) to create navigation between pages based on their order in your source file.
Enable the circle parameter to loop navigation — after the last page, link back to the first, and vice versa for seamless browsing.
Use placeholders like {link_to} from your source file to dynamically link to specific pages by their slug.
Internal linking helps search engines discover and understand relationships between your pages, improving overall site SEO.
देखें कि यह फीचर कार्रवाई में कैसे काम करता है
Add the shortcode to your template
Place the [lpagery_link] shortcode in your template page where you want internal links to appear. Choose between position-based or slug-based linking.
Position mode
[lpagery_link position="NEXT" title="Next Page" circle=true]
Slug mode
[lpagery_link slug="{link_to}" title="{link_title}"]
Configure shortcode parameters
Customize how your links work using the available parameters: position (FIRST, LAST, NEXT, PREV), circle for looping, title for link text, target for how the link opens, and slug for data-driven links.
position
FIRST, LAST, NEXT, or PREV — links based on order in source file.
circle
true or yes — loops back to first page after last (or vice versa).
target
_blank, _self, _parent, _top — controls how the link opens.
Generate pages with links
When you generate your pages, LPagery replaces each [lpagery_link] shortcode with an actual HTML anchor tag. Each link includes the lpagery_link_anchor class for easy styling.
Shortcode becomes
<a class="lpagery_link_anchor" href="...">Link Text</a>
Placeholders in title and slug are replaced with values from your data.
कुछ उदाहरण जिनके लिए यह बनाया गया है
Create sequential navigation between location pages, service pages, or any ordered content. Perfect for guides, listings, and multi-page content.
Define link relationships in your source file with columns like link_to and link_title. Each page links to its designated target dynamically.
Enable circle mode so users can continuously browse through all pages without hitting a dead end — the last page links back to the first.