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 have a custom post type, "Quotes", registered using register_post_type( 'quote', $args ); and code options.
I have a script running on cron which finds quotes in public news content and inserts them as a "quote" post, using wp_insert_post and wp_publish_post, and maybe wp_update_post. post_name may be used in some cases.
By default, created "quote" post slugs are versions of the title (although the Permalinks setting for standard Posts is different). As it happens, it is currently problematic, because I find duplicate slugs are getting saved for posts with the same legitimate headline.
Could your plugin help me?
ie. If I run your plugin on my custom post type "Quotes", will all "Quotes" posts adopt the specified permalink structure even if they are created programmatically by a script? In other words, will your plugin take control? Or will everything still be run by the script?
What about if I don't manually set post_name in the script? Would the plugin then take over?
Thanks.
The text was updated successfully, but these errors were encountered:
Hi,
When does this plugin work?
I have a custom post type, "Quotes", registered using
register_post_type( 'quote', $args );
and code options.I have a script running on cron which finds quotes in public news content and inserts them as a "quote" post, using
wp_insert_post
andwp_publish_post
, and maybewp_update_post
.post_name
may be used in some cases.By default, created "quote" post slugs are versions of the title (although the Permalinks setting for standard Posts is different). As it happens, it is currently problematic, because I find duplicate slugs are getting saved for posts with the same legitimate headline.
Could your plugin help me?
ie. If I run your plugin on my custom post type "Quotes", will all "Quotes" posts adopt the specified permalink structure even if they are created programmatically by a script? In other words, will your plugin take control? Or will everything still be run by the script?
What about if I don't manually set
post_name
in the script? Would the plugin then take over?Thanks.
The text was updated successfully, but these errors were encountered: