Show IDs Function?

Community Forums Forums Design Tips and Tricks Show IDs Function?

This topic is: not resolved

This topic contains 2 replies, has 2 voices, and was last updated by  Seth 1 year, 4 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6298

    Seth
    Participant
    Post count: 17

    So I’ve used several different plugins to display post/page ids in the past, but I’m wondering if there’s a quick and easy bit of code that could be dropped in the functions file to do the same thing. Has anyone ever done this before?


    Digital marketing consultant. Entrepreneur. Small business crusader. Husband & Father. Roman Catholic. Athlete. Homebrewer. Backyard Vintner. Italophile.
    Website | Twitter | Facebook

    #6374

    Susan
    Moderator
    Post count: 7391

    Have you tried this?

    http://codex.wordpress.org/Function_Reference/the_ID

    Personally, I always just hover over the “edit” button on a page/post to find the ID.


    Susan @ Graphically Designing I’d love to customize your website! I tweet!
    I’ve taken up the challenge! – help me answer some of the unanswered posts

    #6472

    Seth
    Participant
    Post count: 17

    Haven’t tried that, will look into it. Thanks Susan.


    Digital marketing consultant. Entrepreneur. Small business crusader. Husband & Father. Roman Catholic. Athlete. Homebrewer. Backyard Vintner. Italophile.
    Website | Twitter | Facebook

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.