WordPress 3.5 added a new balloon feature, you can create a cue box, and then point to any element, such as the following example:
This article will teach you how to create a prompt box like this.
First you need to add a script for the prompt box, so you can use the JS method of the Prompt box.
Mount Cue box script
function bing_admin_pointer_enqueue_scripts () {
wp_enqueue_style (' Wp-pointer
Problem
When the article has pagination, the permanent link generated by WordPress is the form of PAGE.HTML/2, the previous paragraph is the $link of the article, the following number represents pagination $number. So here's the problem, digging ... No, logically, is this an HTML file or a directory?
Ugly
Adding A/And number to the back of the. html file is simply confusing. This is just the second, the important thing is, I found that the search e
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
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
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 WordPress-Related log plug-in that already has hundreds of thousands of logs: WordPress Related Posts, wh
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
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
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,
;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,
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
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
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
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
NextGEN Gallery is a famous album plugin in WordPress, unfortunately does not support Unicode characters such as Chinese, this article will describe how to convert a directory to Ruby (when adding an atlas).
Take NextGen 1.6.2 as an example:
The path to "New Atlas/Picture" is: admin.php?page=nggallery-add-gallery, we find in nextgen-gallery/admin/admin.php "Nggallery-
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)
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
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.