M
M
mrgrock2018-03-11 12:20:57
WordPress
mrgrock, 2018-03-11 12:20:57

How to make a separate page with GET processing?

Good morning!
I wrote my question-answer plugin with my tables in the database, now I ran into a problem, how to create a separate page for a specific question.
I want to do something like - site.com/faq?post=1,2,3 or site.com/faq.php?post=1,2,3 (the faq.php file will be in the folder with the plugin or in the topic)
I searched everything, I found that it can be done somehow through add_query_arg() , but I don’t fully understand how to do it.
How to make wp see this file and be able to access it?
Help:(

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question