WordPress.org

Forums

Frontier Post
[resolved] Works well and query re p2 (5 posts)

  1. valuser
    Member
    Posted 2 years ago #

    Many Thanks for an awesome plugin.

    Just one tiny query.

    In a theme like p2 that already has basic front-end posting and editing the setting

    Frontier Edit (should) mean (s) that if a user selects the edit link on a post, Frontier will be used to edit instead of backend

    In the p2 theme the edit url is indeed changed to http://www.mysite.dev/frontier-post/?task=edit&postid=230 exactly as in the frontier page but p2 appears to intercept it as you still get the basic edit and not the frontier one.

    Any idea if this could be fixed ? Not a huge issue but it would be great.

    http://wordpress.org/extend/plugins/frontier-post/

  2. finnj
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

    Strange, I have no idea why.

    The redir option is designed so it will only execute if triggered from the front end - Are you clicking the edit link from the front end or from the backend ?

    if you want to be able to access frontier edit from the backend you need to change the following code in frontier-post.php (line 408)

    if ( is_admin()  ) // Administrator in admin dashboard, dont change url
    		{
    			return $url;
    		}
    	else
    
    Change first line to:
    if ( false && is_admin()  )

    but they might hook into the edit link using jquery, if that is the case, I am unable to do anything about it.

    Are you able to disable the frontend editing in P2 from a setting ?

  3. finnj
    Member
    Plugin Author

    Posted 2 years ago #

    Had a quick look at P2 theme (without installing it), at it seems like it is using a lot of js to manipulate output, so I expect this is why the edit_redir is overruled.

    You might try and ask in the P2 support forum if this is the case

  4. valuser
    Member
    Posted 2 years ago #

    Thank you. Will do. Have added the p2 tag to this query

  5. finnj
    Member
    Plugin Author

    Posted 2 years ago #

    I have marked this as resolved, please re-open if I can be of further assistance

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Frontier Post
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags