WordPress.org

Ready to get started?Download WordPress

Forums

permalink by page_id in editor (3 posts)

  1. infohowdy
    Member
    Posted 2 years ago #

    Hello I not found anything how to get the permalink by pageid inside editor (not template theme)
    The only way is use a plugin ?

  2. Adam Losier
    Member
    Posted 2 years ago #

    Look at your URL when you edit a page it will look something like

    wp-admin/post.php?post=12&action=edit

    Where the number 12 is your post/page ID. This only works in edit mode if you want to get your post ID of a new post simple select save draft and go back into the edit screen and you'll see the URL.

  3. infohowdy
    Member
    Posted 2 years ago #

    Thenkyou bizzyLabs but I need to get a dynamic permalink from the post id.
    For sample if my post id is 20 I need to get the dynamic permalink title if a user update the permalink post...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.