• Resolved StickyPixels

    (@stickypixels)


    Hi,

    Thanks for this very useful plugin.

    When I try to rename multiple files as described here all I see is spinners behind all selected files. They keep spinning forever, but no matter how long I wait, only the first selected file is renamed.

    I looked for plugin conflicts but so far have found none.

    What could be going wrong here?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter StickyPixels

    (@stickypixels)

    After some more trial and error it appears to be a theme conflict. I am using the same theme (with some alterations) on another site where batch renaming works fine, so I’m going to look for the culprit.

    Sorry to have bothered you, I’ll post my solution here if I find it.

    • This reply was modified 6 months, 3 weeks ago by StickyPixels.
    Thread Starter StickyPixels

    (@stickypixels)

    I think I found it. In my functions.php I had added this function:

    add_action( 'pre_get_posts', 'items_unlimited_list');
    function items_unlimited_list($query){
    $query->set( 'posts_per_page', '-1' );
    };

    When I removed it, batch renaming worked as intended.

    Hope this helps anyone encountering this issue.

    • This reply was modified 6 months, 3 weeks ago by StickyPixels.
    Plugin Author crossi72

    (@crossi72)

    Hi @stickypixels,
    this is quite strange: the pre_get_posts action is intended to be used in frontend, I’ll try to add it to my test theme to check what happens if the function is called in the backend during the rename process and if it is possible to manage the issue in Phoenix Media Rename.

    Thank you for reporting.
    C.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Renaming multiple files not working’ is closed to new replies.