Home>Article>CMS Tutorial> How to create a web page in wordpress

How to create a web page in wordpress

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼 Original
2019-07-18 10:21:54 7273browse

How to create a web page in wordpress

1. The first step is to install wordpress and open the wordpress control background.

How to create a web page in wordpress

#2. First select the appearance option, which has a theme. Open the theme and you can see some template files. Select a suitable template, install it, and then modify it.

How to create a web page in wordpress

3. Here we take the most basic template as a demonstration. This theme is similar to bootstrap design when opened, but it is not very satisfactory. If you don’t want to blog, this design is actually a bit wasteful.

How to create a web page in wordpress

Related recommendations: "Wordpress Tutorial"

4. First, we want to only display the first 100 bytes of the article, instead of Fully expanded like a blog. We need to first install a plug-in called WP-UTF8--Excerpt. Through this plug-in, we can set the way articles on the homepage are displayed. After saving this setting, when you open it, you will see that the homepage only displays a summary instead of a full display.

How to create a web page in wordpress

How to create a web page in wordpress

5. Another important thing for a portal is the design of the navigation bar. Before building the navigation bar, we need to create several new pages.

How to create a web page in wordpress

#6. The navigation bar should also be beautified. There are many navigation bar beautification plug-ins. Search Menu in the plug-in and a lot of results will appear. Choose an installation and setting that meets your own aesthetic standards. For example, the function of this plug-in is to make the navigation bar always appear in a fixed position and not change with scrolling.

How to create a web page in wordpress

#7. Then there is the homepage sidebar. Generally speaking, the home page of a portal website has a single structure and does not include a sidebar, so if you want to remove the sidebar (or customize it), go to Appearance-Widgets-Blog Sidebar and select Remove.

How to create a web page in wordpress

#8. Then adjust the article structure so that the article is centered as a whole. Such a simplified home page is ready.

9. Next is the new page. The new page often feels confusing, as it seems to be just a simple article page. In fact, it changes other parts of the sidebar except the navigation. This is indeed a limitation of WordPress. If you want to modify a new page, there are two methods. One is to modify the PHP file and write a new style; the other is to direct 301 to a static page.

The above is the detailed content of How to create a web page in wordpress. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn