
內容簡介
這個外掛能讓你把客戶文件放在最需要它的地方:網站上!該外掛會在 WordPress 儀表板上建立一個頁面,稱為「Documentation」,顯示一個影片和 PDF 的相關連結。
由WebDevStudios精心呈現!
開發人員的過濾器
可以使用 wds_documentation_video_url 和 wds_documentation_pdf_url 過濾器分別修改影片和 PDF 的 URL。例如:
add_filter( 'wds_documentation_pdf_url', function( $pdf_url ) {
return 'https://agency.site/docs/client.pdf';
}, 10, 1 );
可以使用 wds_documentation_enable_changes 過濾器關閉上傳按鈕。要關閉按鈕,將以下代碼添加到主題的 functions.php 文件中:
add_filter( 'wds_documentation_enable_changes', '__return_false', 10 );
可以使用 wds_documentation_banner_url 過濾器修改標題圖像:
add_filter( 'wds_documentation_banner_url', function( $banner_url ) {
return 'https://agency.site/docs/agency.png';
}, 10, 1 );
可以使用 wds_documentation_footer 過濾器自定義頁腳文字:
add_filter( 'wds_documentation_footer', function( $footer ) {
return '<a href="mailto:[email protected]">Contact us!</a>';
}, 10, 1 );
外掛標籤
開發者團隊
原文外掛簡介
Host documentation for your clients right where they need it most: on the website! This plugin creates a page on the WordPress dashboard called “Documentation” that shows a video and links to a PDF.
Brought to you by the fine folks at WebDevStudios!
Web Glossary
Empower your clients with a comprehensive understanding of their WordPress website. The WDS Site Documentation plugin now includes a brand new Web Glossary featuring approximately 70 essential website terms.
This user-friendly glossary equips your clients with the following:
An easy-to-comprehend definition
Real-world examples
An explanation of why the term is important
And what the term is commonly confused with
Help your clients unravel any vagueness surrounding website management. Each glossary term boasts its own dedicated page, providing in-depth breakdowns to solidify their knowledge. No more mistaking one term for another. The new WDS Site Documentation Web Glossary clarifies any potential ambiguities.
Suggest a web glossary term by emailing [email protected]. Suggested web glossary terms must include definitions.
Filters for developers
The URLs for the movie and PDF files can be modified with the wds_documentation_video_url and wds_documentation_pdf_url filters respectively. For example:
add_filter( 'wds_documentation_pdf_url', function( $pdf_url ) {
return 'https://agency.site/docs/client.pdf';
}, 10, 1 );
The upload buttons can be turned off with the filter wds_documentation_enable_changes. To turn off the buttons, add this code to your theme’s functions.php file:
add_filter( 'wds_documentation_enable_changes', '__return_false', 10 );
The banner image can be modified with wds_documentation_banner_url:
add_filter( 'wds_documentation_banner_url', function( $banner_url ) {
return 'https://agency.site/docs/agency.png';
}, 10, 1 );
The footer text can be customized with wds_documentation_footer:
add_filter( 'wds_documentation_footer', function( $footer ) {
return 'Contact us!';
}, 10, 1 );
