• I’m wondering if it’s possible to automatically create wordpress pages with the names of image files in a specific folder.. so when you add images to that folder via ftp wordpress automatically creates a new page with the name of that image.. or is there a plugin out there that does anything like this?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The server won’t interpret an FTP transfer as a series of WordPress queries.

    That’s far outside the scope of what the server and WordPress do as they are.

    In theory, anything is possible, but i very much doubt you’ll find something to do what you’re asking.

    Thread Starter rachelkaye

    (@rachelkaye)

    Thanks for your reply.

    Well… you could write a script that periodically scans the directory and then creates a new page for each image found minus images which already have pages. I think its doable if you take that approach but getting WP to recognize an ftp transfer would be tough. You’d probably have to work out some way to get the ftp server to ping WP, actually, but that would be tough too I think.

    This could also be done if, instead of ftp, you used WP’s built in upload functions. If you write your own script you can upload to whatever directory structure you like.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Dynamically creating pages’ is closed to new replies.