Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

html output #3

Open
xfreakart opened this issue Oct 13, 2018 · 1 comment
Open

html output #3

xfreakart opened this issue Oct 13, 2018 · 1 comment

Comments

@xfreakart
Copy link

xfreakart commented Oct 13, 2018

Sorry if it is out topic.

I'm struggling with reponses.
I'm able to use :

wp_send_json($output);

But, if I echo something, it goes over the head and the body of the page displays :

OOPS! THAT PAGE CAN’T BE FOUND.

Like if it was an 404 page.

I'm using this lib as plugin for some custom urls:

/players/{slug}

Any clue for what should I be looking for?

@kasztof
Copy link

kasztof commented Jun 6, 2019

@xfreakart have you found a solution to your problem?

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

No branches or pull requests

2 participants