![]() ![]() Use Custom Code to Display Post IDs in The Posts Tab Although both URL structures aren’t necessarily bad, in most cases, you’ll want to use s that give visitors an idea of what content they can expect from each page. Here are two quick examples of what those URL structures look like: The only two structures that do include WordPress post IDs are the Plain and Numeric options. That’s because a lot of WordPress websites use custom structures that don’t show post IDs at all. Keep in mind that the post URLs you see in your dashboard might be different from the ones your visitors encounter. That way, its URL will show up in your navigation bar, which should make the ID easier to spot: Finding a WordPress post’s ID by checking out its URL. If for some reason you can’t spot the ID clearly, you can open the post using the WordPress editor. ![]() In the above example, the post ID is 1, and that number comes right after the posts= parameter. You should see a list of all the posts on your website, and finding their IDs is as easy as mousing over each title: Mousing over a post’s title to see its ID. The easiest way to find a post ID in WordPress is to go to your dashboard and click on the Posts menu option. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |