Title: WPYog Documents
Author: WPYog
Published: <strong>اگست 16, 2017</strong>
Last modified: ستمبر 14, 2026

---

Search plugins

![](https://ps.w.org/wpyog-documents/assets/banner-772x250.png?rev=3558457)

![](https://ps.w.org/wpyog-documents/assets/icon-256x256.png?rev=3558159)

# WPYog Documents

 By [WPYog](https://profiles.wordpress.org/wpyog/)

[Download](https://downloads.wordpress.org/plugin/wpyog-documents.1.5.1.zip)

 * [Details](https://bcc.wordpress.org/plugins/wpyog-documents/#description)
 * [Reviews](https://bcc.wordpress.org/plugins/wpyog-documents/#reviews)
 *  [Installation](https://bcc.wordpress.org/plugins/wpyog-documents/#installation)
 * [Development](https://bcc.wordpress.org/plugins/wpyog-documents/#developers)

 [Support](https://wordpress.org/support/plugin/wpyog-documents/)

## Description

WPYog Documents is a free, versatile WordPress document listing and management plugin.
Upload, organize, and display PDF, Word, Excel, PowerPoint, and any other file type
directly from your WordPress dashboard using a simple shortcode.

[View Live Demo](https://demo.poppinsdigital.com/wpyog-documents/)

**Key Features**

 * Display documents on any post, page, or widget area using the `[wpyog-document-
   list]` shortcode
 * Organize documents into categories
 * Filter, sort, and limit the document list via shortcode attributes
 * Secure file downloads via nonce-verified AJAX
 * Supports all common file types: PDF, DOCX, XLSX, PPTX, images, audio, video, 
   zip archives, and more
 * No programming knowledge required — works out of the box

**Shortcode: [wpyog-document-list]**

Place this shortcode on any post or page to list documents. Available attributes:

 * `category` — filter by category ID. Example: `[wpyog-document-list category="
   7"]`
 * `desc` — show/hide description. `1` = show, `0` = hide. Example: `[wpyog-document-
   list desc="1"]`
 * `date` — show/hide upload date. `1` = show, `0` = hide. Example: `[wpyog-document-
   list date="1"]`
 * `orderby` — field to sort by. Accepts `date`. Example: `[wpyog-document-list 
   orderby="date"]`
 * `order` — sort direction. `DESC` or `ASC`. Example: `[wpyog-document-list order
   ="ASC"]`
 * `download` — show/hide download button. `1` = show, `0` = hide. Example: `[wpyog-
   document-list download="1"]`
 * `limit` — maximum number of documents to show. Example: `[wpyog-document-list
   limit="5"]`
 * `columns` — number of columns (1–4). Default is 1. Example: `[wpyog-document-
   list columns="2"]`

To display a single document, use the `[wpyog-document]` shortcode:

 * `id` — document ID to display. Example: `[wpyog-document id="4"]`

**Supported File Types**

 * Microsoft Word (DOC, DOCX, DOCM, DOTM, DOTX)
 * Microsoft Excel (XLS, XLSX, XLSB, XLSM)
 * Microsoft PowerPoint (PPT, PPTX, PPSX, PPS, PPTM, POTM, PPAM, POTX, PPSM)
 * Adobe PDF
 * Images (PNG, JPG, GIF, WEBP, SVG)
 * Audio (MP3, WAV)
 * Video (MP4, WEBM, AVI, MOV, WMV)
 * Archives (ZIP, RAR, TAR, GZ, 7Z)
 * Plain text and more

## Screenshots

[⌊WPYog Documents List — admin view of all uploaded documents with shortcode column.⌉⌊
WPYog Documents List — admin view of all uploaded documents with shortcode column
.⌉[

WPYog Documents List — admin view of all uploaded documents with shortcode column.

[⌊Add / Edit Document — upload a file and set title and description from the admin.⌉⌊
Add / Edit Document — upload a file and set title and description from the admin
.⌉[

Add / Edit Document — upload a file and set title and description from the admin.

[⌊Shortcode Generator — live admin tool to build shortcodes with all parameters 
and one-click copy.⌉⌊Shortcode Generator — live admin tool to build shortcodes with
all parameters and one-click copy.⌉[

Shortcode Generator — live admin tool to build shortcodes with all parameters and
one-click copy.

[⌊Document List (Frontend) — card-row layout with color-coded file type icons and
download buttons.⌉⌊Document List (Frontend) — card-row layout with color-coded file
type icons and download buttons.⌉[

Document List (Frontend) — card-row layout with color-coded file type icons and 
download buttons.

[⌊Single Document (Frontend) — individual document box with left accent border and
description.⌉⌊Single Document (Frontend) — individual document box with left accent
border and description.⌉[

Single Document (Frontend) — individual document box with left accent border and
description.

[⌊Category Document List (Frontend) — filtered list with date badge, download button,
and description.⌉⌊Category Document List (Frontend) — filtered list with date badge,
download button, and description.⌉[

Category Document List (Frontend) — filtered list with date badge, download button,
and description.

## Installation

 1. Download the plugin and unzip it.
 2. Place the `wpyog-documents` folder in your `wp-content/plugins` folder.
 3. Activate the plugin from the Plugins tab of your WordPress admin.
 4. Go to **WPYog Documents** in the admin menu and add your documents.
 5. Place `[wpyog-document-list]` on any post or page to display documents.

You can find each document’s ID in the Shortcode column of the Documents list in
your admin.

## FAQ

### Can I request a feature?

Yes — we’d love to hear from you.

### Does it support all file types?

Yes. Any file you can upload to WordPress can be listed. Icons are shown for the
most common types.

### Is it compatible with page builders?

Yes. The shortcode works in any editor or page builder that supports WordPress shortcodes.

## Reviews

![](https://secure.gravatar.com/avatar/9a39c090a745e9dad2bd26cc1591cb26344e8bc78d4da50ea108363829313612?
s=60&d=retro&r=g)

### 󠀁[Nice plugin but unusable for a small thing](https://wordpress.org/support/topic/nice-plugin-but-unusable-for-a-small-thing/)󠁿

 [giac](https://profiles.wordpress.org/giac/) ستمبر 28, 2026 2 replies

Works nicely, decent layout on the page, but if you have many files, like 40 for
instance, it does not have pagination. There are other plugin that do the same but
the one we used it's not compatible with Divi 5 so we tried this but the missing
pagination unfortunately was a no go…

![](https://secure.gravatar.com/avatar/e897d426b6c3123cdc9a24adc68e3ebcee4e102df7fd3aad1fbda3ffaa117e0a?
s=60&d=retro&r=g)

### 󠀁[Nice Plugin](https://wordpress.org/support/topic/nice-plugin-5383/)󠁿

 [Roshan Ravi](https://profiles.wordpress.org/roshanravi/) دسمبر 11, 2025

This works great for organising and displaying document listings effectively.

![](https://secure.gravatar.com/avatar/773dab040943120d722f11ef274ee9c2dd27796e50538fc1da8008fb38809a2c?
s=60&d=retro&r=g)

### 󠀁[User friendly](https://wordpress.org/support/topic/user-friendly-273/)󠁿

 [naziaafroz](https://profiles.wordpress.org/naziaafroz/) نومبر 11, 2025

WPYog is perfect and provides one stop solution for doc and pdf management. We can
expect more and more features in coming version.

![](https://secure.gravatar.com/avatar/8b47fbeaacba7abdd0c8164f84524fb8a9bed2f618c2cf936b3a011ee2051aec?
s=60&d=retro&r=g)

### 󠀁[very helpful](https://wordpress.org/support/topic/very-helpful-1560/)󠁿

 [inshajamil](https://profiles.wordpress.org/inshajamil/) نومبر 1, 2025

Exactly what I needed to organize my PDFs and presentations. Works perfectly!

![](https://secure.gravatar.com/avatar/c46368ef1f92206cbf9323c620123230be7e47da4f0b1ff11051b10c17e3679d?
s=60&d=retro&r=g)

### 󠀁[Simple, powerful, and user-friendly document manager — perfect for all users.](https://wordpress.org/support/topic/simple-powerful-and-user-friendly-document-manager-perfect-for-all-users/)󠁿

 [mohit2165](https://profiles.wordpress.org/mohit2165/) اکتوبر 15, 2025

Simple, powerful, and user-friendly document manager — perfect for all users.

![](https://secure.gravatar.com/avatar/3b23db8243e4c90accc33cc17a84fa95b403501a1f9277e6246dc61e47f07039?
s=60&d=retro&r=g)

### 󠀁[Good and easy to use.](https://wordpress.org/support/topic/good-and-easy-to-use-76/)󠁿

 [kkajall](https://profiles.wordpress.org/kkajall/) اکتوبر 10, 2025

Easy to use, decent control over documents and good features like filtering.

 [ Read all 12 reviews ](https://wordpress.org/support/plugin/wpyog-documents/reviews/)

## Contributors & Developers

“WPYog Documents” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ WPYog ](https://profiles.wordpress.org/wpyog/)

[Translate “WPYog Documents” into your language.](https://translate.wordpress.org/projects/wp-plugins/wpyog-documents)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wpyog-documents/), 
check out the [SVN repository](https://plugins.svn.wordpress.org/wpyog-documents/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wpyog-documents/)
by [RSS](https://plugins.trac.wordpress.org/log/wpyog-documents/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.5.1

Bug Fixes

 * Fixed Plugin Check slow query warning — added phpcs:ignore for tax_query (required
   for taxonomy-based category filtering; no alternative approach exists in WP_Query).
 * Updated “Tested up to” to WordPress 7.1 to ensure the plugin appears in WordPress.
   org search results.

#### 1.5.0

New Features

 * Added `columns` shortcode attribute — display documents in a 2, 3, or 4 column
   grid layout. Example: `[wpyog-document-list columns="2"]`. Responsive: collapses
   to 2 columns on tablet, 1 column on mobile.
 * Added live Shortcode Generator admin page (replaces static Shortcode Reference).
   Includes category dropdown populated from real categories, columns selector, 
   limit, sort, and display options with a one-click copy button.
 * Added “More Plugins” section to the Shortcode Generator page showcasing WPYog
   Team, WPYog News, and poppinsdigital.com.

Design / CSS

 * Complete frontend CSS redesign — replaced plain bullet list with a professional
   card-row layout.
 * Color-coded file type icon badges: PDF (red), Word (blue), Excel (green), PowerPoint(
   orange), Images (purple), ZIP (yellow).
 * Hover effects: accent left-bar, icon scale, download button lift shadow.
 * Download action rendered as a pill icon button with aria-label.
 * Date displayed as a rounded badge.
 * Description shown with a light hairline separator.
 * Single document box styled with left accent border and hover lift shadow.
 * Fully responsive — mobile (≤768px) collapses all layouts to 1 column; tablet (
   ≤900px) collapses 3–4 columns to 2.

Admin UX

 * Admin sidebar menu label changed from “WPYog Documents” to “Documents”.
 * Admin sidebar icon now renders correctly on all admin pages (not just document
   screens).
 * Updated Author and Author URI to poppinsdigital.com.
 * Updated plugin description shown in the WordPress Plugins list screen.
 * Shortcode column in the document list retained for quick copy.

Bug Fixes

 * Fixed missing `wp_reset_postdata()` after both WP_Query loops — was corrupting
   the global `$post` for anything rendered after the shortcode.
 * Fixed incorrect `esc_html()` on an array in the single document shortcode.
 * Fixed `wpautop()` wrapping shortcode output — was injecting `<p>` tags inside`
   <ul>/<li>` causing invalid HTML.
 * Fixed `$wpdb->prepare()` usage — SHOW TABLES query now uses `prepare()` with `%
   s` placeholder and `esc_like()`.
 * Fixed unsafe `$wpdb` direct table name interpolation in legacy upgrade routine—
   now uses `esc_sql()`.
 * Fixed description overflow in multi-column layouts — switched from `margin-left`
   to `padding-left` with `box-sizing: border-box`.
 * Fixed title text rendering vertically in document list — added `flex: 1; min-
   width: 0` to title link.

Code Quality / Security

 * Removed `extract()` from shortcode function — replaced with explicit variable
   assignments.
 * Scoped admin CSS and JS to wpyog_document post type screens only (was loading
   on all admin pages).
 * Added `WPYOG_DOCUMENTS_VERSION` constant for proper asset cache-busting on updates.
 * Added `if ( ! defined( 'ABSPATH' ) ) exit;` guard.
 * Prefixed all template variables with `wpyog_` for WordPress coding standards 
   compliance.
 * Renamed `save_wpyog_document_meta_data`  `wpyog_save_document_meta_data`.
 * Added translators comment for aria-label sprintf call.
 * Frontend CSS now loads only when a shortcode is present on the page (lazy load).
 * All upgrade notices trimmed to under 300 characters.
 * Tested on WordPress 7.0. Requires WordPress 5.0+.

#### 1.3.7

 * Added other file type icons.
 * Tested on WordPress 6.9.

#### 1.3.6

 * Security enhancements.
 * Added wp_unslash() to unslash user input.
 * Added text domain for translation.

#### 1.3.5

 * Added new route to download the file.
 * Security enhancements.
 * Added nonce to meta fields of the plugin.

#### 1.3.4

 * Added sanitize function for the text input field.

## Meta

 *  Version **1.5.1**
 *  Last updated **2 weeks ago**
 *  Active installations **100+**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **7.1.2**
 *  PHP version ** 7.0 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/wpyog-documents/)
 * Tags
 * [document library](https://bcc.wordpress.org/plugins/tags/document-library/)[document management](https://bcc.wordpress.org/plugins/tags/document-management/)
   [documents](https://bcc.wordpress.org/plugins/tags/documents/)[file download](https://bcc.wordpress.org/plugins/tags/file-download/)
   [pdf](https://bcc.wordpress.org/plugins/tags/pdf/)
 *  [Advanced View](https://bcc.wordpress.org/plugins/wpyog-documents/advanced/)

## Ratings

 4.6 out of 5 stars.

 *  [  10 5-star reviews     ](https://wordpress.org/support/plugin/wpyog-documents/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/wpyog-documents/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/wpyog-documents/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/wpyog-documents/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/wpyog-documents/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wpyog-documents/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wpyog-documents/reviews/)

## Contributors

 *   [ WPYog ](https://profiles.wordpress.org/wpyog/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wpyog-documents/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://poppinsdigital.com/)