
內容簡介
DX Sources 是一款外掛,可輕鬆為您的文章添加來源。不論是新聞還是技術文章,有時需要指定來源,DX Sources 可在文章編輯器之後提供一個工具,您可以不刷新頁面即可動態添加新項目。
來源清單將顯示在文章內容下方,以數字表示在名稱之前,例如 [0]、[1] 等。這些數字可用於通過添加網址鏈接您的文章任何文本與所需的來源進行關聯,例如第 4 個來源將與 #dxs-4 鏈接。
主題開發人員注意:
外掛未在前端(主題)中包含任何樣式或腳本,因此無需額外的請求。也沒有內嵌或注入的 CSS,因此不必擔心被覆蓋。所有的樣式都由您決定。標記使用 <ul>、strong 和 em,因此默認情況下應該已經處理好了樣式。但如果需要更多的內容,每個元素都有清晰的類名可供使用。如果需要,您還可以使用唯一的增量 ID 給特定目標使用。
外掛標籤
開發者團隊
原文外掛簡介
DX Sources is a plugin giving you easy way of adding sources to your posts. Be it news or technical article sometimes specifying sources is required and DX Sources provides with a tool just after your post editor where you can add dynamically new items without refreshing the page.
The list of sources will be displayed under your article’s content with numerical representation before the name like [0], [1] e.t.c. Those numbers can be used for linking any text in your article to the source requried by adding link with url #dxs-
For theme developers:
The plugin doesn’t include any stylings or scripts to the front-end (theme), so no extra requests. There is also no inline or injected CSS to worry about overwriting. All the stylings are up to you. The markup uses
- , strong and em, so by default it should be styled properly. Still if you need anything more every single element has clean class names you can use. You can also use the unique incremented IDs for specific target if required.
