Viewing 1 replies (of 1 total)
  • Thread Starter masterbip

    (@masterbip)

    I figured it out by myself.
    Just using $single->ID in my custom template file.
    Exammple: <a href="#" rel="'.$single->ID.'">'.$this->get_post_title($single).'</a>
    Returns:
    <a href="#" rel="1424">THE POST TILE</a>

Viewing 1 replies (of 1 total)
  • The topic ‘Get POST ID and use it on template’ is closed to new replies.