Timeline for Create multiple rewrite endpoints for custom taxonomy archive
Current License: CC BY-SA 4.0
19 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
S Mar 14, 2022 at 0:38 | history | bounty ended | terminator | ||
S Mar 14, 2022 at 0:38 | history | notice removed | terminator | ||
Mar 14, 2022 at 0:33 | vote | accept | user7459842 | ||
Mar 17, 2022 at 1:59 | |||||
Mar 9, 2022 at 2:05 | answer | added | Sally CJ | timeline score: 2 | |
Mar 8, 2022 at 21:58 | comment | added | user7459842 | @SallyCJ Yes you are right. Archive for this custom taxonomy was - /species/dogs but i wanted them like /dogs i.e without taxonomy slug.So I used a plugin to get rid of that. So to answer your question- Yes i need it like this /dogs/shop/ /dogs/services/ /dogs/sales/ till this where there is just one endpoint the code works but I need to be able to get the query variable of second end point /prod-cat1 in example.com/dogs/shop/prod-cat1 /sr1 in example.com/dogs/services/sr1 and assign templates accordingly | |
Mar 8, 2022 at 15:37 | comment | added | Sally CJ |
@user7459842 Are you sure the path is like /dogs/shop/ and not /species/dogs/shop/ (note the /species )? Or did you mean you have a Page (post type page ) with the slug dogs ? And I did notice 1 issue in your code, but, "not working for multiple endpoints" - what/how exactly are they not working? The page uses the default template and not your custom template file? And BTW, just a note that I wasn't notified when you tagged me in your previous comment - maybe because I had never commented before..
|
|
Mar 7, 2022 at 12:51 | comment | added | Bysander | I swear we get this question every week | |
S Mar 7, 2022 at 2:11 | history | bounty started | terminator | ||
S Mar 7, 2022 at 2:11 | history | notice added | terminator | Draw attention | |
Mar 7, 2022 at 2:09 | history | edited | user7459842 | CC BY-SA 4.0 |
Changing title and content as I was able to understand what to ask exactly
|
Mar 1, 2022 at 23:54 | comment | added | user7459842 | @SallyCJ I have been looking around and I found multiple answers by you related to this topic.. Will you please able to help me on this please | |
S Feb 4, 2022 at 13:07 | history | bounty ended | CommunityBot | ||
S Feb 4, 2022 at 13:07 | history | notice removed | CommunityBot | ||
Jan 27, 2022 at 20:58 | comment | added | user7459842 | Yes Mark it is Woocommerce + wp job manager | |
Jan 27, 2022 at 20:34 | comment | added | Bazdin | Sounds like you are using WooCommerce in this mix? | |
S Jan 27, 2022 at 11:11 | history | bounty started | user7459842 | ||
S Jan 27, 2022 at 11:11 | history | notice added | user7459842 | Draw attention | |
Jan 26, 2022 at 14:05 | history | edited | user7459842 | CC BY-SA 4.0 |
added 28 characters in body
|
Jan 25, 2022 at 10:54 | history | asked | user7459842 | CC BY-SA 4.0 |