WordPress get current method user login information

1) get_currentuserinfo ();

This function will be assigned to the user currently logged on the global variable $ current_user well as some of the individual user information global variables such as $ display_name, $ user_email like. Code is as follows:

 1 <?php global $current_user, $display_name , $user_email;
 2 get_currentuserinfo();
 3 // Global variable $ current_user
 4 echo 'Username: ' . $current_user->user_login . "\n";
 5 echo 'User email: ' . $current_user->user_email . "\n";
 6 echo 'User first name: ' . $current_user->user_firstname . "\n";
 7 echo 'User last name: ' . $current_user->user_lastname . "\n";
 8 echo 'User display name: ' . $current_user->display_name . "\n";
 9 echo 'User ID: ' . $current_user->ID . "\n";
10 // Global variables alone
11 echo $display_name . "'s email address is: " . $user_email;
12 ?>

2). wp_get_current_user()
此函数必须将返回值赋给一个数组变量,代码如下:

1 <?php
2 $current_user = wp_get_current_user();
3 if ( 0 == $current_user->ID ) {
4 // Not logged in.
5 } else {
6 // Logged in.
7 }
8 ?>

Seiko builds the WordPress blog theme: iArtWork theme

Simple to say some of the characteristics of the theme:
  1. 7 kinds of page templates
  2. 23 short code styles
  3. Theme Background Options
  4. CSS3
  5. Built-in themed gadgets
  6. SEO optimization
  7. Ajax Submit Review
  8. Nested comments format
  9. Own page
  10. Comments email reply
  11. Anti-spam comments
  12. 8 kinds of article classification

Browser compatibility: Chrome = Firefox = Safari> Opera> IE9> IE8> IE7
Plug-ins: The currently known plug-ins are None
Note: This topic uses some of the new features of wordpress3.1, please make sure your version is 3.1 or above.

Use Detailed: iArtWork is Mu song and shrimp paste together to create the first theme, Mu song and shrimp sauce on the do not do too much explanation, they have had the theme of making and selling experience, so this Paragraph theme can think of it!

In fact, this theme from the beginning of the notice to the pre-sale, I have been concerned about, I was more critical of the people, there have been a lot of paid topics before I can not into my discernment, but this theme is different, I believe that the first Eye feel, more than a little attraction!

Here are the following that iArtWork more attractive place for me:

((- (First: the overall layout and color, dark tone is generally more difficult to match, but this theme with black and white and gray with the most incisive flair, this is like!

((- (Second: the theme of sliding effects I believe we common, the iArtWork decisive compatible, and joined the new special effects, this is quite good, I believe that through soon!

((- (Third: theme background powerful to put the brain on one side can perfectly understand and set the point, whether it is a big cow or a rookie, the use of O difficulty, pleasure can be imagined!

(- (Fourth: the theme comes with sliding album, this unique ingenuity is in the winter, boil a few nights to get the perfect, I believe the first slide has a theme, at least for me!

(- (Fifth: expansion of the rich page panel, so you remove the code and the layout of the pain, easy to set, easy to enjoy, and each page has a pleasing effect, 720 degree rotation zoom? Powerful but easy-to-use photo album templates, etc.

 

WordPress CMS Theme: ConcisePro 1.0

Topic update records:

2012-4 relating to the start in the development stage

2012-4-28 theme is open and available for download version 1.0 and prepared using the Help topics related articles

2012-5-10 increase the authors table of contents page

2012-5-10 amend copyright notice at the author links

2012-6-20 theme 1.1 release, available for download and use donor manner, the reason will not go into details, see

2012-7-5 theme 1.1.4 release, fixes theme bug, increase short code, templates and other functions contributor

2012-7-6 theme 1.1.5 release, online customer service repair browser style bug, publishing title translation function

2012-7-14 theme 1.2 official release, increase tag cloud, tag list and other small tools, increase their contributions to the code in the article, and recommend the best theme Match

133615g4m wordpress cms主题:ConcisePro 1.0

 

WordPress multi-style Chinese portal binhow 1.0 cms theme

The wordpress cms theme styles are divided into three kinds, there are Photo Gallery, blog style, and style cms, users can more directly to their needs to make adjustments in the background.

A, wordpress theme installation
Download the theme file. Upload to wp-content / themes / directory, to prevent dislocation and so on. Please enter select enabled binhow Themes settings click Save Changes

Second, install the plug
This topic seeks to achieve speed, seo, visual and other running perfect. It is recommended to install the theme of children’s shoes just install three plug-ins Other plug-ins can be avoided.

WP-PostViews, statistics for the number of words read article

jQuery Colorbox, album pages for a slide show

Baidu Sitemap Generator, used to generate maps and Baidu site map file

Third, set the navigation bar
See: wordpress custom navigation menu tutorial

Fourth, set the theme
After installation select a topic, click on the background above the sidebar “Current Theme Settings” to enter the theme settings interface.

According to the above then prompted to enter information, and click on the upper right corner of the “Save Changes.” Special note: Setting Site SEO keywords separated with commas (,).

Five independent Page Setup
See: wordpress Independent Page Setup Guide

Six thumbnail page text
Article list Picture sidebar, how not to fill words are displayed randomly, of course, you can also be customized. Setting the distinctive image in the background

Seven, wordpress cms theme slide show set
See: wordpress Slideshow Settings Tutorial

Eight Home Categories Articles Display Settings
Enter the Display category id, between the classification in English, “” separated, such as: “1,2,3”

Specifically View: wordpress Categories id View Tutorial

See: lovnvns / binhow / loveves Subject Classification Template Settings Tutorial

Waterfall Category Gallery Demo: http: //www.bocaibashi.com/catalog/meinv/

Fiction layout Demo: http: //www.bocaibashi.com/catalog/wenhua/xiaoshuo/

Fiction section layout Demo: http: //www.bocaibashi.com/catalog/wenhua/xiaoshuo/hehongshen/

52WordPress

wordpress theme: classic texture ZeKo-v1 theme

WordPress theme station brought a very personal blog theme texture, you need to install the theme WP-UTF8-Excerpt and WP-PostViews Plus plug-in. Change or delete text paginate.php Website Reviews bottom, the wonderful Website sidebar to find the corresponding modifications sidebar.php inside. Announcement text on the page title changes headline.php file including the classification of the top of the Archives for text. wordpress theme Other settings are some general settings.

Because they did not find the author of the presentation address, the subject interested friends can try to download and install, wordpress theme demo from the picture we can see that the overall texture and layout is very good.

52WordPress

County 现代 – HTML 模板 (County Modern – HTML Template)

 This is the theme of charge in English, I love the recent WP will collect charges relating to outstanding foreign English, because copyright is not available for download, and friends need I can give you.

13031116a QARK现代 HTML模板(QARK Modern – HTML Template)

Template features:

  • 30 Valid Pages
  • 7 Portfolio Pages
  • Awesome Sliders to work with
  • 45 Patterns
  • Light and Dark style
  • Unlimited background Colors
  • Pricing Boxes
  • Working Google Maps
  • JQuery Dropdown menu
  • Many more jQuery Features
Pages:
  • List Slider (Default)
  • Nivo Slider
  • Accordian Slider
  • 3D Slider
  • Video Block
  • Grid Homepage
  • Static Homepage
  • Our Company
  • About Us
  • News Archive
  • Our Services
  • Our Team
  • Career and Job
  • F.A.Q
  • Typography and Features
  • Column Layouts
  • Fullwidth Page
  • Pricing Boxes
  • 404 Error
  • 1 Column Portfolio
  • 2 Columns Portfolio
  • 3 Columns Portfolio
  • 4 Columns Portfolio
  • Portfolio With Sidebar
  • Gallery
  • Portfolio Details
  • Blog
  • Blog Style II
  • Blog Post
  • Contact us

English charged topic: Fusion – Elegant Themes

Fusion is a stylish and gorgeous theme, fused into an awesome package of fun and professional. Great start-up companies, high-tech companies or design firm, this theme will your visitors impressed by its sophisticated style. Packaging ton powerful, such as response design, custom background images and themes too!

Fusion startups, tech companies or design firms, this theme will impress your visitors with its cutting edge style. The theme also comes packaged with tons of great features, such as responsive design, custom background images and more!

Fusion 450x1024 英文收费主题:Fusion – Elegant Themes

 

 

WordPress Business Theme: Corporate Kande Topic

This is a very nice business wordpress theme, standard sites and corporate users of the site. Making navigation very texture, the following three slides atmosphere, demonstrating the company’s strengths and products. This is also the soul of the entire site is located. Company profiles, company news, product classification list, contact information and so on.

124025gES wordpress企业主题:公司kande主题

 

 

WordPress Theme: Speaking Adeli Topic

I love WP bring is a well-known foreign WordPress Theme, supports slide show function / 3 slots / left column / multi-menu functions, and the theme of the volume of light, opening speed quickly but the interface and functionality is not monotonous, it is recommended as a personal blog use this theme has been completely finished, so no problem for people to use.

In the background, set the template, leaving Baidu or Google’s Webmaster Statistics code location, statistical aspects of your situation and pay attention to your webmaster. Also do advertising network alliance or friends for you to set aside a couple of advertising, do Wangzhuan essential.

 

042644Hnw wordpress主题:汉化Adeli主题

WordPress Theme: CMS Finished Metamorphosis Theme

This wordpress template out some time, but perfectly compatible wp3.5 tested version. Currently 80% of this theme has been finished, including the foreground Keywords background settings. For people to use it is very simple terms. Chinese simplified single page and CSS adjustments to optimize the comment box.

043638BPs wordpress主题:cms汉化metamorphosis主题