I'm trying to create a plugin for Wordpress and in the plugin, I am using the Get method to store a string which I will use to call an API. I created a custom page and the url is: http://localhost/wordpress/explorer/. When using the get method in a contact form, the URL becomes http://localhost/wordpress/explorer/?value=inputvalue where input value is the value I inserted into the form. To make the URL look nicer, I want to removed the question mark before inputvalue and make the url something like this http://localhost/wordpress/explorer/value/inputvalue. How can I do that?
I don't want to use the post method since I want the input value to be in the URL.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745553378a4632680.html
评论列表(0条)