How to Implement the independent topic page on the front-end of WBlog-PHP development

Source: Internet
Author: User
The function expansion of WBlog is very simple. We will learn how to create an independent page by setting up an independent page. Current status: when designing the front-end of a WBlog blog, to make it simple, use the Branch judgment statement to merge the column page into the home page. So when you click the column to enter the page, the page title displays the website title. To achieve this goal: click on the topic page of each WBlog blog category to display the topic title as the page title. Obviously, this layout is more reasonable and more conducive to SEO. WBlogThe function expansion of a blog is very simple. We will learn how to create an independent page by setting up an independent topic page.

Current status: designed at the beginningWBlogAt the front-end of a blog, you can use the Branch judgment statement to merge the column pages into the homepage. Therefore, when you click a column to enter the page, the page title displays the website title.


Target: click eachWBlogThe topic pages displayed by blog category are displayed by topic titles. Obviously, this layout is more reasonable and more conducive to SEO. Let's look at the wordpress layout as well.


Target implementation steps:

1. Create a topic controller CatAction. class. php

Download WBlog3.1.2

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.