[wordpress插件] Advanced Tagline高级标语

wordpress 插件 文章 2020-02-09 04:20 0 291 全屏看文
评分

0

0

描述

Advanced Tagline gives the option to have multiple taglines for your blog and display them at random or sequentially with each page view.

“高级标语”为您的博客提供了多个标语,并在每个页面视图中随机或顺序显示。

Typical uses:

典型用途:

    • Random Quotes
    • 随机行情

    • Song Lyrics
    • 歌曲歌词

    • “Tip of the day” style help
    • “每日提示”样式帮助

    Features

    功能

      • Sequential or random display
      • 顺序显示或随机显示

      • Easily edit active taglines
      • 轻松编辑活动标语

      • Easily addemove taglines
      • 轻松添加/删除标语

      • Batch import (csv), overwrite or append
      • 批量导入(csv),覆盖或追加

      • Export to csv
      • 导出到csv

      • Each tag can have an optional link
      • 每个标签可以有一个可选链接

      • Store plugin data using get_option and update_option
      • 使用get_option和update_option存储插件数据

      • Uses ‘get_header’ action and ‘bloginfo’ filter to help avoid theme editing
      • 使用“ get_header”操作和“ bloginfo”过滤器来帮助避免主题编辑

      • Can be used as a widget
      • 可以用作小部件

      Version 1.5.3

      版本1.5.3

      * Fixed conflicts with other plugins / admin features

      *修复了与其他插件/管理功能的冲突

      Version 1.5.2

      版本1.5.2

      * Fixed a bug regarding the proper selection of the Options > Display Mode setting in admin.

      *修复了有关在admin中正确选择“选项”>“显示模式”设置的错误。

      The value saves correctly, but it would always display with Standard selected.

      该值可以正确保存,但始终会在选择“标准”的情况下显示。

      Version 1.5.1

      版本1.5.1

      * Adjusted CSS to avoid conflicts with other parts of WordPress admin (namely widget management system. Thanks to @zaneselvans)

      *调整CSS以避免与WordPress管理员(即小部件管理系统)的其他部分发生冲突。感谢@zaneselvans)

      * Switched to use jQuery that is bundled with WordPress to avoid jQuery.noConflict()

      *切换为使用与WordPress捆绑在一起的jQuery,以避免jQuery.noConflict()

      Version 1.5

      版本1.5

        • Switched from mootools to jQuery.

        • 从mootools切换到jQuery。

          This should help with some of the conflicts reported with other plugins and WP 2.7.

        • 这应该有助于解决其他插件和WP 2.7所报告的一些冲突。

        • Uses ajax for all changes (except import)
        • 使用ajax进行所有更改(导入除外)

        • Export to CSV
        • 导出为CSV

        Version 1.4.4

        版本1.4.4

          • Changed advtag_get_tagline([$echo = TRUE]) to advtag_get_tagline([$show_link = TRUE [, $echo = TRUE]]).

          • advtag_get_tagline([$ echo = TRUE])更改为 advtag_get_tagline([$ show_link = TRUE [,$ echo = TRUE]])

            In some cases, even though your tagline has a link, you might not want to show it, such as in the tag.

            在某些情况下,即使您的标语有链接,您也可能不想显示它,例如在 </ title> </ code>标记中。<p/><p>In cases like this, use <code>advtag_get_tagline(FALSE)</code> rather than <code>bloginfo('description')</code> or <code>bloginfo('advtag')</code>.</li<p/><p>在这种情况下,请使用<code> advtag_get_tagline(FALSE)</ code>,而不要使用<code> bloginfo('description')</ code>或<code> bloginfo('advtag')</ code>。</ li> <p/><p>><p/><p>><p/><p></ul><p/><p></ ul><p/><p><p><strong>Version 1.4.3</strong></p><p/><p><p> <strong>版本1.4.3 </ strong> </ p><p/><p><ul><p/><p><ul><p/><p><li>Fixed Internet Explorer bugs</li><p/><p><li>修复了Internet Explorer的错误</ li><p/><p><li>Fixed typos</li><p/><p><li>固定错别字</ li><p/><p></ul><p/><p></ ul><p/><p><p><strong>Version 1.4.2</strong></p><p/><p><p> <strong>版本1.4.2 </ strong> </ p><p/><p><ul><p/><p><ul><p/><p><li>Added option to replace blog description/tagline or stand alone (previous versions only replaced)</li><p/><p><li>添加了替换博客描述/标语或单独显示的选项(仅替换了以前的版本)</ li><p/><p><li>Advanced Tagline can now be used as a widget</li><p/><p><li>高级标语现在可以用作小部件</ li><p/><p></ul><p/><p></ ul><p/><p><p><strong>Version 1.4.1</strong></p><p/><p><p> <strong>版本1.4.1 </ strong> </ p><p/><p><ul><p/><p><ul><p/><p><li>Fixed a bug causing Advanced Tagline to appear in the plugins list twice</li><p/><p><li>修复了导致“高级标语”两次出现在插件列表中的错误</ li><p/><p><li>Fixed a bug causing sequential mode to skip every other tagline if Advanced Tagline <1.4 was previously installed and the call to <code>advtag_next_tagline()</code> wasn’t removed</li><p/><p><li>修复了一个错误,该错误导致如果先前已安装Advanced Tagline <1.4并且未删除对<code> advtag_next_tagline()</ code>的调用,则会导致顺序模式跳过其他所有标签</ li><p/><p></ul><p/><p></ ul><p/><p><p><strong>Version 1.4</strong></p><p/><p><p> <strong> 1.4版</ strong> </ p><p/><p><ul><p/><p><ul><p/><p><li>Tagline links may now have an optional target</li><p/><p><li>标语链接现在可以具有可选的目标</ li><p/><p><li>Implemented ‘get_header’ action and ‘bloginfo’ filter to greatly simplify installation</li><p/><p><li>实施了“ get_header”操作和“ bloginfo”过滤器,以大大简化安装过程</ li><p/><p></ul><p/><p></ ul><p/><p><p><strong>Version 1.3</strong></p><p/><p><p> <strong> 1.3版</ strong> </ p><p/><p><ul><p/><p><ul><p/><p><li>Fixed a bug that skipped the first tagline in sequential mode</li><p/><p><li>修复了在顺序模式下跳过第一条标语的错误</ li><p/><p><li>Fixed display if no link is specified to skip the anchor tag</li><p/><p><li>固定显示,如果未指定链接可跳过锚标记</ li><p/><p><li>Fixed batch import to accept lines with one column (no link)</li><p/><p><li>固定批量导入,以接受带有一列的行(无链接)</ li><p/><p><li>Remove screenshots from package</li><p/><p><li>从软件包中删除屏幕截图</ li><p/><p><li>Visual style changes to blend better with WordPress admin styles</li><p/><p><li>更改视觉样式以更好地与WordPress管理样式融合</ li><p/><p></ul><p/><p></ ul><p/></div></fieldset><fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;"><legend>安装步骤</legend><div><p><ol><p/><p><ol><p/><p><li>Upload the ‘advanced-tagline’ folder to the ‘/wp-content/plugins/’ directory</li><p/><p><li>将“ advanced-tagline”文件夹上传到“ / wp-content / plugins /”目录</ li><p/><p><li>Activate the plugin through the ‘Plugins’ menu in WordPress</li><p/><p><li>通过WordPress中的“插件”菜单激活插件</ li><p/><p><li>Configure your taglines through Settings -> Advanced Tagline</li><p/><p><li>通过“设置”->“高级标语”配置标语</ li><p/><p><li>The plugin now replaces bloginfo(‘description’) so most themes won’t need to be edited</li><p/><p><li>该插件现在替换了bloginfo('description'),因此无需修改大多数主题</ li><p/><p><li>If you wish to keep your blog description where it is, select ‘Standalone’ in the mode configuration and insert the following code into your theme: <code><?php bloginfo('advtag');<p/><p><li>如果您希望保留博客描述的位置,请在模式配置中选择“独立”,然后将以下代码插入主题:<code> <?php bloginfo('advtag'); <p/><p>?></code></li><p/><p>?> </ code> </ li><p/><p></ol><p/><p></ ol><p/><p><p><strong>NOTE:</strong> After installing 1.4 or later, you can safely remove the following php code from your themes if you added it as a result of installing a previous version:</p><p/><p><p> <strong>注意:</ strong>:安装1.4或更高版本后,如果由于安装了先前版本而添加了以下php代码,则可以安全地从主题中删除以下php代码:</ p><p/><p><ul><p/><p><ul><p/><p><li><code><?php if (function_exists("advtag_next_tagline")) { advtag_next_tagline();<p/><p><li> <code> <?php if(function_exists(“ advtag_next_tagline”)){advtag_next_tagline(); <p/><p>} ?></code></li><p/><p>}?> </ code> </ li><p/><p><li><code><?php if (function_exists("advtag_get_tagline")) { advtag_get_tagline();<p/><p><li> <code> <?php if(function_exists(“ advtag_get_tagline”)){advtag_get_tagline(); <p/><p>} ?></code></li><p/><p>}?> </ code> </ li><p/><p></ul><p/><p></ ul><p/></div></fieldset><fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;"><legend>下载地址</legend><div><p>https://downloads.wordpress.org/plugin/advanced-tagline.1.5.3.zip<p/><p>https://downloads.wordpress.org/plugin/advanced-tagline.1.5.3.zip<p/></div></fieldset> </div> <div class="row" style="text-align: center;color: grey;font-weight: 600;">-EOF-</div> <blockquote class="layui-elem-quote" id="copyright"> <div> 转载申明:文章可以转载,但不可以以任何形式修改如下出处信息:<br> 作者:小编 <br/>出处:<a href="http://www.sanshu.cn/a/1518.html">http://www.sanshu.cn/a/1518.html</a> </div> </blockquote> </div> <!-- 回复编辑器 --> <!-- end 回复编辑器 --> </div> <div class="layui-col-md4"> <div class="fly-panel" style="height: 0px;"> <!-- 搜索框 --> <div><script data-ad-client="ca-pub-2144314048024814" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script></div> <!-- end 搜索框 --> <div style="clear: both;"></div> </div> <style> .fly-zanzhu-img img { width: 100%; } </style> <div class="fly-panel"> <div class="fly-panel-title"> 钻级赞助商 <span class="fly-mid"></span> <a href="mailto:sasa514@vip.qq.com" class="fly-link fly-joinad ">我要加入</a> </div> <div class="fly-panel-main" style="padding: 13px 15px;"> <a href="https://www.aliyun.com/1111/pintuan-share?ptCode=MTYwNjUyNDY5NjczNDYyN3x8MTE0fDE%3D&userCode=756ud0lx" target="_blank" rel="nofollow" class="fly-zanzhu" time-limit="2019-09-01" style="background-color: #f47023; background-image: linear-gradient(to right,#f47023,#f47023);">阿里云服务器双十一拼团</a> <a href="https://curl.qcloud.com/RFgQa3xr" target="_blank" rel="nofollow" class="fly-zanzhu" time-limit="2019-09-01" style="background-color: #f47023; background-image: linear-gradient(to right,#236EF4,#0060F8);">腾讯云588元三年1C2G5M服务器</a> </div> </div> <div class="fly-panel"> <h3 class="fly-panel-title">开发工具</h3> <div class="layui-row fly-panel-main" style="padding: 15px;"> <a href="http://www.hellojava.com/links/" target="_blank">Java程序员常用链接</a> </div> </div> <dl class="fly-panel fly-list-one"> <dt class="fly-panel-title">本周热议</dt> <dd> <a href="/article/8801.html">[wordpress插件] CornelisRoute科尼利斯路线</a> <span> <i class="iconfont icon-pinglun1"></i> 204</span> </dd> <dd> <a href="/article/8802.html">[wordpress插件] Corner Ad角落广告</a> <span> <i class="iconfont icon-pinglun1"></i> 208</span> </dd> <dd> <a href="/article/8803.html">[wordpress插件] Corner Blog Decoration角落博客装饰</a> <span> <i class="iconfont icon-pinglun1"></i> 227</span> </dd> <dd> <a href="/article/8804.html">[wordpress插件] Corner Bracket Lover角括号恋人</a> <span> <i class="iconfont icon-pinglun1"></i> 232</span> </dd> <dd> <a href="/article/8805.html">[wordpress插件] Cornerstone Custom Icons基石自定义图标</a> <span> <i class="iconfont icon-pinglun1"></i> 210</span> </dd> <dd> <a href="/article/8806.html">[wordpress插件] Cornerstone Placeholder Images基石占位符图像</a> <span> <i class="iconfont icon-pinglun1"></i> 199</span> </dd> <dd> <a href="/article/8807.html">[wordpress插件] Cornify for WordPressWordPress的Cornify</a> <span> <i class="iconfont icon-pinglun1"></i> 198</span> </dd> <dd> <a href="/article/8808.html">[wordpress插件] Corporate Testimonials powered by ASSISTASSIST提供的企业推荐</a> <span> <i class="iconfont icon-pinglun1"></i> 229</span> </dd> <dd> <a href="/article/8809.html">[wordpress插件] Corporate Portfolio powered by ASSIST由ASSIST支持的企业投资组合</a> <span> <i class="iconfont icon-pinglun1"></i> 218</span> </dd> <dd> <a href="/article/8810.html">[wordpress插件] Correct Audio/Video Uploads正确的音频/视频上传</a> <span> <i class="iconfont icon-pinglun1"></i> 207</span> </dd> </dl> </div> </div> </div> <link href="/static/hightlight/styles/monokai-sublime.css" rel="stylesheet"> <script src="/static/hightlight/highlight.pack.js"></script> <script> document.addEventListener('DOMContentLoaded', (event) => { document.querySelectorAll('pre').forEach((block) => { hljs.highlightBlock(block); }); }); </script> <script> $(function(){ $(".content").find("a").each(function(){ var burl = $(this).attr("href"); if(burl.indexOf("bilibili")==-1){ return true; } if(burl.indexOf("?")==-1){ burl = burl+"/"; } var reg = /(BV[a-zA-Z0-9]+|av\d+)(\/|\?p=(\d+))/; var ds = burl.match(reg); var vid = ds[1]; var vidparam = "bvid="+vid; if(vid.indexOf("av")!=-1){ vid = vid.replace("av",""); vidparam = "aid="+vid; }else{ vidparam = "bvid="+vid; } var p = ds[3]; if(!p){ p=1; } console.log(p) var linka = $(this); var pwidth = $(linka).parent().width(); var pheight = pwidth*0.67; $(this).after("<p style=\"width:"+pwidth+"px;height:"+pheight+"px\"><iframe style=\"width:"+pwidth+"px;height:"+pheight+"px\" src=\"//player.bilibili.com/player.html?"+vidparam+"&page="+p+"\" scrolling=\"no\" border=\"0\" frameborder=\"no\" framespacing=\"0\" allowfullscreen=\"true\"> </iframe></p>"); }) });var mediaRegex = [{"regex":"","controller":""}, {"regex":"music.163.com\/#\/song\\\?id=(\\\d+)","controll":"<iframe frameborder=\"no\" border=\"0\" marginwidth=\"0\" marginheight=\"0\" width=330 height=86 src=\"//music.163.com/outchain/player?type=2&id={}&auto=1&height=66\"></iframe>"}]; jQuery(function(){ $("#article_content").find("a").each(function(){ var url = $(this).attr("href"); for(var i=0;i<mediaRegex.length;i++){ var mr = mediaRegex[i]; if(mr.regex=="")continue; //debugger; var result; if((result = new RegExp(mr.regex,"g").exec(url)) != null){ var c = mr.controll.replace("{}",result[1]); //debugger; $(this).after("<p>"+c+"</p>"); } } }) }) </script> <script src="/static/js/app/article.js?10" type="text/javascript" charset="utf-8"></script> <script type="text/javascript"> $(function(){ //document.body.oncopy = addLink; layui.use(['carousel', 'form'], function(){ var carousel = layui.carousel,form = layui.form; carousel.render({ elem: '#test10' ,width: '50%' ,height: '440px' ,interval: 5000 }); }) }) $("#makeArticleWidth").click(function(){ $("#detaildv").css({"width":"100%"}) $("#detaildv").find("table").css({"width":"100%"}); }) $("#detaildv").find("a").each(function(a){ var href = $(this).attr("href"); if(window.document.location.host.indexOf(href)==-1 && !$(this).attr("target")){ $(this).attr("target","_blank"); $(this).attr("rel","noreferrer"); } }) </script> <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> <script> (function(){ var src = "https://jspassport.ssl.qhimg.com/11.0.1.js?d182b3f28525f2db83acfaaf6e696dba"; document.write('<script src="' + src + '" id="sozz"><\/script>'); })(); </script> <div class="fly-footer"> <p> Copyright © 2019-2020 三叔博客 All rights reserved.<a href="http://beian.miit.gov.cn/" rel="external nofollow" target="blank" class="beian">苏ICP备19070400号</a> <span class="hidden-xs">Powered By <a href="http://www.wecenter.com/?copyright" target="blank">WeCenter 3.3.4</a></span> <script type="text/javascript" src="//s4.cnzz.com/z_stat.php?id=1278274286&web_id=1278274286"></script> </p> <p><a href="/sitemap.xml">sitemap</a><a href="/wordpress/plugin_list/">wordpress插件</a></p> </div> <!--<link href="/static/hightlight/styles/monokai-sublime.css" rel="stylesheet"> <script src="/static/hightlight/highlight.pack.js"></script>--> <script> document.addEventListener('DOMContentLoaded', (event) => { document.querySelectorAll('pre').forEach((block) => { hljs.highlightBlock(block); }); }); window.onblur = function () { document.title = "╭(╯^╰)╮给三叔死回来!"; window.onfocus = function () { document.title = "[wordpress插件] Advanced Tagline高级标语"; } }; </script> <script type="text/javascript"> layui.use('element'); </script> <script src="//cdn.staticfile.org/layer/2.3/layer.js"></script> <script type="text/javascript"> $(function(){ //$("#history").after($("#menusearch").show()); var d =new Date();//记住这个是大写开头的Date var year=d.getFullYear(); var month=d.getMonth()+1; var dates=d.getDate(); var day=d.getDay(); var _hour=d.getHours(); var key = year+"_"+month+"_"+day+"_"+_hour; var ali = "https://www.aliyun.com/1111/pintuan-share?ptCode=MTYwNjUyNDY5NjczNDYyN3x8MTE0fDE%3D&userCode=756ud0lx"; var qcl = "https://cloud.tencent.com/act/cps/redirect?redirect=1073&cps_key=dd4c117a3866c63596a7e04dd6e95a73&from=console"; if(window.localStorage.getItem(key)==null){ //layer.confirm('最便宜的<code>86元一年</code>,<br/>三年的2核4G内存1M带宽的服务器只需要<code>1399元</code>!', { layer.confirm('腾讯云3年服务器只需要588元!!!', { title: "腾讯云3年服务器只需要588元!!!", btn: ['带寡人去看看!','寡人喜欢阿里云的!!'] }, function(){ window.open(qcl); }, function(){ window.open(ali); }); window.localStorage.setItem(key,"has"); } }) </script> <!--<script src="/static/js/app/global.js?5" type="text/javascript" charset="utf-8"></script>--> </body></html>