跳到内容

Fragmentions

v1.4.0

Luis Rodrigues · 2014年4月25日 上架

Fragmentions allow linking to document sections on WordPress sites using words or phrases.

正在使用
10 以下
评分
4.0 / 5
累计下载
1,420
最近更新
2016年2月14日
1 条评价需要 WordPress 3.9+已测试到 4.4.34

贡献者

Fragmentions were proposed by Kevin Marks in a 2014 blog post as a better alternative to hyperlinking using fragments. Fragmentions use ## to match words or phrases in a document.

In the following example, clicking “TL;DR” would jump to the <strong> element containing “Life, Liberty and the pursuit of Happiness”:

<article>
    <p>
        <a href="##pursuit">TL;DR</a>
    </p>

    <p>
        When in the Course of human events, it becomes necessary for one people
        to dissolve the political bands which have connected them with another,
        and to assume among the powers of the earth, the separate and equal
        station to which the Laws of Nature and of Nature’s God entitle them, a
        decent respect to the opinions of mankind requires that they should
        declare the causes which impel them to the separation.
    </p>

    <p>
        We hold these truths to be self-evident, that all men are created
        equal, that they are endowed by their Creator with certain unalienable
        Rights, that among these are <strong>Life, Liberty and the pursuit of
        Happiness</strong>.
    </p>
</article>

This plugin relies on Jonathan Neal‘s Fragmentions script.

Licenses

Jonathan Neal’s Fragmentions script is licensed under a CC0 1.0 Universal License:

Public Domain Dedication

The person(s) who associated a work with this deed has dedicated the work to the public domain by waiving all of his or her rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law.

You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

In no way are the patent or trademark rights of any person affected by CC0, nor are the rights that other persons may have in the work or in how the work is used, such as publicity or privacy rights.

Unless expressly stated otherwise, the person(s) who associated a work with this deed makes no warranties about the work, and disclaims liability for all uses of the work, to the fullest extent permitted by applicable law.

When using or citing the work, you should not imply endorsement by the author or the affirmer.

This is a human-readable summary of the Legal Code (read the full text).

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums