Custom post_url
-
I want to index PDFs whereby I will have:
1. Toolset to create a custom document type
2. Within the custom document, I will have the normal post and an attachment of a PDFWhen the item is found in the search results, and the user clicks on a link, I do NOT want the user to go direct to the post page.
Instead, I want the user to go to a page such as redirect/?doc_id=$post_id
Is there an option to change the post_url that is displayed on search results? Should I look a overriding the get_post_url function?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Custom post_url’ is closed to new replies.