This project is read-only.

Hyperlinks to specific posts and pages.

Topics: Business Logic Layer
Mar 12, 2010 at 10:23 PM

Is there any easy way to find the ID of a specific post or page. I'm using SQL and At the moment I have to query the database to get the correct ID.


Many thanks

Mar 12, 2010 at 11:05 PM
Edited Mar 12, 2010 at 11:08 PM


If you are showing "permalinks" in your posts (it is at the bottom of the post in the Standard theme), it contains the ID of the post.

EDIT: Also, the syndication.axd (rss) has a property called guid, which contains the ID.