Forum Replies Created
-
AuthorPosts
-
GuyWilson
ParticipantHi Ernest,
I updated the plugin to the latest version and the category exclusions for pages is now working.
Thanks
GuyGuyWilson
ParticipantThanks Ernest,
appreciate your helpCheers
GuyGuyWilson
ParticipantThanks Ernest – I checked and it seems to now be work perfectly.
Also if you have a moment, could you please help me with this:
Front End Search Setting options
– Advanced
— Category/Taxonomy terms logicThe options are:
(1) At least one selected terms should match
(2) All of the selected terms should matchI did a test with these 2 categories:
Videos
BooksWhen I selected option (1), it behaved as I expected – the results list expanded when I ticked videos and expanded more when I selected books
However when I selected option (2) all results from all categories appeared. And it made no difference when I selected Videos and Books
What I expected is that nothing would be displayed as the content would not be both a video and a bookThoughts?
Thanks
GuyGuyWilson
ParticipantHi Ernest,
Thanks so much for your fast response and the effort you put in to help resolve this for me.
I tried it and it works!
The only small problem I had to overcome was as follows:
Line 11 of the code you suggested to put into functions.php is:
preg_match(‘/iframe src=[\'”]([^”\’]+)[“\’]/’, $str, $match);
The small problem here is that some of my posts had valid code between ‘iframe’ and ‘src’
For example: iframe height=”600” src=
Posts with this format were not being indexed so I changed them all to have nothing between iframe and src.
Could line 11 be somehow changed to cater for this?
(Maybe all it needs to recognise is “src=”?)Anyway, thanks again.
Cheers
Guy -
AuthorPosts