wordpress自动草稿_如何在WordPress中添加新闻自动收报器

wordpress自动草稿_如何在WordPress中添加新闻自动收报器_第1张图片

wordpress自动草稿

News tickers sometimes referred to as slides are located at the bottom of most television news networks to highlight breaking news, daily trends, etc. You can use a news ticker on your WordPress website to highlight special deals, popular posts, or anything else. In this article, we will show you how to add a rotating or scrolling news ticker in WordPress.

在大多数电视新闻网络的底部,有时都称为幻灯片的新闻自动收录器,突出显示突发新闻,每日趋势等。您可以在WordPress网站上使用新闻自动收录器,突出显示特价,热门帖子或其他内容。 在本文中,我们将向您展示如何在WordPress中添加旋转或滚动新闻动态。

影片教学 (Video Tutorial)

演示地址

If you don’t like the video or need more instructions, then continue reading.

如果您不喜欢该视频或需要更多说明,请继续阅读。

First thing you need to do is install and activate the Ditty News Ticker plugin. Upon activation, the plugin adds a News Ticker menu item in your WordPress admin. Bring your mouse over to the menu item and click on the Add New link to add a news ticker.

您需要做的第一件事是安装并激活Ditty News Ticker插件。 激活后,该插件会在您的WordPress管理员中添加一个News Ticker菜单项。 将鼠标移到菜单项上,然后单击“添加新”链接以添加新闻自动收录器。

On the next screen, you will have the ability give this particular news ticker a name, ticker text and link. For each ticker, you can add as many ticker items as you like. If you want to add another ticker item, then press the green + button to add the next item on the ticker. Once you are done adding ticker items, scroll down to Ticker Mode. There are three different ticker modes available. Scroll, rotate, and list. The scroll mode is the default one because it is the most commonly used in television networks. Rotate is another good option if you want to show one ticker at a time.

在下一个屏幕上,您将能够为该特定的新闻收录机提供名称,收录机文本和链接。 对于每个股票行情记录,您可以添加任意数量的股票行情记录项目。 如果要添加其他股票项目,请按绿色+按钮在股票行中添加下一个项目。 添加股票行情项目后,向下滚动到股票行情模式。 共有三种不同的自动报价器模式。 滚动,旋转和列出。 滚动模式是默认模式,因为它是电视网络中最常用的模式。 如果您想一次显示一个股票,则旋转是另一个不错的选择。

wordpress自动草稿_如何在WordPress中添加新闻自动收报器_第2张图片

If you want to adjust the behavior of the news ticker, then scroll down to the Scroll settings panel. This panel allows you to configure scroll speed and dimensions. You can also choose the spacing between each ticker items and pause items when a user brings their mouse over the ticker.

如果要调整新闻自动收报器的行为,请向下滚动到“ 滚动设置”面板。 该面板允许您配置滚动速度和尺寸。 当用户将鼠标悬停在股票行情指示器上时,您还可以选择每个股票行情记录项目与暂停项目之间的间距。

wordpress自动草稿_如何在WordPress中添加新闻自动收报器_第3张图片

The plugin generates a shortcode as well as a PHP function for each news ticker you create. You can either use the shortcode inside a post, page, sidebar widget, or you can directly insert the PHP function in your theme files.

该插件会为您创建的每个新闻行情生成一个短代码以及一个PHP函数。 您可以在帖子,页面,侧边栏小部件内使用简码,也可以直接在主题文件中插入PHP函数。

wordpress自动草稿_如何在WordPress中添加新闻自动收报器_第4张图片

Once you insert the ticker shortcode or PHP function, then it should work. We hope that this article helped you add a news ticker to your WordPress website. Would you use a news ticker on your website, or do you rather prefer our sticky floating footer bar? Let us know by leaving a comment below.

插入代码行短代码或PHP函数后,它应该可以工作。 我们希望本文能帮助您向WordPress网站添加新闻自动收录器。 您是在网站上使用新闻发布器,还是更喜欢我们的粘性浮动页脚栏 ? 让我们在下面留下评论。

翻译自: https://www.wpbeginner.com/plugins/how-to-add-a-news-ticker-in-wordpress/

wordpress自动草稿

你可能感兴趣的:(java,python,php,github,mysql)