V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
wheatcc
V2EX  ›  问与答

怎么在wordpress添加左侧的浮动导航?

  •  
  •   wheatcc · Nov 13, 2013 · 3383 views
    This topic created in 4549 days ago, the information mentioned may be changed or developed.
    类似于smzdm的左侧导航。需要在哪里添加和调用代码?
    2 replies    1970-01-01 08:00:00 +08:00
    dragonszy
        1
    dragonszy  
       Nov 14, 2013
    外观->菜单里添加自定义菜单,比如命名 MySidebar,添加一些页面链接。

    接着在“外观->小工具”里把 MySidebar 添加到主题自带的"sidebar"区域(twenty thirteen里是从挂件区)。

    然后修改 style.css,一般浮动是加 position:fixed 等。具体见 http://zh.learnlayout.com/

    最后,俺回复仅仅是为了消灭0回复。
    wheatcc
        2
    wheatcc  
    OP
       Nov 14, 2013
    @dragonszy 十分感谢~~~
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2692 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 15:56 · PVG 23:56 · LAX 08:56 · JFK 11:56
    ♥ Do have faith in what you're doing.