Back to Forhad's Creations

FancyDocs – Documentation Plugin For WordPress

By WP Forhad / October 1, 2024

What is WP doc?

WP Doc is a powerful WordPress plugin designed to help developers easily display and manage their plugin documentation within a WordPress site. Whether you're creating detailed user guides, FAQs, or developer-focused documentation, WP Doc provides a streamlined way to organize and present important information related to your plugin.

By centralizing all plugin documentation in a single place, WP Doc ensures that users have access to the right resources at the right time. It's ideal for developers who want to simplify support and improve user experience by providing in-depth documentation that is easy to maintain and customize.

Key features:

  • Showcase comprehensive details about their plugins, including features, installation instructions, and version updates.
  • Add Call to Action (CTA) sections, prompting users to take specific actions such as downloading the plugin, visiting a demo, or making a purchase.
  • Provide a Request Custom Solution option for users seeking customized features or modifications for their specific needs.
  • Organize documentation into categories, making it easier for users to navigate through large amounts of content.
  • Apply custom CSS to personalize the appearance of the documentation, ensuring it aligns with your brand’s style and visual identity.
  • Offer a user-friendly interface for both developers and end users, ensuring that essential information is clear and easy to find.

Use case

WP Doc is designed to simplify the documentation process for plugin developers by providing a seamless way to manage, display, and organize plugin-related information. Here are several common use cases where WP Doc proves to be particularly useful:

  1. Plugin Documentation for Developers
    Plugin developers often need to provide detailed technical documentation for their plugins, including installation instructions, usage guidelines, and troubleshooting information. WP Doc offers a user-friendly interface to create well-structured documentation with categorized sections, ensuring that developers can present their information in a clear, concise, and accessible manner.
  2. Comprehensive User Guides
    If you're offering a plugin to non-technical users, WP Doc can be used to create step-by-step user guides that include detailed explanations, screenshots, and videos. The Call to Action feature allows you to prompt users to take specific actions like upgrading to a premium version or subscribing to your newsletter after reading the documentation.
  3. Support for Multiple Plugin Versions
    WP Doc allows you to organize documentation by version or category, making it easy for users to find the relevant information for the specific version of the plugin they are using. This is especially helpful for plugins that undergo frequent updates or changes, where documentation needs to be kept up to date.
  4. Requesting Custom Solutions
    WP Doc is ideal for developers who offer customization services. If a user needs a tailored solution, the plugin’s "Request Custom Solution" feature lets them easily contact the developer with their specific requirements. This feature streamlines communication between users and developers, making it easier to handle requests for custom features or modifications.
  5. White Label Documentation for Agencies
    If you're an agency developing plugins for multiple clients, WP Doc’s custom CSS feature allows you to personalize the documentation for each client. You can apply custom branding, making the documentation appear as though it was built specifically for the client, enhancing your professional image.
  6. Internal Documentation for Teams
    WP Doc can be used within development teams to document internal processes, plugin architecture, or API references. Teams can categorize documents based on functionality or feature sets, making it easier for new developers to onboard or for current team members to refer back to specific information.
  7. Educational Resources
    If your plugin is part of a larger course or educational offering, WP Doc can be used to present educational content. You can categorize the material by lesson or topic, helping students easily navigate through tutorials, FAQs, or step-by-step guides on how to use the plugin.

In these scenarios, WP Doc provides a comprehensive solution for developers looking to centralize their plugin documentation, streamline support, and improve the overall user experience. Whether it's for technical documentation, user guides, or custom solutions, WP Doc ensures that all the necessary resources are easily accessible and well-organized.

3.  How to setup WP doc wordpress plugin?

Step 01: First we have to go to the wordpress dashboard.

WP Dashboard

Step 02: Then we have to click the Plugins option from the dashboard. Then we have to click  “Add New Plugin” button  , from there we have to click “Upload Plugin”. Then we have to choose the plugin from our device. Then we have to click install button. Here we can Active The Plugin or we may active it later from Plugins options

Plugin Activation

Step 03: After activation we will see a new option called “Docs” to our wordpress dashboard like below

Docs Option in dashboard

Step 04: If we click on Docs we will see few options like below

Menus of docs

Step 05: Clicking on Add new option we can add a documentation with necessary details like docs title, docs description, CTA content , CTA URL, CTA After Content, CTA After Content URL, Add featured image, add plugin name , add categories or choose category.

Adding documentation
Adding documentation
Adding documentation

Step 06: After fill up all details you can publish it. An example view page

Preview Page
Preview Page

Use our recommended page builder plugin, FancyPost to unlock a number of powerful blocks to help you to design amazing websites!

4. How to use shortcode?

To display your Docs , simply use the below shortcode on any page or post where you want the Docs to appear.

 [wp_doc]

5. More screenshots

Quick Edit WP Doc
Edit WP Doc
Edit WP Doc
Edit WP Doc

Live Demo

Click the button below to explore a live demo of the WP Doc plugin. Experience how easy it is to create, manage, and display plugin documentation directly within your WordPress site. View examples of detailed user guides, FAQs, and developer-focused documentation presented in a streamlined and organized way. The live demo will help you understand how WP Doc can improve user experience and simplify support by providing in-depth, easily accessible documentation.

Download

Ready to enhance your plugin documentation? Click the button below to download the WP Doc plugin and start organizing and presenting your documentation effectively. Perfect for developers looking to centralize their user guides, FAQs, and detailed resources, WP Doc ensures users have easy access to the information they need when they need it.

Please enable JavaScript in your browser to complete this form.

Developer Area

The Developer Area of WP Doc is designed for those who want to customize, extend, or integrate the plugin further into their development workflow. WP Doc offers various hooks, filters, and customization options, allowing developers to tailor the plugin to their specific needs.

1. Custom Hooks and Filters

WP Doc comes with a number of hooks and filters that developers can use to modify or extend the default functionality of the plugin. By leveraging these hooks and filters, you can customize the way WP Doc behaves without modifying the core plugin files.

Common Hooks:

wpdoc_before_doc_content: This action hook allows you to add custom content before the documentation content is displayed.Example:

add_action('wpdoc_before_doc_content', 'custom_intro_text');

function custom_intro_text() {

    echo '<p>Welcome to our plugin documentation!</p>';
}

wpdoc_after_doc_content: Similar to the above, this hook adds custom content after the documentation is displayed.

Common Filters:

wpdoc_document_title: This filter allows you to modify the title of the documentation dynamically.Example:

add_filter('wpdoc_document_title', 'custom_document_title');

function custom_document_title($title) {

    return 'Documentation: ' . $title;
}

wpdoc_cta_button_text: Use this filter to modify the text of the Call to Action button.

Example:

add_filter('wpdoc_cta_button_text', 'custom_cta_text');

function custom_cta_text($text) {

    return 'Learn More';
}

2. Custom Templates

For developers looking to fully customize the look and feel of the documentation pages, WP Doc supports custom templates. You can override the default templates by creating your own custom template files in your theme.

Creating a Custom Template:

  1. In your theme directory, create a folder called wpdoc-templates.
  2. Inside this folder, create a file called single-wpdoc.php to override the single documentation page template.
  3. Use WordPress’s templating functions to control how the documentation is displayed.

Example:

<?php

get_header(); ?>

<div class="wpdoc-custom-template">

    <h1><?php the_title(); ?></h1>

    <div class="wpdoc-content">

        <?php the_content(); ?>

    </div>
</div>

<?php get_footer(); ?>

3. Custom CSS and Styling

Developers can add custom CSS to style their documentation without affecting the rest of the website. WP Doc has a built-in Custom CSS option under settings, allowing you to quickly modify the appearance of the documentation pages.

For more advanced customization, you can enqueue your own stylesheets in the theme or plugin to override the default styling of WP Doc.

Example of enqueuing custom CSS in your theme’s functions.php file:

function custom_wpdoc_styles() {

    wp_enqueue_style('custom-wpdoc-css', get_stylesheet_directory_uri() . '/custom-wpdoc-styles.css');
}

add_action('wp_enqueue_scripts', 'custom_wpdoc_styles');

4. API Integration

WP Doc is designed with flexibility in mind, allowing developers to extend its functionality via custom API integrations. Whether you want to pull in external data or push documentation updates to a third-party service, WP Doc's developer-friendly architecture ensures seamless API connections.

For example, you could connect WP Doc to your support system, so that documentation updates trigger automated support notifications or posts.

5. Custom Shortcodes

Developers can create custom shortcodes to extend the functionality of WP Doc. These shortcodes can be used within the documentation content to display dynamic data, embed videos, or offer interactive elements.

Example of a custom shortcode:

function custom_wpdoc_shortcode($atts) {

    $atts = shortcode_atts(array(

        'message' => 'Thank you for reading the documentation!'

    ), $atts, 'wpdoc_message');

    return '<div class="custom-wpdoc-message">' . esc_html($atts['message']) . '</div>';
}

add_shortcode('wpdoc_message', 'custom_wpdoc_shortcode');

You can use this shortcode in your documentation like this:

[wpdoc_message message="Get in touch for more info!"]

6. Multisite and Localization Support

WP Doc supports WordPress Multisite, making it easy for developers to manage documentation across multiple sites in a network. Each site can have its own set of documentation, or you can sync documentation across sites for consistent messaging.

Additionally, WP Doc is translation-ready. If you’re developing for a global audience, you can use standard WordPress localization functions (__() and _e()) to ensure that your documentation is fully translatable into multiple languages.

7. Debugging and Troubleshooting

WP Doc has built-in logging capabilities to help developers troubleshoot issues. To enable logging, simply add the following to your wp-config.php file:

define('WP_DEBUG', true);

define('WP_DEBUG_LOG', true);

This will create a debug log that records any issues or errors, helping developers quickly identify and resolve conflicts or bugs in the plugin.

8. Extending with Add-ons

WP Doc can be extended with custom add-ons for more advanced features. Developers can build their own add-ons to integrate with external services or offer additional documentation functionalities, such as in-depth analytics, advanced user feedback options, or syncing with other content management systems.

Conclusion

WP Doc offers developers a robust and flexible platform for managing documentation. Whether you're looking to customize the appearance, extend functionality with hooks and filters, or create custom templates, the Developer Area provides everything you need to make WP Doc work seamlessly within your development environment.

Associate Plugins

  • Duplicate Page By mndpsingh287

Search, install and active the Duplicate Page plugin By mndpsingh287 like below to make copy of similar types of docs

Duplicate plugin installation
click this button to duplicate

Why WP Doc is the Best Plugin for Documentation

WP Doc is the best plugin for documentation because it’s designed specifically for plugin developers, offering a seamless and flexible solution. With features like versioning, customizable templates, categorized content, and the ability to add call-to-action buttons and request custom solutions, it goes beyond basic documentation tools. WP Doc is fully customizable with hooks, filters, and CSS options, making it developer-friendly. Plus, its smooth integration into WordPress, active support, and regular updates ensure that your documentation is always organized, accessible, and up-to-date.

9. Request for new features

We are always looking to improve! If you have any suggestions for new features or improvements to the plugin, feel free to reach out to us. Your feedback helps us make WP Doc even better.(Contact form , Telegram, Whatsapp, Messenger)

10. Donate

If you enjoy using WP Doc and would like to support its continued development, please consider making a donation. Your contributions will help us add more features, provide regular updates, and continue offering support to all users.

Forhad Avatar

Hossain Muhammed Forhad

Forhad Hossain is the co-founder of Pluginic. He brings a one-of-a-kind fusion of tech brilliance, business savvy and marketing mojo to the table.

Forhad has consistently spearheaded the development of innovative products like Gutenic, Editorial Rating, FancyPost and many others that have become market leaders in their respective niches.

Website Builder Front Website Builder Back

Want To Build Better WordPress Websites?
Start Here! 👇

0
1 0 Rating
2 0 Rating
3 0 Rating
4 0 Rating
5 0 Rating
Total Vote: 0

Aggregate Rating System by Editorial Rating

Leave a Reply

Your email address will not be published. Required fields are marked *