WDS Site Documentation

Lýsing

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!

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 '<a href="mailto:person@agency.site">Contact us!</a>';
}, 10, 1 );

Skjámyndir

  • This shows the documentation widget on the main dashboard.
  • This shows the documentation page including the select/upload buttons.

Uppsetning

  1. Upload the plugin to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Click the „Site Documentation“ button in the Admin Bar or under „Settings“ to view the documentation page.
  4. Upload a Video and PDF using the buttons there. These will show up on the page and on the WordPress dashboard.

SOS

Why should I use this?

When an agency hands a site off to the client, they should also provide documentation on how to use the site, even if the site is mostly „vanilla WordPress.“ This plugin makes it easy to set up a documentation section in the WordPress dashboard.

Can I turn off the buttons so the documentation can’t be changed accidentally?

Absolutely! See the „Filters for developers“ section.

Can I change the banner and footer on the page/widget?

Yes, you can! See the „Filters for developers“ section.

Can you build my site?

Absolutely. Drop us a line!

Umsagnir

There are no reviews for this plugin.

Þátttakendur & höfundar

“WDS Site Documentation” er opinn hugbúnaður. Eftirfarandi aðilar hafa lagt sitt af mörkum við smíði þessarar viðbótar.

Höfundar

Breytingarsaga

1.0.2

  • Confirmed WordPress 6.0 compatibility

1.0.1

  • Fixes formatting issues in the README

1.0

  • Initial release