【问题标题】:Meta tag for theme author (copyright)主题作者的元标记(版权)
【发布时间】:2014-04-28 10:01:32
【问题描述】:

我是主题作者,我想为我的主题“打上烙印”,以便有一个元标记,上面写着“主题作者:Max mustermann”。

有没有这样的元标签(比如版权)?

哪个是对的?

【问题讨论】:

    标签: themes meta copyright-display


    【解决方案1】:

    在 html4 标准中有一个用于版权的元标记,但它没有被带到 html5。

    Apparently there is:

    <meta name="dcterms.rightsHolder" content="Your Copyright-Holder Organization">
    

    但在任何一种情况下,主题作者可能都不应该使用这些元标记,看起来它们确实是供拥有内容权利的人使用的。

    通常这种事情是用评论块而不是元标记来完成的。

    这是 WordPress 2014 年主题中的一个:

    /*
    Theme Name: Twenty Fourteen
    Theme URI: http://wordpress.org/themes/twentyfourteen
    Author: the WordPress team
    Author URI: http://wordpress.org/
    Description: In 2014, our default theme lets you create a responsive magazine website with a sleek, modern design. Feature your favorite homepage content in either a grid or a slider. Use the three widget areas to customize your website, and change your content's layout with a full-width page template and a contributor page to show off your authors. Creating a magazine website with WordPress has never been easier.
    Version: 1.2
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Tags: black, green, white, light, dark, two-columns, three-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
    Text Domain: twentyfourteen
    
    This theme, like WordPress, is licensed under the GPL.
    Use it to make something cool, have fun, and share what you've learned with others.
    */
    

    My personal favorite,不完全是版权,但值得分享:

    /* The License:
    You (from this point on referred to as The You) are hereby 
    granted by me (from this point on referred to as The Me) 
    license to knock yourself silly with this template. 
    By using this template The You implicitly accepts this 
    license and pledges solemnly to never claim creative 
    ownership of any graphics, code, concepts, eggs, bacon, ideas, 
    colors, shapes, hypertext-transfer protocols or other conduits 
    of the visual splendor thatis this template. 
    
    The Me, in turn, pledges equally solemnly to be far too 
    lazy to ever check up on you, so if you do manage to pull 
    some chicks The Me won't have a cow. 
    However The Me would be sorely disappointed if The You 
    were to try and sell or distribute this work without 
    acknowledging The Me. Seriously. The Me will come down on 
    The You like a large quantitiy of hard and heavy objects 
    that in large quantities may be harmful and possibly even 
    lethal to The You; So don't even think about it, The Buster.
    */
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-03-09
      • 1970-01-01
      • 2018-03-27
      • 1970-01-01
      • 2019-03-10
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多