Dreamweaver CS5 to enable the WordPress code hint function of the graphic method

Source: Internet
Author: User
Tags add exit functions interface php mysql dreamweaver

One of the biggest benefits of programming with a visual IDE tool like Dreamweaver is its code hints feature, which, as long as you enter a few characters, will intelligently give you an array of optional functions or variables to enter.

The benefits of the code hints feature are very obvious, for example, if you don't remember a function, you can quickly enter it through code hints, without searching and checking the data, even if it is very clear, you can quickly enter the code prompt without having to enter each character, which is very obvious to the efficiency of the program.

Dreamweaver CS5 support WordPress code hints

We know that the Dreamweaver code hints feature supports html,php,javascript these dynamic languages, while the latest Dreamweaver CS5 goes further and supports Wordpress,drupal,joomla Code hints for private functions of these open-source programs.

This use Dreamweaver CS5 to develop WordPress plug-ins and themes, as long as you enter the WordPress built-in function of the first few characters, will display the entire function, no longer need to hard remember the function name.

How to enable the WordPress code hints feature in Dreamweaver CS5

The following explains how to enable the WordPress code hints feature in Dreamweaver CS5:

Add a local test site to the Dreamweaver CS5

First of all, to install the local WordPress test Site, if it is a Windows system, you can view this tutorial: How to install the WordPress local test on Windows system, and ensure that the site has been able to browse the normal local.

Click "Site–>new Site" in the Dreamweaver CS5 menu to set up a new site as follows:

In the same dialog box to switch to the "Servers" interface, click the "+" number to add a test server.

Above we said Dreamweaver CS5 to enable the WordPress code hint function needs a test server, we have in advance on the computer to install such as XAMPP server, and put some information into the image.

In the same dialog box to switch to the "Advanced" interface, "Server Model" select "PHP MySQL", save.

Return to the "Servers" Settings interface, select "Testing", Save, exit this dialog box, complete the site settings.

Open the WordPress code hint function in Dreamweaver CS5

Click on the Dreamweaver menu "site–>site-specific Code hints", so that the site and WordPress Association, as shown above, the general Dreamweaver will automatically select WordPress, if not, Please manually select and save the exit dialog boxes.

All right, all set. The following is the moment to witness miracles, open a file in a WordPress theme, such as index.php, as shown below:

The first few characters of a function in WordPress, such as "the_", press ctrl+h, will pop up in WordPress with "the_" all the functions of the beginning for you to choose, is not very convenient?



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.