solr-for-wordpress
solr-for-wordpress copied to clipboard
Multiple Post Types
Is it possible to create some sort of an Array for Post Types to check the database for? I know there is a way to do it, but am I the only one that seems interested in this? I'm working on my own stuff with the plugin, and I'm continually struggling with github to get it to work correctly.
Thanks,
Okay just committed some code, to do just that... You should be able to index all content types.
Can you check it out, feedback welcome :)
I had removed the custom post type for the sake of rolling something out. However, when I put it back in with activating the plugin the "Options" page isn't displaying the Array like I’m guessing it's supposed to when I looked at the code?
Jerry E. Craig Direct: 480-304-7123 or 866-694-6998 www.inforeverse.com
-----Original Message----- From: Shakur Shidane [mailto:[email protected]] Sent: Tuesday, December 13, 2011 11:50 AM To: Jerry E. Craig Subject: Re: [solr-for-wordpress] Multiple Post Types (#24)
Okay just committed some code, to do just that... You should be able to index all content types.
Can you check it out, feedback welcome :)
Reply to this email directly or view it on GitHub: https://github.com/mattweber/solr-for-wordpress/issues/24#issuecomment-3127497
can you post a screenshot of what the "Options" page is supposed to look like with the custom Post Types? I haven't tried in a while but was just out here looking at what's going on and thought I'd check in on this.
The post types that you can index are now auto generated based on the post types you have defined. You'll simply see a list of "Index all <Post type>". If you don't see that you might need to remove your old plugin configuration data. I found that I had to do this on our live site
My custom post types are showing up on the config page but i am not able to save them. So they are never indexed. Any idea?
And by the way... how do I remove old plugin configuration data?