You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just did some testing on it. If you enter an invalid or duplicate slug then WP will automatically provide you with a unique default based on the page title.
I tried leaving empty lines between each section like so:
Testing A Page
Testing Another Page
Which half works, but it seems that the last empty line is trimmed which causes the final page creation to fail.
Putting something invalid like the an @ symbol seems to work fine:
Testing A Page
@
Testing Another Page
@
Its not perfect but seems to be a work around to get your second suggestion to work in the current version.
As I was writing this plugin I imagined expanding the system at some point to allow it to work with all post types and also let you enter some kind of template so that you could tell it what fields to expect. To be honest I wrote this plugin for myself to save time developing (and I have used it on every site since then) but I haven't needed this additional functionality so I haven't come back to it.
I don't fully understand your first suggestion about the escape sequence?
I've 2 suggestions for this:
@
The text was updated successfully, but these errors were encountered: