continue to add the following code in the index.php:
As the above code comments, we through the Register_activation_hook activation action to complete the plug-in installation, activation action through the parameter My_mood_install, find the function named My_mood_install execution, This action is performed when the plug-in is activated.
We created a table named "Mood" through the My_mood_install function, the database table was created through the
For large data on the conversion between the blog, often use the usual blog conversion program will be very slow, and error prone, for the MySQL based on the WordPress, uploaded data also has a certain limit, therefore, I've summed up some of the ways to convert Z-blog to WordPress directly through SQL statements.
For Z-blog users, you can first execute the following SQL Build data table.
CREATE TABLE blog_
About WordPress 3.1 Upgrade to homepage redirect Cycle reason may be: wp-include/template-loader.php file head of the following code caused.
About WordPress 3.1 Upgrade to homepage redirect Cycle reason may be: wp-include/template-loader.php file Head of the following code caused.
if (defined (%u2018wp_use_themes%u2019) wp_use_themes)
do_action (%u2018template_redirect%u2019);
The solution is to delete
It is estimated that WordPress 3.0 will meet you in the next two months. What new functions may be available in the new Wordpress version? Let's take a look:
1. user name and password
The new version will surprise users at the beginning! At present, after we install Wordpress, the system will give us a user admin and an automatically generated password. Howev
If you are a WordPress encoder or developer, download some convenient WordPress memos to find your work and then you are in the right place. We have listed 25 useful and convenient WordPress quick reference manuals. The WordPress memo form will help you develop your WordPress
HTTP://CODEX.WORDPRESS.ORG/ZH-CN: Install WordPress Introduced WordPress is your best choice if you want to create your own website quickly, easily, and for free. WordPress is a blog platform developed using the PHP language that allows users to build their own websites on servers that support PHP and MySQL databases. WordPr
Tags: mysql wordpress phpThe deployment of WordPress blog system in different systems may be slightly different, but similar, so today to CentOS6 system as an example of WordPress blog system deployment.Install the software first before deploying it, and use the following command after you have configured the software source:Implemented in CentOS 7:Yum install ht
Today, I have organized some exquisite and creative new WordPress Themes, which are basically integrated with the latest design concepts, from simplicity to responsiveness.Engo-Smart Minimal WordPress Theme-MORE INFO
Engo is a smart,Clean minimal wordpress theme. This theme is responsive, retina ready, includes lots of your codes and theme options. With these
This article is the 6th of the fast-track creation series, and if you have not read the previous content, it is recommended that you click on the chapters in the following directory to read the other content before returning to this article.1. Website management platform WordPress and cloud computing Platform Azure Introduction (6 minutes this article)2.1 Creating websites and Web site operations on Azure (13 minutes)2.2 Domain binding operations and
1. Story ReviewIn my previous blog, I built two Web servers and then built an nginx load balancer server on the front end to distribute the requests to two different servers (http://blog.51cto.com/superpcm/2095324). The previous test is not a problem because the test program is a static web site that is purely static and does not change. Later I set up on both the web to build a WordPress service, and then upload pictures when you do the test. found t
The words of the WordPress blog last night on the SSL certificate application and transformation, this thought according to the space Domain Name service provider SSL Authentication application above method, the personal blog site can be directly on the browser display green security signs https://, that know in fact not just this, Today's Day. By visiting blogs on Google Chrome, Mozilla Firefox, World Window browser, 360 secure browser and Sogou brow
What is a custom post?don't take it for granted that post is just a blog article, it is just an article class agent Word, even you can think it is content.The custom model is not a very standard what rules, the article model can be any one of the content model you want, take WordPress itself is built in the following several content article model:
Blog posts
Page
Attachment
Correction
Navigation and other
You can understand thi
WordPress 3.0 introduces the navigation menu function, lets the page navigation and the link management become simple and easy to use. WP to provide users with menu Management page and a variety of call methods, we first look at the general WordPress navigation menu have what function.
Manage Menu Pages
Page path: appearance > MenusFrom the interface, you can create multiple menus, and you can add custom
Movable type and WordPress are the world's most used two blog systems, both of the functions are very powerful, the use of different, of course, the difference between the two is also very large.
Movable type is written in Perl, CGI may be more CPU-intensive, movable type generates a real static HTML file, its URL is friendly to search engines, and static HTML files consume less system resources and can support very large amounts of traffic. Unfortuna
a small site, which involves a lot of optimization matters.
WordPress Each plug-in has its own characteristics, can make up for some of the deficiencies in the blog, or to allow the blog to play a better optimization effect, but the plug-in is not perfect, the site installed more, will affect the opening speed, only the installation of control Plug-ins to obtain the best results. The following is to say WordPres
The previous article explains how to add a menu, which explains how to save data to a database and display it on the page without the content in the Refresh page input box when the form is submitted. To achieve this function we need to use the WordPress function to implement, the following to explain the specific implementation method, first put the code out. or according to the previous plug-in sample, you can make changes directly on the above.//Add
In the 4 years of playing WordPress, witnessed the function of WP more and more powerful at the same time, also feel that WordPress is more and more bloated and complex, is no longer a lot of bloggers think of simple and easy to use, especially for many completely unfamiliar novice, many WP special terminology also smattering, such as " Custom fields, custom thumbnails, custom forms ..... ..... So many cust
WordPress only uses 10 tables: wp_comments, wp_links, wp_options, wp_postmeta, wp_posts, wp_term_relationships, wp_term_taxonomy, wp_terms, wp_usermeta, wp_users
There are roughly five categories by functionUser information: wp_users and wp_usermetaLink info: wp_linksArticle and comment: wp_posts, wp_postmeta, wp_commentsClassification, link classification, tag management: wp_term, wp_term_relationships, wp_term_taxonomyGlobal settings: wp_options
Wp_
This article mainly introduces how to modify the style of the article editor in WordPress, and also recommends two plug-ins to replace the default article editor. For more information, see
Customize the style of the article editorThe style of each WordPress topic is different, but the style is consistent when you use the visual editor in the background to edit the article.
However,
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.