Skip to main content
8 events
when toggle format what by license comment
Sep 28, 2018 at 20:45 vote accept ordresser
Sep 28, 2018 at 20:45 comment added ordresser I have tested this, and so far I think it works. Thanks! Nice.
Sep 28, 2018 at 3:29 comment added Milo @ordresser see edit above
Sep 28, 2018 at 3:29 history edited Milo CC BY-SA 4.0
added 605 characters in body
Sep 27, 2018 at 17:00 comment added ordresser I've updated my question
Sep 23, 2018 at 1:13 comment added Milo your attachment_link filter should just replace attachment with whatever word you want in its place, right now your filter completely overwrites whatever was passed to the function in $link
Sep 22, 2018 at 18:32 comment added ordresser After placing both pieces of code and flushing permalinks, the following: when you click on an attachment, it directs to site.com/NEW-WORD/attachment-name/ which is a 404 simply because it's not the right address. When I type site.com/category/post-name/NEW-WORD/attachment-name/ in, I get to the correct page and its working. Why doesn't the attachment link have the category/post-name in it?
Sep 21, 2018 at 19:12 history answered Milo CC BY-SA 4.0