Skip to content
This simple plug-in takes any given URL title and returns the corresponding entry ID. This is useful when you have only a URL title available as a segment and need to be able to pass the corresponding entry ID to a template tag in the page.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
system/plugins
README.md

README.md

url_title_to_entry_id.pi.ee_addon

This simple plug-in takes any given URL title and returns the corresponding entry ID. This is useful when you have only a URL title available as a segment and need to be able to pass the corresponding entry ID to a template tag in the page.

The URL title to entry ID Plugin simply returns the corresponding entry ID for a given URL title. You can also optionally specify a channel if you have URL_title conflicts.

{exp:url_title_to_entry_id url_title="{segment_2}" channel="channel_short_name"}

Just specify the channel short name (optional) and URL title you wish to return an entry ID for as parameters and away you go. Simples.

You can’t perform that action at this time.