Home>Article>CMS Tutorial> How to create a web page in wordpress
1. The first step is to install wordpress and open the wordpress control background.
#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.
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.
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.
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.
#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.
#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.
#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!