F
F
fag0t2019-10-28 20:37:29
Parsing
fag0t, 2019-10-28 20:37:29

How to insert the result of executing a php script into a wordpress page?

Hello.
There is a parser written through a plugin for wordpress. It can automatically create entries with the result of parsing.
Now the question arose, how to make a button in the editor with an input where the url of the page that needs to be parsed is driven in, and after clicking on the button, the result of this parsing is already inserted into the text where the cursor was inserted?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Aricus, 2019-10-29
@fag0t

Maybe I did not understand the question, but it seems to be a standard task for ajax. You write a regular button, and by clicking on it you call your parser. You can read about using ajax in wordpress here .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question