Create a document download list with two column in Ninja table pro

Got it — you’re referring to Ninja Tables Pro (a separate plugin from Ninja Forms). In Ninja Tables Pro, you can easily create a 2-column document download list like this:

Document Name Download
Leave Form Download Now
Expense Form Download Now

Here’s how to set it up:


✅ Steps to Create a 2-Column Document Download Table in Ninja Tables Pro

1. Create a New Table

  1. Log in to WordPress Dashboard → Ninja Tables → Add Table

  2. Give your table a name (e.g., “Document Downloads”)

  3. Choose “Manual Table” (since you’re adding data manually)


2. Add Table Columns

Add two columns:

Name Key Type
Document Name doc_name Text
Download Link download_link HTML

Steps:

  • Go to the Table Configuration tab

  • Click “+ Add Column”

  • Set Column 1 as Text (Document Name)

  • Set Column 2 as HTML (Download Button/Link)


3. Add Rows with Links

Go to the Table Data tab and insert your rows like:

Document Name Download Link (HTML)
Leave Form <a href="https://example.com/leave.pdf" target="_blank" class="btn btn-primary">Download Now</a>
Expense Form <a href="https://example.com/expense.pdf" target="_blank" class="btn btn-primary">Download Now</a>

4. Style the Button (Optional but Recommended)

If your theme doesn’t already style .btn classes, you can add this CSS under Appearance → Customize → Additional CSS:

.ninja_table_wrapper .btn {
  background: #0073aa;
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
}
.ninja_table_wrapper .btn:hover {
  background: #005177;
}

5. Embed the Table

Copy the shortcode from the top of the table editor, e.g.:

[ninja_tables id="12345"]

Paste this shortcode into any post, page, or widget area where you want the table to appear.


🧠 Pro Tip

If you want the documents to be downloaded automatically instead of opening in a new tab, add the download attribute like this:

<a href="https://example.com/leave.pdf" download class="btn btn-primary">Download Now</a>

Scroll to Top