After installing the wordpress program, we found that only the website title and subtitle can be entered, but the keyword addition and description are not added, which may have nothing to do with the average person, but this is not a small matter for seo. It is indispensable for keyword ranking in website rankings. How can we add keywords and descriptions in wordpress
Web site Keywords and Web page description of the search engine friendly network site, if you manually add obviously too much, that how to let WordPress blog automatically for each article automatic keywords and page description. The content of each article is different, how should we let WordPress automatically add ar
situation optional check.Configuring Plugins in detailAfter you have configured the plugin, click Submit and update the map to complete.After the configuration, the plugin will automatically write sitemap.xml to the site robots.txt let the search engine crawler automatically crawl.Fifth, put the sitemap.html file at the bottom of your website.add href= "http//Your domain/sitemap.html" at the bottom of the blog's theme footer (footer.php) >SitemapAll right, sitemap plug-in installation using the
To judge a sticky articlethe Is_sticky () function is used to determine whether an article is a sticky article.
Usage
Is_sticky ($post _id);
Parameters
$post _id
(integer) (optional) The article ID to be judged by default is the current article in the loop.
Default value: 0 (current article in loop)
return value
(Boolean) Whether the article is a sticky article.
Example
if (Is_sticky ()) echo//' current article is a sticky article ';
if (Is_sticky) echo//' ID 68 arti
This article mainly introduces the PHP code instance for adding page number navigation to the WordPress topic, which is also an essential basic function for creating various WordPress Themes, if you want to use WordPress, you can refer to WordPress's default recommendation for Topic developers to provide the top and bottom buttons at the bottom of the article lis
Describe
The Add_meta_box () function was added to WordPress 2.5 to add meta modules to the admin interface to the plugin developer.
Usage
Add_meta_box ($id, $title, $callback, $post _type, $context, $priority, $callback _args);?>Parameters
$id
(string) (required) HTML "ID" attribute of the Meta module
$title
(string) (required) The title of the Meta module, visible to the user
$callback
(callback)
WordPress Set Comments Link redirect Jump
First: Add the following code to the last?> position of function template
The code is as follows
Copy Code
Comments link Redirect//Below is the WordPress settings Comment Link redirect jump that I addedAdd_filter (' Get_comment_author_link ', ' Add_redirect_comment_link ', 5);Add_filter (' Co
WordPress defaults to the theme developer's recommendation is to provide a page DOWN button at the bottom of the list of articles, so there is no function for paging navigation that is directly used under the list of articles. Here I provide a more complete pager function.
/** *wordpress article List paging navigation *http://www.endskin.com/page-navi//function Bing_get_pagenavi ($query = false, $num
Add a code example in the prompt box to the WordPress editing background for sharing ,. Add a code instance to the WordPress editing background to share the prompt box. WordPress3.5 adds a new prompt box function. you can create a prompt box and point it to any element, for example,
This article mainly introduces how to get the database field content in WordPress and add the topic settings menu. it explains the usage of the get_option () function and the add_theme_page () function respectively, for more information, see
Tips for using the get_option () functionThe get_option () function is a function that we often use when integrating background functions. it is mainly used to obtain t
;return trailingslashit($url);}
Is it concise .....
If you are using multiple sites, and the previous site SEO is not bad, now you are ready to add a new site, in case of mutual impact, it is recommended that you fine-tune the above Code and add it to the template directory functoins. php (or use the plug-in to open an account only on a new site ):
if (!is_admin()) { function ppm_fixe_trailingslash($url,
Get_option () function Use tipsget_option () This function is actually a function that we often use when we integrate back-office functionality, mainly to get a function of the field content we want from the WordPress Blog database option table, in most of the current topics, As long as the theme of the integration of the background control page, and most of the use of this function, although WP gives us a lot of ways to temporarily store our theme se
From the WordPress background Media Library upload media files, not like the article can give it to specify categories and tags, but many times we need such a function, such as some download stations, picture stations and so on.
The original state of the media edit page
Obviously, in the WordPress background of the media editing page, by default there is no classification and label for you to choose.
A
WordPress-related log plug-ins: WordPressRelatedPosts, which is also a plug-in made by boiled fish. one function can display thumbnails through custom fields. for a new blog, you can add them slowly, however, for a log that already has hundreds of thousands,
WordPress-Related log plug-in: WordPress Related Posts, which
Many online writing how to integrate Google's custom search in WordPress article, but very few mention how to integrate the V2 version of the code, today through the actual test to explain to you, how to achieve in WordPress integrated Google custom search.
Get Google Custom Search codeEnter http://www.google.com/cse/Google's various series of accounts are generic,So if you have Gmail, you can get into thi
This article describes how to add custom fields and related functions to the background editing area in WordPress. it briefly describes the usage of add_post_meta and add_meta_box. For more information, see
Add_post_metaThe add_post_meta function is a function used in WordPress to add custom field values to articles or
This article describes how to add custom fields and related functions to the background editing area in WordPress. it briefly describes the usage of add_post_meta and add_meta_box. For more information, see
Add_post_metaThe add_post_meta function is a function used in WordPress to add custom field values to articles or
WordPress navigation menu Calls, the general use of the Wp_nav_menu () function, after use found that this function does not provide us with each navigation menu to add custom class interface features!
Search the next, and finally in a foreigner article found in the WordPress itself to provide solutions! Well, WordPress
Wordpress adds article browsing statistics (refresh is not repeated ). Wordpress itself does not contain article browsing statistics. you can use the plug-in wp-postview, but refresh still calculates the number of browsing times. 1. First, add the following code to functions. php under the topic. wordpress does not inc
"Zipposter" is a Wordpress plug-in that uploads TXT files to regularly publish articles. The first text can be automatically extracted as the title, and the rest is the content of the article. Github. comwp-pluginszipposter ask the experts to help add several features to it: I want to use Ta... "zipposter" as a Wordpress plug-in that uploads TXT files to implemen
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.