How do I create a foreground page using the wordpress plugin?

Source: Internet
Author: User
The implementation of the function is very simple, is to write a WordPress plug-in, when the plugin can be installed to automatically generate a page in the WordPress front desk (not the page to publish the article, but a separate page), and use Shortcode output a form form.

Reply content:

The implementation of the function is very simple, is to write a WordPress plug-in, when the plugin can be installed to automatically generate a page in the WordPress front desk (not the page to publish the article, but a separate page), and use Shortcode output a form form.

I guess there's a way, but I don't know.

In fact, I also do not advocate the use of plugins to pollute the URL routing system wordpress.

You can always really do a page, content does not matter, only assume the task of URL routing. Then use plug-ins to replace the entire article content (including templates) to implement your business logic.

I used to do a WP website for the event of the application of the filling system, the idea is this:

  • Make a page that takes up URL routinghttp://xx.xx/apply/
  • Completely take over the content of this page with a plugin
  • Parts that involve step-by, parameter-passing, using the same URL, by adding get and post parameters
  • The content of the page itself is written on the "registration system is temporarily closed" as a conscious prohibition of the plug-in when the guarantee (fallback) measures, to the user site features close the clear hint.

Using the Wp_insert_post function of WordPress, you can refer to the Post function in this article: http://www.wpzhiku.com/wordpress-front-form/

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.