Support » Plugin: Front-end Editor » [Plugin: Front-end Editor] Front end editor unable to edit a second loop on a page.

  • Resolved schmackLab


    I have a modified page template wherein there is a standard page loop that pulls data from the page editor. There is also another loop that pulls a custom posttype/taxonomy. All the information from the standard page loop is fully editable but anything pulled in with the second loop is untouchable.

    The plugin works great other than this but I am having this same problem on multiple sites.

    Thanks for any help!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author scribu


    Please paste the code for the second loop. (If it’s really long, use something like

    Here’s a link to the code on pastebin:

    The loop works fine and does what it’s supposed to. But the plugin only edits content on the front end that comes through the generic page loop.

    Thanks for taking a look! I appreciate it.

    Plugin Author scribu


    Ah, I remembered why this doesn’t work.

    FEE checks in_the_loop() before making those fields editable. This is to avoid other problems.

    If you really want to make this work, you will have to use query_posts() instead.

    Don’t forget to call wp_reset_query() when you’re done.

    Awesome, thanks!

    I just dropped this bit into the loop above:

    <?php  global $wp_query;
    $wp_query->in_the_loop = true; ?>

    And now it works perfectly. Thanks for the help!

    Plugin Author scribu


    Heh, I guess that’s one way to do it. 🙂

    You’re welcome.

    @scribu, I love your Front-End Editor plugin!

    I realize this post is over a year old, but I am experiencing the same issue that @ schmackLab was. I attempted to insert @schmacklab‘s code in various places, but I cannot get the Front-End Editor plugin to edit a custom query that is being called from a plugin.

    My custom loop is here:

    Any thoughts on how to resolve this?


Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Front-end Editor] Front end editor unable to edit a second loop on a page.’ is closed to new replies.