ptz0n
Forum Replies Created
-
Forum: Plugins
In reply to: [Google CSE] Options to limit type of resultsThe problem is that the Google CSE API returns max 8 results per page.
Let’s say that you want to exclude categories and tags. Google returns the first page with 8 results. Four (4) of them are categories or tags. This will result in only four (4) results to be shown to the end user in that search result list/page.
Fetching more results from Google to “fill up” the search result list will be really slow due to more external calls to the API and matching each results to your conditions.
This should instead be done at Google’s end, using PageMaps. Using custom tags for each page type on your site.
Forum: Plugins
In reply to: [Google CSE] Returns results, but the links are brokenHi there & thanks for the issue report.
I will do some tests with the Mystique theme and get back to you.
Forum: Plugins
In reply to: [Google CSE] Options to limit type of resultsOh, you want it as a admin setting, not as a “advanced search” setting facing the end user?
Forum: Plugins
In reply to: [Google CSE] Options to limit type of resultsThx & good idea!
Please provide idéas and/or examples for how this interface should look like.
Forum: Plugins
In reply to: [Google CSE] Error?For me to track down this bug, please provide the following details:
- WordPress version
- Plugin version
- A list of the plugin v. versions that you currently have active.
Forum: Plugins
In reply to: [Google CSE] How to enable Adsense in cseThis should be done using the regular AdSense embeds. Just add them as desired to your theme’s
search.php.Forum: Plugins
In reply to: [Google CSE] "Fatal error: Call to undefined function display_search_box()"On what row in which file?
That method (display_search_box) is not part of this plugin. Check any other plugin that may cause the error.
Forum: Plugins
In reply to: [Google CSE] Sort by date or relevanceSorting by attribute actually requires the implementation of PageMaps and submitting them to Google via Webmaster Tools. This adds a lot of ifs and buts, when trying to make the plugin as straightforward to use as possible.
Only results that does have the specified attribute (ex. date) applied in the index will be presented when doing this kind of search.
I will start off by implementing the query part of this problem into the plugin. With that available you can easily setup your content PageMaps (sitemap or inline) and a sorter dropdown in the
search.phptemplate.Forum: Plugins
In reply to: [Google CSE] Sort by date or relevanceHi & thank’s for your post,
The plugin uses Googles relevance sorting as default. But the CSE API acctually supports sorting by attribute.
How would you like to enable sorting for your users/visitors? Ex. a drop-down or a different button?
Sure I can add an attribute to the query for specifying a different sorting. Please provide any generic examples or situations where your users would like that feature.
I have created an issue at GitHub regarding this feature request.
Forum: Plugins
In reply to: [Google CSE] ERROR: RequiredPlease update to the latest version of the plugin (1.0.6).
Forum: Reviews
In reply to: [Google CSE] Very usefullI’m happy to hear that! That was my intention 🙂
Forum: Plugins
In reply to: [Google CSE] ERROR: RequiredThis issue have been resolved in the latest version. Please update 🙂
Forum: Reviews
In reply to: [Google CSE] Great for combining WordPress with non-WordPress resultsYour knock is with Google, not the plugin itself 😉
The plugin will fallback to the regular WordPress search (or any other plugin) if the quota is exceeded. No worries.
Forum: Reviews
In reply to: [Google CSE] i don't understandThis plugin fetches results from Google Custom Search API and matches them with you post URL’s in WordPress. Results is displayed as defined by the current search.php template in your active theme.
If everything works fine, you should not notice any difference but the order of the posts in the results. Ranked by Google for better relevance for the search query.
Please get back to me if you have any other questions.
Forum: Plugins
In reply to: [Google CSE] images in search resultYou need to echo that variable out (if available).
<img src="<?php echo $post->cse_img; ?>" />