跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

Storefront Top Bar

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Storefront Top Bar

作者:wooassist
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

This plugin will add two widget areas on top of the main header. The purpose of adding these widget areas is to easily add navigations and notices on the top.

This plugin is built to work only for the Storefront theme.

How to use:

  • Like any other widget areas, you can easily add widgets by navigating to Widgets page under appearance on your WordPress dashboard.
  • You can also add and modify widgets while on the Customizer page.
  • You can easily customize the background, text, and link colors in the Customizer. You can find the settings under Top Bar section.

Notes:

  • The Top Bar widget areas works similar to Storefront’s footer widgets areas. When only the first widget area has widgets, it’s width will be at 100% and the second widget area will not show up.
  • We’ve added styling support for custom menu widgets. It’s look and feel is similar to the main menu and its sub-menu styles.
  • This plugin doesn’t support the sticky header option added by the Storefront Designer extension.

屏幕截图

  • The top bar widget areas in action
  • Top bar section added on the Customize page under Appearance.

安装

Install via the WordPress Dashboard:

  1. Login to your WordPress Dashboard.
  2. Navigate to Plugins, and select add new to go to the “Add Plugins” page.
  3. In the right side, enter “Storefront Top Bar” in the search input bar, and hit your enter key.
  4. Click install, and wait for the plugin to download. Once done, activate the plugin.

Install via FTP:

  1. Extract the zip file, login using your ftp client, and upload the storefront-site-logo folder to your /wp-content/plugins/ directory
  2. Login to your WordPress Dashboard.
  3. go to plugins and activate “Storefront Top Bar” plugin.

常见问题

Will this plugin work for themes other than Storefront?

Unfortunately, No. This plugin was designed to work for the Storefront theme, utilizing Storefront’s action hooks and filters. Activating the plugin while using a different theme will trigger a warning.

I’ve activated the plugin, where can I access the settings?

The settings for this plugin can be found in the Customize page under Appearance. In that page, find the section named “Top Bar”.

How are custom menu widgets shown?

We’ve added styling for the custom menu widgets. It’s look and feel is similar to the main menu and its sub-menu styles.

Will this work on mobile or is it responsive?

The widget areas are designed to be responsive. We’ve also added an option in the customizer to hide the Top Bar entirely when viewing it on mobile.

评价

Kind wishes

sambamballow 2023 年 12 月 21 日
<!– wp:image –><figure class=”wp-block-image”><img alt=””/></figure><!– /wp:image –>

Works Perfectly!

Avrom 2023 年 8 月 28 日
Storefront loads incredibly fast, so I wanted to use it. But a very difficult theme to customize. I spent a whole day trying to find the hooks and template files to disable the Page Title. All to no avail. Thank you so much for creating this plugin!! I have some custom work and will reach out to you.

Great plugin

tmjbeary 2020 年 7 月 29 日
Nice plugin to add custom banner messages in the top bar. Use one widget set to center alignment for a single message centered on your pages.

Awesome Plugin

cboysworld 2020 年 1 月 1 日
Love this plugin!

Should be in default “Storefront”

archesis 2019 年 11 月 17 日 1 回复
Works as promised and should be part of the “Storefront” theme by default. I like that you can turn this top bar off on mobile displays. Some more options for convenience would be nice like settings for margins, paddings, widths, borders …

Supernice!

boppar 2019 年 11 月 7 日
Very good indeed.
阅读所有12条评价

贡献者及开发者

「Storefront Top Bar」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • wooassist

「Storefront Top Bar」插件已被翻译至 4 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Storefront Top Bar」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

1.2.0

*fixed code for php8 compatibility

1.1.1

  • fixed issue – missing CSS for top bar alignment

1.1.0

  • added setting to set text alignment on each top bar widget area
  • tested compatibility with WordPress 4.7.3 and Storefront 2.1.8

1.0.1

  • fixed wrong info for Author and wrong url for support link.
  • removed docs link.

1.0.0

  • initial release

额外信息

  • 版本 1.2.0
  • 最后更新:2 年前
  • 活跃安装数量 2,000+
  • WordPress 版本 4.0.0 或更高版本
  • 已测试的最高版本为 6.4.8
  • 语言

    Danish 、 English (US) 、 Greek 、 Italian 和 Swedish.

    翻译成简体中文

  • 标签
    customizerlogostorefronttop barwidgets
  • 高级视图

评级

5 星(最高 5 星)。
  • 12 条 5 星评价 5 星 12
  • 0 条 4 星评价 4 星 0
  • 0 条 3 星评价 3 星 0
  • 0 条 2 星评价 2 星 0
  • 0 条 1 星评价 1 星 0

Your review

查看全部评论

贡献者

  • wooassist

支持

有话要说吗?是否需要帮助?

查看支持论坛

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 未来五分计划
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗
The WordPress® trademark is the intellectual property of the WordPress Foundation.