Skip to content

Pass feed URL to javascript through searchParams#5

Open
spylypenko wants to merge 1 commit intogetshifter:masterfrom
spylypenko:master
Open

Pass feed URL to javascript through searchParams#5
spylypenko wants to merge 1 commit intogetshifter:masterfrom
spylypenko:master

Conversation

@spylypenko
Copy link

If Wordpress is hosted in a subdirectory, the current implementation won't be work.
This fix could resolve the issue.
Also, it seems to be more logical to define this option in the php file.

@Erudition
Copy link

Wound up with a similar solution in my fork,
https://github.com/Erudition/wp-serverless-search/blob/6bffd9431bbd6c5ffe5e7522a90ce9f13cfa6274/main/main.js#L8
except it was to make it work with Shifter's Media CDN!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants