Skip to main content
We are Brand SEO Beijing serving international business, your marketing partner, Contact us by mi@mgsh.com.cn

How to modify the publication time of a website and submit it to search engines?

In the process of optimization, SEOer may find that some Baidu snapshots have time to display, as shown in the following figure: The time here is the display time of Baidu search engine crawling, and the display time is to allow Baidu web crawler baiduspider to better crawl web pages Forming a snapshot, we can have multiple implementations, but what is the standard?米国生活It is recommended to use international standards, that is to say meta tags, to describe the publication time and modification time of the web page, such as: #米国生活Displayed in the source code of an article webpage

Mm more info

How to put an ellipsis in the title of the article list beyond the part?

After the written article is updated, all the text is displayed, but I only want to display one line of the title text. What should I do at this time?In fact, it is very simple to make this effect. You only need to write three styles in your css file to complete the title restriction!Such as: {width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } The most critical css is: overflow: hidden; white-s…

Mm more info

Website production theme single page template page.php

A blog site, including enterprise sites, picture sites, etc., can be classified into two categories: articles and categories; articles can be divided into ordinary articles and independent pages.In the WordPress background, articles and content have been distinguished. In fact, articles and pages are only two article forms. They are stored in the same table in the database, and the storage method is the same. Only one attribute is different: post, page.Therefore, the way of adding pages and displaying them is the same as that of posts. Their template code pages are basically similar, but we can change them according to our needs.in front…

Mm more info

Website Builder themes add keywords and descriptions using custom fields

In the previous tutorial, the header.php file we made did not add keywords and description information. Although some people say that Baidu no longer values ​​keywords and description information, something is better than nothing, and specification is better than non-standard. it is good.So we still add keywords and description information.Of course, we added the wp_head function to the header earlier, so we can use the seo plugin to output keywords and descriptions.Open the header.php file under our theme folder content\themes\Aurelius, in

Mm more info

Website making themes start making templates

The WordPress theme contains at least the following two files: style.css index.php The first step is to create a new folder under your WordPress theme directory directory wp-content\themes\, name it Aurelius, and make the whole process of making a WordPress theme: HTML The style.css and index.html downloaded from static template production are placed in this directory, and then index.html is renamed to index.php, so that wp-conte…

Mm more info

Analysis of website CMS plug-in mechanism

I have always been very interested in software components and plug-in architecture. I think that any application developed now must have a well-structured plug-in mechanism, which can attract other people to develop plug-ins and greatly expand the functions of the system. Eclipse is a great example, and you can find corresponding third-party plug-ins from the community for almost any function you want. The same is true of Firefox, its plug-in mechanism is very flexible (especially compared to IE), so a variety of plug-ins can be found in the Firefox community. 1) WordPress site CMS reads…

Mm more info

Website CMS Source Code Research - Implementation of Sidebar

The widget. Chinese background display name of the CMS of the wordpress website is called a small tool.Includes text tools for adding custom code yourself.Some tools come with the theme, and some are added by yourself, or added by the plugin for you after you install some plugins.All of these plugins are available, and their information is stored in the option table. We all know that in the first step of WP initialization (mentioned in my previous article "Wordpress Source Code Research - Front-end Running Process") , put these data into global variables.Place…

Mm more info

Website source code research - foreground running process Hook

As mentioned earlier, all the processing of the WP website is in index.php, with a single entry.And there are two steps here.One is the preparation of data, and the second is the loading of templates.So where is our plugin call? ?It can be said that the data required by the plug-in is prepared in the first step, the calling mechanism of the plug-in is also initialized in the first step, and some interface calls are also made in the first step.Then the second part is mainly to call the method of the interface in a specific place.In fact, the so-called plug-in, to put it bluntly, is a bunch of functions. The author of the plug-in hopes that this bunch of functions can run the process in WP...

Mm more info

Website source code research - foreground operation process

The WP website is a single-entry thing, which means that all its front-end processing is in one index.php.But why we often see not index.php? XXXX. .But like now you see the URL of this article, he is not index.php, um, it is not, this is not!In fact, this is a little trick of rewrite. You can see that my URL is like this. In fact, there is no such file in my directory. When there is no such file, my .htaccess file (equivalent to apac…

Mm more info

Cookie Mechanism in Website CMS

WordPress uses cookies technology (a technology that allows the website server to store small amounts of data on the client's hard drive or memory, or read data information from the client's hard drive) to verify your identity. WordPress cookies are divided into login user cookies and commenter cookies.User A user is a person who has a registered account on WordPress.When you log in to WordPress from http://example.com/wp-login.php, WordPress…

Mm more info
Back to Top