Wordpress learning-plugins-001,-plugins-001. Wordpress learning-plugins-001,-plugins-001plugins-plug-in Akismet (AutomatticKismet) is a widely used spam message filtering system by WordPress founder wordpress learning-plugins-001,-plugins-001
Plugins-plugin
Akismet (Automattic Kismet) is a widely used spam message fil
How to enable the WordPress editor to support inline SVG code and wordpresssvg
The WordPress editor has always been unfriendly to support SVG. First, it cannot upload SVG files or automatically embed them into the content for normal display. At the same time, the inline SVG code is not recognized at all, and the SVG code will be automatically deleted relentlessly.
In the previous article, I introduced how t
(Iis7.5 + MySQL + PHP + WordPress)
I plan to install a WordPress locally for fun. I have never touched on PHP or MySQL before.
I had a lot of tutorials on the Internet, but none of them were totally trustworthy. I had a lot of detours, but I finally got it.
To minimize detours, we feel it is necessary to record this process.
I wrote this tutorial for the first time. If you are a friend with no deploy
System platform: CentOS 7 1611WordpressPhpMyAdmin (CentOS 7 does not recommend installing the latest version, otherwise you need to compile the latest PHP-FPM)Install httpd (192.168.1.200), PHP-FPM (192.168.1.201), mariadb (192.168.1.202) on three hosts respectively,and provide WordPress, phpMyAdmin application1. Install and configure the httpd server 1.1 Installing the HTTPD service [email protected] ~]# Yum install-y httpd 1.2 Edit the httpd conf
Transferred from: http://www.cnblogs.com/xiaofengkang/archive/2011/11/16/2251608.htmlAbout WordPressWordPress is an open source, free blog (blog, weblog) engine developed using the PHP language and MySQL database, and users can build their own blogs on servers that support PHP and MySQL databases. WordPress is a very powerful blog system, many plugins, easy to expand functionality. Installation and use are very convenient. At present,
and authorize user accounts for testing in MySQL to test the PHP connection database:PHP Connection Database test:
[Email protected] conf.d]# cd/var/www/vhost1/[[email protected] vhost1]# lsIndex.html[Email protected] vhost1]# mv index.html index.php[Email protected] vhost1]# vim index.phpThis is Vhost ' s homepage~$conn = mysql_connect (' 172.16.68.1 ', ' Chenliang ', ' 123456 ');if ($conn)echo "Connect successful.";Elseecho "Connect failed.";?>Test results:
4. Deploy the applica
Install MySQL Service
Download MySQL Mirror:
Docker pull MySQL
Create the MySQL container and run in the background, specifying the database password is 123456. -e Specifies environment variables.
Docker run--name mysql_db-e mysql_root_password=123456-d MySQL
Using the official WordPress
WordPress Mirror Daocloud.io:
Docker Pull Daocloud.io/daocloud/dao-wordpress:latest
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
Plugins are tools used to expand WordPress. The WordPress design is streamlined to get the most flexibility and the least core code. Plug-ins can reject user-defined functions and features or add required details. This article includes the list of articles related to plug-in development resources nbsp; for general plug-ins, refer to ManagingPlugins (management plug-ins)-for example:
Plugins are tools used
Use Ubuntu to build WordPress after changing the theme when prompted to enter the FTP account and password, the solution is mainly to the WordPress main directory of the rights owner to Apache:Find the user name and user group used by the Apache service Ps-auxFind/usr/sbin/apach username, it is the owner of Apache, I here is Www-datasudo chown www-data:www-data-r/var/www/html/Because my
The comparison of Apache and Nginx on the internet is also a lot of, here will not repeat, there is a chance to explain in detail.
I believe that with WordPress bloggers will use pseudo static, pseudo static benefits of search engine friendly, looks good.
With the virtual host users are mostly using Apache,apache pseudo static WordPress support is very good, almost do not own to edit. Love toss, favorite
After two days of regular expression learning, and the study of WordPress's routing function, the successful implementation of the custom WordPress routing function, the following is the implementation of routing rules.If you have a custom URL parameter, to pass through the route, you must add the parameters through the WordPress function:
Copy Code code as follows:
Add Query_args
functio
WordPress custom field is the article meta information (meta information), the use of this function, you can expand the function of the article is to learn the WordPress plug-in development and in-depth development of the theme of the necessary knowledge to facilitate the article to store some additional custom content.
Custom fields are not only used by plug-in developers, but the features of WordPress's
WordPress plug-in mechanism is actually just this hook, it is translated into a hook, allowing you to participate in the WordPress core operation, is a very good thing, below we have a detailed understanding of it.Hook category
There are two kinds of hooks, one called action, and the other is called filter. The two hooks are basically the same principle, and later on, the difference is that the filter has
In addition to the special features we may need, WordPress ordinary users to achieve a certain effect and function, basically can find the appropriate Plug-ins or document solutions. Because most of the company's customers Web sites are built by WordPress, some sites are delivered to customers manually by their own maintenance of updated content, there is a problem to be solved, such as products and content
So far, Chiang has tidied up the Mini-capatcha, Myqaptcha, and the WordPress program itself with the anti-spam comment plug-in function. There is also a similar function we must have encountered, such as in 12306 to buy tickets, the choice of objects of the cheat-proof function is particularly annoying, right? But this approach is more rigorous and can really prevent software reviews.
However, the old Chiang to share this fancy captcha plug
Navigation Menuthe navigation menu has long been "deep in the hearts of the public", the application of blog increasingly important and diverse. From the beginning of this article, I will carry out a few topics on the WordPress navigation menu, discuss how to use and strengthen the navigation menu in WordPress, the topic has a certain relationship, the difficulty will gradually increase.
There are usuall
.
$output variable is used to set the type of return data, there are three kinds, objects, associative arrays, numeric arrays.Objects: ObjectAssociative arrays: array_aArray of values: Array_nDefault value: OBJECT
Working with instances
Get_postsget_posts function, simple to say is the plural new situation of get_post, but because is the article extracts, so the use of the method is slightly different, support many parameters to select the need to extract the article, in the CMS
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.