« first day (2775 days earlier)      last day (2177 days later) » 

7:34 AM
@TomJNowell thanks
 
 
5 hours later…
12:12 PM
@Sisir, I guess you can just always add nonce, but ignore the check for not logged users
 
 
3 hours later…
3:18 PM
I'm stuck while working with rewrites,
The structure I'm trying to achieve is this:

1) https://example.com/blog/${post-name} -- For regular blog posts
eg: https://example.com/my-blog-post-1

2) https://example.com/${custom-post-name-slug} -- For custom post type
eg: https://example.com/book1, https://example.com/book2

3) https://example.com/${custom-post-name-parent-slug}/${custom-post-name-child-slug} -- For custom post type child page
eg: https://example.com/book1/critics, https://example.com/book2/critics
Oops!
It's better to ask a question instead of posting here I guess
 
3:51 PM
for complex issues yes
I've never seen a permalink with a front that's missing a / separator
the second bit and third bit are probably already covered somewhere on the site
just keep in mind you'll need to filter permalinks to fit the new schema
and you'll need to be wary that adding a rewrite rule doesn't mean the old one dissapears
addition != replacement
oh and check out monkeyman rewrite rule analyser
googles will find it for you
 
4:16 PM
For 2,3 I tried using with this wordpress.stackexchange.com/q/203951/43098 it didn't work
> I've never seen a permalink with a front that's missing a / separator

My bad it should be blog/${post-name} which I set using the permalink settings(blog as base)
I will check analyzer now, thanks
> and you'll need to be wary that adding a rewrite rule doesn't mean the old one dissapears
How can I remove the old rewrite rules?
 
4:32 PM
that's a question for the main site
 
Sure, thanks
 

« first day (2775 days earlier)      last day (2177 days later) »