WordPress Enterprise Website How to make full use of article attributes

Source: Internet
Author: User
Keywords WordPress

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

The first contact with WordPress, to WordPress powerful features overwhelmed, very good. A lot of plug-ins, templates are also many, but the Enterprise class template is relatively small, usually have to charge, such as wpyou development. After more study, and deepening, combined with wpyou free CMS templates and other templates, changed to my first WordPress enterprise theme. Strictly speaking, it continues the wpyou template style.

WordPress do business Theme sites, there are several major issues, such as navigation, slides, product display, sidebar and so on. The following will be explained.

1, in the navigation aspect, I use the page and the article classification catalog unifies the method. For example, call page parameter wp_list_pages and call catalog parameter wp_list_categories. (However, this can be set by the Wp_nav parameter in wordpress3.0)

2, in the slide, make full use of the properties of the article: thumbnail and article top function. Use the thumbnail to control the display of the slide picture, and use the article top function to control the replacement display slide picture.

3, in product display, but also make full use of the properties of the article: thumbnail function. This will be the corresponding to the desired category of products as a picture of the way to display. In addition to call a type of merchandise, through the parameter <?php query_posts ("Showposts=x&cat=w")?> to control. X: Control Display Quantity W: First level Category ID

4, in the sidebar aspect, through

<?php $post = $wp _query->post;
if (In_category (' m ') |in_category (' m ') {wp_list_categories (' child_of=w&hide_empty=0&title_li=<h2> '). __ (' Product catalog '). ' </h2>
');}
ElseIf (In_category (' m ') |in_category (' m ') |in_category (' m '))
{wp_list_categories (' child_of=w&hide_empty=0&title_li=<h2> ') (' News Center '). ' </h2>
');}
?> to control the subcategory of the category to which the call resides. M: Level Two category ID W: First level Category ID

In search engine optimization, especially for Baidu to do the optimization, the use of key words in the chain Plug-ins and Baidu xml plug-ins, pinyin plug-ins and so on.

Below is the website effect chart, welcome everybody to visit: http://www.9102018.com/

  

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.