I'm using Ghost blog system and GhostHunter as searching engine. But when I search anything it returns me Number of posts found: 0
.
Who knows, how to fix it?
I'm using Ghost blog system and GhostHunter as searching engine. But when I search anything it returns me Number of posts found: 0
.
Who knows, how to fix it?
As mentioned here I was getting the Ghost is not defined
error message on the console in F12 dev tools.
I simply had to enable the Public API
checkbox on the Labs
tab under Settings on the Ghost Admin page.
For reference my script is:
$("#search-field").ghostHunter({
rss: "{{@blog.url}}/rss/",
results: "#results"
});