WordPress.org

Forums

WP User Frontend
Permalink for Post from wpuf_edit_post (2 posts)

  1. heykloud
    Member
    Posted 2 years ago #

    Working on the edit post template. Would like to add a "View Post" link so that the user can view the updated changes. Already using custom_redirect, so simply a link to the permalink of the post.

    Using get_permalink(post->ID) just takes us to the "edit" permalink.

    Thanks!

    http://wordpress.org/extend/plugins/wp-user-frontend/

  2. heykloud
    Member
    Posted 2 years ago #

    hmm. seems I fixed it.

    <a href="' . get_permalink( $post_id ) . '"> View Post»</a>

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP User Frontend
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic