Provide zblog template_zblog them_wordpress template download and customization

How to add and modify zblog navigation bar categories?

Tianxing Studio 2014-05-20 14:42 course twenty thousand one hundred and fifty 4 Comments


Many first-time uses zblog 's friends happily completed the installation zblog After the program, I started to prepare to write blog posts. Blogs need to be classified. After classification, I found the foreground Zblog navigation bar The classification of navigation bar How to modify the classification of. This article will give you a detailed explanation.

Zblog is now divided into zblogasp and zblogphp We will explain the two versions separately.

zblogasp Revision method of version navigation bar classification:

There are two cases, depending on different topics. Some topics call the navigation bar in the navigation bar part, and some topics call the navigation bar website Classification.

1. If you find that the background classification management has created many new categories and checked "Add to Navigation Bar Menu", but the foreground is not displayed, then the theme you use must be the website classification. Many friends mistakenly think that there is a problem with the program and go around to solve it. In fact, it is very simple. Just publish an article under the classification, This category will be displayed on the navigation bar of the foreground immediately.

2. The second is called navigation bar, which is very convenient for modification and addition. When adding a category in background category management, check "Add Navigation Bar Menu" to display the category on the navigation bar. To modify the navigation bar, open background sidebar management, find the navigation bar, click Edit, and then you can modify (delete or add) the navigation category arbitrarily.

zblogphp The modification method of the navigation bar classification of ZBlogasp version is the same as that of ZBlogasp version, but it should be noted that ZBlogphp finds the navigation bar in the background module management. When modifying, pay special attention to the code in the navigation bar:

 <li id="nvabar-item-index"><a href=" https://www.txcstx.com/ ">Home page</a></li> <li id="navbar-category-6"><a href=" https://www.txcstx.com/muban/ ">Template center</a></li> <li id="navbar-category-7"><a href=" https://www.txcstx.com/anli/ ">Case presentation</a></li>

There is nothing wrong with adding or deleting, but when you modify, you will find that after the modification is submitted, it will be automatically restored. It is the same as no modification. What's the matter? It was originally a limitation of the zblogphp version. Here is the classification in the directly called classification management. If you directly modify the system, it will be automatically restored. So we should remember to delete the id="" section in the<li id="">navigation bar before you can freely modify it.


Can't find a tutorial that can solve your problem?

You can try to search or ask questions directly online. We also provide charging technical support. If you need it, you can contact us online.

Online questions Online Service

yes four Comments from netizens:

  •  Netizens of Tianxing Studio

    Netizens of Tianxing Studio Nine years ago (January 10, 2016) reply

    Tianxing.. It's too powerful. Perfect solution.

  •  Film and television network

    Film and television network Nine years ago (2015-04-13) reply

    Great. I've been looking for ways to change the navigation bar to other links in the PHP version. Thank you very much!

  •  walkie-talkie

    walkie-talkie 10 years ago (2014-05-21) reply

    Finally, we found the problem. Test again, thanks for sharing.

  •  A rainy night

    A rainy night 10 years ago (2014-05-20) reply

    Thanks for your advice, but I have no problem in the test. Please check whether the punctuation is correct and the case is correct. Thanks for your advice. Hehe, take the sofa by the way.

welcome you Comment: Cancel Reply

 Please fill in the verification code
  • Latest articles
  • Hot article ranking
  • Most Comments
Label aggregation
  • Sign in
  • Registered account Forgot your password?
  • register
  • Already have an account? Direct login Forgot your password?
  • Social account login