1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 Get current post id

Discussion in 'Styling and Customization Questions' started by Beanjam, Jul 7, 2016.

  1. Beanjam

    Beanjam Active Member

    How can I find the current post id from the URL?

    For example, I would like the post id from the end of the URL below.


    I've tried using {$post.post_id} but that shows the id of the last post on the page.


Share This Page