Build a wordpress Development Environment

Source: Internet
Author: User
Wordpress development mainly involves php, css, and html. Therefore, any tools can be used during the Second Development of wordpress. Tools such as notepad and notepad are inconvenient to use. For example, wordpress is built into a project to facilitate searching for functions, code highlighting, and code reminder functions. To facilitate wordpress

Wordpress development mainly involves php, css, and html. Therefore, any tools can be used during the Second Development of wordpress. Tools such as notepad and notepad are inconvenient to use. For example, wordpress is built into a project to facilitate searching for functions, code highlighting, and code reminder functions. To facilitate wordpress

Wordpress development mainly involves php, css, and html. Therefore, any tools can be used during the Second Development of wordpress. Tools such as notepad and notepad are inconvenient to use. For example, wordpress is built into a project to facilitate searching for functions, code highlighting, and code reminder functions. Therefore, good development tools are required to facilitate wordpress development. Wordpress mainly involves php encoding, so the development tools used are mainly for php. Undoubtedly, zend studio is the best php development tool.

Windows + apache + php + mysql has many online environments. You can search for them on google. Or download an appserv directly.

Zend studio is also easy to install. The most important thing is to find a suitable cracking version. It can be downloaded from my baidu cloud, which is:

Http://pan.baidu.com/share/link? Consumer id = 3023376389 & uk = 4114047633

Solution:

1. After downloading, first install zend studio

2. After installation, copy the com. zend. php. core_10.0.201302111609.jar file to the plugins directory under the zend installation path.
3. Open zend and enter the registration code in License key.txt.

4. The registration is completed at this step.

Wordpress Development Method
1. Open zend and choose file> new> php project from existing directory from the menu.
2. Open the wordpress directory in settings. It is best to place wordpress in the apache www directory for later debugging.
3. Set the web path in launch settings.

4. Select the desired format from libraries and click finish.
5. At this step, wordpress has been included in the zend studio project.

How to test functions in wordpress
1. Create a New PHP file in the project
2. Include wp-blog-header.php files
3. Call related functions

Test cases:

Require ("wp-blog-header.php ");
$ Arr = array ("name", "description", "url", "wpurl ",
"Admin_email", "charset ",
"Html_type", "language", "rss2_url", "comments_rss2_url ",
"Template_directory ");

$ Length = count ($ arr );
For ($ I = 0; $ I <$ length; $ I ++ ){
Echo $ arr [$ I]. "= ";
Bloginfo ($ arr [$ I]);
Echo"
";
}
?>

Original article, reprinted Please note:Reposted from the silence clown

Link:Build a wordpress Development Environment

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.