Forum Replies Created
-
AuthorPosts
-
synergy
ParticipantThanks Ernest, it works just how I hoped.
Once again, excellent service.
Paul.
synergy
ParticipantHi Ernest,
Thanks for the explanation, I thought that this option was relevant to the page contents in the context of search terms rather than changing the search modules appearance on this page.
One further question if you would be so kind.
Is this scenario possible?
User clicks on email link option (option 1, option 2, option 3) chosen option (http://www.website-example.com?option1) links to page with search loaded and search outputs results for appended search term (option1).
Thanks again for your excellent support.
Paul.
synergy
ParticipantOops – forgot to attach pic!
synergy
ParticipantHi Ernest,
Its under the ‘Ajax Search Pro settings’ tab in the WP page backend -see attached screenshot.
Thanks,
Paul.
synergy
ParticipantHi Ernest,
I couldn’t see an option for custom phrase field – please see attached screenshot.
Thanks,
Paul.synergy
ParticipantHi Ernest,
I’ve finally got round to sorting out the search terms on my website and have hit the following problem:
I put these search terms in the ‘suggested search keywords’ section in the setup:
Meat, Seafood, Dairy, Drinks, Beverages, Ingredients, Sauces, Bakery, Snacks, Equipment, Servicesand they appear as expected under the search bar. I then placed the search term ‘seafood’ on a test page in the ‘Ajax Search Pro – custom phrase field’
However, when I click on the search phrase ‘seafood’ under the search bar the expected page does not show up.
But when I place the search term ‘seafood’ on the same test page, but this time in the ‘Ajax Search Pro – additional search tags for this post’ it does show up.
Thanks in advance,
Paul.
synergy
ParticipantHi Ernest,
My bad – I was trying to use the filter script in the main ‘functions.php’ file rather than the theme one!
The update had removed the previous version of the theme ‘functions.php’ file and I have now uploaded a modified file and all is well. I think it updated the previous version because I’m not using a child theme.
Thanks again.
synergy
ParticipantHi Ernest,
My website WordPress has updated to 4.9.2 and I placed this script in the updated functions.php from line 2 onwards (see below) and it is now not working.
1.<?php
2./**
3.*Filter to remove ‘Supplier’ from Ajax Pro Search results display images
4.*/
5.add_filter(‘asp_results’, ‘asp_replace_supplier_name’, 10, 4);
6.function asp_replace_supplier_name($results, $sid, $is_ajax, $args) {
7.foreach ($results as $k=>&$r) {
8.$r->title = str_replace(‘supplier-‘, ”, $r->title);
9.}
10. return $results;
11.}
12./**
13. * Main WordPress API
14. *
15. * @package WordPress
16. */Thanks in advance.
synergy
ParticipantHi Ernest,
I’ve looked ad the screenshot you took more closely and the offending code items look like they are related to the ClickMeter links that I am using for the advert links.
Thanks,
synergy
ParticipantHi Ernest,
Here is the reply I got from the AdRotate developer:
I’m not familiar with ajax search plugins, but generally for an advert to (re)load you need to reload the page also. Such search plugins do not do that.
So rotation of adverts will be hindered a bit. Once loaded though, AdRotate is finished doing things. So your tab opening or random outputs are not likely something AdRotate does. Perhaps the advert you’re using. But logically not AdRotate since there is no AdRotate code running or being called at that point.
Hope this helps.
synergy
ParticipantThanks Ernest,
Yet again quick and helpful!
I’ve passed your comments on to the support forum for the AdRotate plugin and will let you know when I get a response.
synergy
ParticipantThank you Ernest, excellent service!
Just a quick question. I am using Ajax Pro to search a bunch of pages that all have the title starting with ‘supplier’ followed by the suppliers name (supplier-name). I’ve done this for ease of use so that all the supplier pages are in the same wordpress editing area and easily identified as such. However I would prefer the search result to show just the supplier name rather than the name and prefix (supplier-).
Is the best way to achieve this to setup a custom field with the preferred suppliers name as a value and then set that custom field as the option in the ‘Primary Title Field for Posts/Pages/CPT’ setting in ‘Advanced Options – Content’?
Again, many thanks.
synergy
ParticipantHi Ernest,
Thanks, that’s great. I didn’t see that option hiding amongst the many others in your excellent plugin. I should have known that you would have built it in.
Thanks again.
synergy
ParticipantHi Ernest,
I tried the category plugin and everything works fine now.
Many thanks.
synergy
ParticipantHi Ernest,
Thanks for the quick response.
As this site may end up with a large number of suppliers I was looking for an automatic exclusion method based on something like a tag that could be added to these private pages.
Is there any other way of excluding specific pages?
Thanks again.
-
AuthorPosts