Search content of PDF
- This topic has 4 replies, 2 voices, and was last updated 7 years, 7 months ago by .
Viewing 4 reply threads
Viewing 4 reply threads
- You must be logged in to reply to this topic.
Home › Forums › GovIntranetters › Search content of PDF
Looking for a way for the search within WordPress to be able to return results that include content within a PDF. Does anybody know of a way to accomplish this?
FYI – Found SearchWP as a paid plugin that does this. Installed it and tinkering with it now. Any thoughts on it co-existing with Relevanssi?
OK – so SearchWP indexed the PDFs quite nicely…however the indexed results are not showing up in the search (and I believe that’s because the search baked into the theme is displaying “Relevanssi” content only.
My question now is – how baked in/necessary is Relevanssi to the theme running/behaving correctly?
Thanks!
– Michael
Hi Michael
How is WP Search working out for you?
Relevanssi isn’t hard wired into the theme but is integral for the indexing and search through the staff directory and profiles.
There is also the option to index ‘attachments’ in Relevanssi, which will index everything in your media folder as well
Kind Regards
Matty
Honestly, so far so good. We have Relevanssi installed, but not “active”. I haven’t tried completely uninstalling it yet.
Two key factors with WP Search – it indexing automatically and it digs into the PDFs (that it can) and puts the text in a database field it creates and makes it indexed.
I did have to do two custom child-theme code snippets to make the “loop” work with excerpts, but otherwise…it was pretty easy. So far though I haven’t done anything with forums or user searches.
Cookie | Duration | Description |
---|---|---|
comment_author_email_{HASH} | Under 1 year | This is purely a convenience, so that the visitor won’t need to re-type all their information again when they want to leave another comment. |
comment_author_url_{HASH} | Under 1 year | This is purely a convenience, so that the visitor won’t need to re-type all their information again when they want to leave another comment. |
comment_author_{HASH} | Under 1 year | This is purely a convenience, so that the visitor won’t need to re-type all their information again when they want to leave another comment. |
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |
wordpress_logged_in_[hash] | Indicates when you’re logged in, and who you are, for most interface use. | |
wp-settings-{time}-[UID] | This is used to customize your view of admin interface, and possibly also the main site interface. |
Cookie | Duration | Description |
---|---|---|
_ga | 2 years | Used to distinguish users. |
_gat | 1 minute | Used to throttle request rate. |
_gid | 24 hours | Used to distinguish users. |