Plugins / Resource Port Pro / Documentation

Resource Port Pro

Applies to Resource Port Pro 2.9.5. Updated Oct 5, 2026. 22 min read

This manual covers the plugin from desk9design.com: adding resources and collections, who can see what and how files are protected, the sign-in page with access requests and the dealer role, the four blocks and their shortcodes with every attribute, expiry dates, badges and the weekly email, statistics, the settings, WPML and Polylang, privacy, licensing and updates. Every section applies to every plan.

1. Overview

ResourcePort Pro turns the documents a company publishes, such as manuals, price lists, data sheets, certificates, images and archives, into a library people can search, and decides who may see what. Public documents stay public. Price lists, dealer material and internal files are shown only to the people who may open them, and their files cannot be reached by a direct link.

A customer, dealer or colleague types two words, taps the result, and the PDF opens in the browser. Signing in happens on a page of your site, with a one-time link by email or a password, and people who need an account ask for one on the same page. Expiry dates, New and Updated badges and a weekly email keep the library fresh, and statistics show what gets used without storing personal data.

There is one edition of the plugin with every feature. What you buy on desk9design.com is a year of updates and support for the sites in your plan and the license key that delivers the updates inside WordPress. The plugin keeps working after the year; only updates and support stop until you renew.

ResourcePort Pro
Contentresources with one file each (media library or a link to another site), collections with sub-collections, types, tags, document languages, versions
Accesseverybody, logged-in users or certain roles, per collection and per resource; enforced in the library, site search, resource pages, REST API, feeds, sitemaps and the file itself
Signing ina sign-in page on your site with one-time links by email or passwords, access requests you approve, an own role for people who only read, optional bot check
BlocksResource Library, Single Resource, Sign In Button, Resource Sign-in
Shortcodes[resourceport_library], [resourceport_resource], [resourceport_sign_in_button], [resourceport_sign_in]
Lifetimeexpiry dates with reminder email, publication dates, New and Updated badges, weekly “New for you” email
Statisticsuses, opens and downloads per document and day, without IP address, user or cookie; CSV export
LanguagesEnglish and German included, WPML and Polylang supported
Adminown menu ResourcePort with Resources, Add Resource, Bulk Upload, Collections, Types, Tags, Access requests, Statistics, Import and Settings

2. Requirements

WordPress6.5 or newer (tested up to 7.1)
PHP7.4 or newer
Web serverApache and LiteSpeed protect the folder through the .htaccess file the plugin writes; IIS through web.config; Nginx needs one rule in its configuration (the Access tab shows it)
Themenone; works with any block or classic theme, fonts and text color are inherited, one accent color is yours to choose
Page buildersblock editor for the blocks; classic editor and page builders through the shortcodes
Multilingualoptional. WPML or Polylang for the library and sign-in pages in several languages
External servicesnone while visitors use the library. A bot check provider only when you switch it on
Build toolsnone. No build step, no external libraries, no tracking

3. Installation

1

Download the ZIP resourceport-pro-2.9.5-desk9design.zip from your account. The license key is in your order email and under Subscriptions.

2

In your WordPress admin go to Plugins > Add New > Upload Plugin, select the ZIP, click Install Now, then Activate.

3

A new top-level menu ResourcePort appears. Open ResourcePort > Settings > Access and check that the protected folder reads Protected. Follow the instructions there if it does not (see Protected files).

4

Open ResourcePort > Settings > License, paste the key and click Activate license. From now on updates arrive through the normal Plugins screen. Every feature works before the key is in; the key brings the updates and support, nothing else is locked.

Note: using the free ResourcePort plugin on this site? Pro deactivates it on activation and takes over all resources, collections and settings. You can delete the free plugin afterwards; your pages keep working.

4. Quick start

Twenty minutes from an empty install to a library with a dealer area. Collections first, because they carry the access rules.

1

Go to ResourcePort > Collections and add the groups your documents fall into, for example Manuals, Price lists and Certificates. Open the Price lists collection and set Who can see it to Logged-in users; everything in it follows.

2

Go to ResourcePort > Bulk Upload. Choose the collection, the type and the language once, then drop the files. Every file becomes a resource with the title taken from its file name.

3

Open the page for your documents and insert the Resource Library block. Leave the collections empty so every collection becomes a tab, or pick the ones this page should show.

4

Go to ResourcePort > Settings > Access and click Create a sign-in page. The library’s Sign in button now leads there, and visitors can request an account.

5

Open ResourcePort > Settings > Library and pick the accent color so the locked tabs and badges match your site.

That is the whole setup. Everything below explains the options in detail.

The resource library with a header text, a Dealer login button, the search field, collection tabs with counts, type and language filters, the sort menu and the list and covers toggle, and the documents grouped by month with type icon, title, collection, description, language, version, file size, date and Open and Download buttons.
The library: search, collections as tabs, filters, and every document with Open and Download.

5. Adding resources

A resource is one document: a file with a title, a short description and its facts. Resources are edited in a form under ResourcePort > Add Resource, not in the block editor, with the file right under the title.

FieldWhat it holds
Filechosen or uploaded through the media library, or a link to a file on another site. Replace file swaps it and keeps the resource; View file opens it
Languagethe document language, when the site lists several under Settings (see WPML and Polylang). Two resources in two languages can be linked as “Also available in”
Versionfree text such as 2.1 or 2026-03, shown in the list and the details panel
Download filenamethe name the browser saves the file under; empty keeps the original
What a click doesby file type (PDFs open, images preview, everything else downloads), always open, always download, or always preview; overrides the default under Settings
Descriptiona short text, with the usual formatting; shown in the list and the details panel
Collections, types, tagsin the side column. A resource can be in several collections and have several tags; one type
Preview imagethe featured image, shown as the cover. It stays a normal public image; the file itself is never shown as a thumbnail when it is protected
Access and lifetimewho can see it, the expiry date and the share link (see Who can see it)

The title is taken from the file name when you leave it empty; umlauts stay intact, also for files from a Mac. Boxes a resource rarely needs, such as custom fields, excerpt and author, start hidden; Screen Options brings them back. Scheduling works with the normal WordPress publish date.

The resource edit screen with the File panel holding the PDF, Replace file, View file and a field for a file on another site, language, version, download filename and what a click does, the description, and the Access and lifetime box with Who can see it set to Logged-in users, an expiry date and a share link.
One resource: the file, its details, and the Access and lifetime box with Who can see it, an expiry date and a share link.
The Resources list in the WordPress admin with columns for title, collection, type, format, size and date.
The Resources list with collection, type, format and size.

6. Bulk upload

Under ResourcePort > Bulk Upload you drop many files at once and get one resource per file. The settings at the top apply to the whole batch: collection, resource type, status (published or draft), language and tags. Titles come from the file names; open a resource afterwards to add a description or a version.

The Bulk Upload screen with the fields for the whole batch, collection, resource type, status, language and tags, and the drop zone Drop files to upload.
Bulk Upload: set collection, type, language and tags once, drop the files.

Note: upload a batch as drafts when the files need descriptions first. The Resources list filters by status, so you can publish them together once they are complete.

7. Collections, types and tags

Three ways to sort a library, each with its own screen under ResourcePort:

Use it for
Collectionsthe main structure, with sub-collections. In the library they are the tabs, and the sub-collections of the open tab appear as chips. A collection carries Who can see it, which its sub-collections and resources inherit unless they set their own
Typeswhat a document is: manual, price list, data sheet, certificate. One type per resource; a filter in the library
Tagsanything else, such as a product line or a season. Several per resource; a filter in the library

Every collection, type and tag has a name, a slug and a description. The slugs are what the shortcode and the URL filters use, for example collection="price-lists".

The Edit Collection screen with name, slug, parent collection, description and the setting Who can see it with the note that resources in this collection and its sub-collections follow it.
A collection: Who can see it, inherited by its sub-collections and resources.

Note: a resource in two collections that let in different people, one for dealers and one for staff, is seen by editors only until you choose who can see it on the resource itself. The Access and lifetime box and the Resources list both point it out.

8. Import from Download Monitor

Sites that used Download Monitor move their downloads under ResourcePort > Import. The import shows a preview first, runs in batches and can be repeated without creating duplicates. Members-only downloads become resources for logged-in users, so nothing that was restricted becomes public. Download counts are carried into the statistics.

The files stay where Download Monitor put them. Files in its deny-all folder are delivered through ResourcePort’s access check from then on.

9. Who can see it

Access is set in one place per collection and per resource: Who can see it, with the choices Everybody, Logged-in users and Users with certain roles. A resource follows its collection, a sub-collection follows its parent, unless it has a setting of its own. The rule is enforced everywhere, not just hidden in the list:

WhereWhat happens
Library and site searchrestricted documents are left out for people without access, and the counts on the tabs never include them
Resource pages, REST API, feeds, sitemapsthe same rule, including the sitemaps of WordPress, Yoast SEO and Rank Math
Open and Downloadboth go through the access check before a file is delivered
The file itselffiles of restricted resources are moved to the protected folder and refuse direct links (see Protected files)
Logged-in users without accessalways get “not found”, so a link does not reveal that a restricted document exists

Visitors who follow a link to a restricted document are sent to the sign-in page and come back to the document afterwards. Collections a visitor may open after signing in show as locked tabs in the library, with a sign-in panel, instead of being left out; that way people know there is more.

The Access tab of the settings: send visitors without access to the sign-in page, hide the WordPress toolbar for accounts that cannot edit content, the sign-in page, sign-in links by email, access requests and the role of approved requests.
The Access tab: sign-in page, sign-in links, access requests and the role they get.

10. Protected files

When a resource becomes restricted, its file moves from the normal uploads folder into uploads/resourceport-protected/. The plugin writes an .htaccess file (Apache, LiteSpeed) or a web.config (IIS) that refuses direct access, and delivers the file only after the access check. When a resource becomes public again, the file moves back.

Whether your web server honors the folder is tested on activation and under ResourcePort > Settings > Access with Check again: the site requests a test file from its own protected folder and expects to be refused. Until the check passes, the ResourcePort screens show a warning.

Warning: Nginx does not read .htaccess files. The Access tab shows the one rule to add to the server configuration, in the form below, with the path of your site. Reload Nginx and click Check again.

location ^~ /wp-content/uploads/resourceport-protected/ {
    deny all;
}

File delivery. By default PHP streams protected files, which works everywhere and supports range requests for large PDFs. On servers set up for it, X-Sendfile (Apache with mod_xsendfile, LiteSpeed) or X-Accel-Redirect (Nginx) hand the file to the web server after the check, which is faster. The Nginx choice shows the internal location to add.

Note: a featured image set as preview stays a normal public image. When the protected file itself is an image, the library shows a type icon instead of a thumbnail, so the image is never exposed. Files on other sites are only as protected as that site makes them; the plugin hides the link, not the file.

11. The sign-in page

People sign in on a page of your site, not on wp-login.php. ResourcePort > Settings > Access creates the page with one click; it holds the Resource Sign-in block, whose texts you edit in the block: an eyebrow, a headline, an introduction and a few points. The library’s Sign in links and the Sign In Button lead there, and after signing in people return to where they came from.

How it works
Sign-in link by emailthe visitor enters an email address and receives a link that works once and for 15 minutes. Opening it shows a button, so mail scanners cannot use the link up. Switched on under Settings, Access, Sign-in links
Passwordunder “Use a password instead”. Accounts that can edit content, such as administrators, editors and authors, always sign in with their password
Request accessa second tab with company, name, email, optional details and consent (see Access requests)
Limitsrequests for links and wrong passwords are limited per account and per connection. Accounts marked as spam or blocked by another plugin cannot sign in
The sign-in page with a dark panel reading Your documents, in one place, and a form with the tabs Sign in and Request access, an email field, the button Email me a sign-in link and the link Use a password instead.
The sign-in page on your site: a link by email, a password, or a request for access.

Accounts that cannot edit content, such as subscribers and ResourcePort’s own role, do not see the WordPress toolbar and land on the documents instead of their profile after signing in on the WordPress login page. Signed-in visitors on the Access tab switches that off.

12. Access requests and the role

Visitors ask for an account on the sign-in page. Requests appear under ResourcePort > Access requests, with the number waiting shown in the menu, and a notification goes to the address under Send new requests to. Approving creates the account (or gives an existing account the role) and sends a welcome email with a sign-in link and a link to set a password. Declining sends nothing. Handled requests are deleted after 180 days.

The role. Approved requests get ResourcePort’s own role, called Dealer by default and renamed under Settings, Access. It can only read. A collection opened for this role is seen by these people alone, not by every account of the site, and guests see it as a locked tab since they can ask for access. Under Role of approved requests you can pick another role; roles that can edit content are not offered.

Note: people with the role see its name under their own name in the library header, so a dealer knows they are signed in as a dealer.

A share link opens one restricted file without logging in, for 7, 30 or 90 days. It is created in the resource editor under Access and lifetime: pick the duration, copy the link, send it. The link carries the parameter resourceport_share and works for that file only.

Revoke all share links under ResourcePort > Settings > Access stops every link created so far; new ones can be created afterwards.

14. Bot check

Off by default. When bots send access requests or try passwords, choose a provider under ResourcePort > Settings > Access > Bot check and enter its site key and secret key: Cloudflare Turnstile, hCaptcha or Google reCAPTCHA v2. People on the sign-in page then confirm they are human before a sign-in link is sent, a password is checked or a request is saved, and a form is refused when the provider does not confirm the check.

The provider’s script loads on the sign-in page only, and nothing is loaded while the setting is off. See Privacy for what the provider receives.

15. The Resource Library block

The block puts the whole library on a page, or only a part of it. Its sidebar has these panels:

PanelOptions
Showempty shows every collection as a tab. Pick one or several collections (they become the tabs, in your order), a type, tags, or documents chosen by hand. Chosen documents keep your order, offered as “As arranged” in the sort menu
Viewlist or covers as the start view; visitors can switch. The default comes from Settings
Resources per pageand whether the rest comes as numbered pages or a Load more button
Search and filtersshow the search field; show the filter row; which filters: collection, type, tag, language
Sortlast updated, newest, title, or as arranged. A search sorts by best match
Headerthe text above the search and the sign-in button beside it or in a bar (see Header and signing in)

The library works without JavaScript, and every filter state is a URL, so a filtered view can be linked. Collections as tabs show their counts, and the sub-collections of the open tab appear as chips. The list groups documents by month with language, version, file and date in columns; covers show the preview image or a type icon. A tap on a document opens the details panel, on the right on wide screens and from the bottom on phones. The / key jumps to the search field.

The library in the covers view: one cover per document with its type, a New badge, the title, file size and language, and the collection, date and buttons under each cover.
The same block as covers: one per document, with the buttons under it.
The details panel of a document sliding in from the right: a preview of the PDF, the New badge, title, description, Also available in with the German version, collection, type and language, and Open PDF, Download, preview and copy link buttons.
The details panel: preview, facts, the other language, Open and Download.

Search looks at titles, descriptions, collections, types, tags, file names and versions, and matches German umlauts however they are typed. Open and Download are separate actions; on computers a PDF can open in a quick view on the page, phones and tablets use their own viewer, which shows every page.

The library after searching for manual: three matching documents, the collection tabs with their counts, a Clear filters link and Best match as the sorting.
Search: two words, and the tabs count what matches.
The library on a phone: header text, Dealer login button, search field, collection chips, type and language filters, the sort menu and the first documents with type icon, badges and a download button.
On a phone: chips, filters and the list.
The details sheet on a phone with the preview, New badge, title, description, the German version under Also available in, the facts and the Open PDF, Download and Copy link buttons.
The details as a sheet on a phone.

The library’s header is where people look for the login. It holds a short text for everyone and the sign-in button, and the Header panel of the block chooses the arrangement:

Arrangement
Beside the textthe text above the search with the button next to it
In a barthe text, then a bar with a note such as “Dealer documents appear after logging in” and the button
Noneno header; the library starts with the search

Visitors read the note for visitors, people who are signed in see their initials, their name and Sign out, with a note of their own if you like. The button text is yours, “Dealer login” for example. The block’s preview can be switched between what visitors see and what signed-in people see. The header appears once the sign-in page is set up.

The library with its header arranged as a bar: the text above, a bar with a lock icon, the note Dealer documents appear after logging in and a Dealer login button.
The header as a bar, with the note for dealers and the button.
The library for a signed-in dealer: the header shows her initials, name and role and a Sign out button, the text reads Your dealer documents are included, and the count is one document higher.
Signed in as a dealer: name and role in the header, the dealer documents included.

17. The Single Resource block

One document in any post or page: as a card with type, file size, language, version, description and the Open and Download buttons, or as a button with your own text, “Download the catalog” for example. Pick the document in the block sidebar; the search there finds what you may see.

The block goes through the same access checks as the library. Visitors who may not open the document see nothing. Guests see a document for signed-in users locked, with its title and a sign-in link that leads back to the page, where the block was placed by someone who may edit resources.

The Single Resource block as a card with the type icon, title, type, file size, language, version, description and Open PDF and Download buttons, and as a single button reading Download the catalog.
The Single Resource block: a card, or just a button.

18. The Sign In Button block

Signing in and out anywhere, in the site header next to the navigation too. Visitors get a round button to the sign-in page; people who are signed in get their initials and first name, which open a short menu with their name, the documents, the weekly email and Sign out. On phones the menu is a sheet from the bottom. The block follows the color of the text around it, works without JavaScript and appears once the sign-in page is set up. Options: the button text, and whether the name is shown.

19. Shortcodes

Every block has a shortcode for the classic editor and page builders. Values with spaces go in quotes; several slugs are separated by commas.

[resourceport_library]

AttributeValues
collectionslugs of the collections that become the tabs, for example "manuals,price-lists"; empty shows all
typeslug of one type; the type filter is then hidden
tagsslugs of tags
idsresource IDs, shown in that order: "12,7,31"
viewlist or grid (covers)
per_pageresources per page, up to 100
searchyes or no
filters_visibleyes or no
filterswhich filters: collection, type, tag, language, separated by commas
sortupdated, newest, title or manual
headerside, bar or none
header_textthe text above the search
guest_notethe note for visitors
signed_in_notethe note for people who are signed in
accountno hides the sign-in button
account_labelthe button text, “Dealer login” for example
[resourceport_library collection="manuals,price-lists" view="list" per_page="24" header="bar" header_text="Documents for our dealers" guest_note="Dealer documents appear after logging in" account_label="Dealer login"]

[resourceport_resource]

AttributeValues
idthe resource ID (required)
layoutcard or button
labelthe button text; the title when empty
descriptionno hides the description on the card
[resourceport_resource id="12" layout="button" label="Download the catalog"]

[resourceport_sign_in_button]

AttributeValues
labelthe button text
nameno shows the initials only when signed in

[resourceport_sign_in]

AttributeValues
eyebrow, headline, textthe texts next to the form
pointsa few points, separated by |
requestno hides the Request access tab
request_label, request_title, request_textthe texts of the Request access tab

Note: the sign-in page that Settings creates already holds the block. The shortcode is for sites that build the page with a page builder; tell the Access tab which page it is.

20. Expiry dates and reminder

A resource with an expiry date disappears for visitors after that date and cannot be opened any more, under Access and lifetime in the editor. Under ResourcePort > Settings > Resources you choose what happens then: hide the resource and keep it published, or also move it to draft (checked every hour). Publication dates work the other way round, with the normal WordPress publish date.

The expiry reminder sends one email a day at most, naming each resource that expires within the next 14 days (or the number of days you set) once, with a link to change its date. 0 turns it off; an empty address sends it to the administration email of the site.

21. New and Updated badges

Recently published documents carry a New badge, recently changed ones an Updated badge, in the list, on the covers and in the details panel. The periods are set under ResourcePort > Settings > Library: days after publishing and days after a change. The badges use the accent color.

22. The weekly email

Off until you switch it on under ResourcePort > Settings > Access > Weekly email. On the day you choose, from 7:00, people who asked for it get the documents that are new or were updated for them, only those they may open, and only when there is something. They ask for it in the access request, on the sign-in page when signed in, in the menu of the Sign In Button, or in their profile.

Every email has a link that stops it without signing in, which also serves the Unsubscribe button of mail programs. An existing account is never signed up through the form, the first email comes on the chosen day rather than at once, and the privacy tools export and erase the subscription. On a network each site keeps its own list.

23. Statistics

ResourcePort > Statistics shows uses, opens, downloads and resources used for 7, 30 or 90 days or 12 months, each compared with the period before. Below: uses per day (per week for 12 months) as a chart with a table of the same numbers, the most used documents and the busiest collections. Export CSV gives the period as one row per document. The Resources list has a column with the last 30 days.

The Statistics screen for 30 days: tiles for uses, opened, downloaded and resources used with the change against the period before, a bar chart of uses per day, the most used resources and the busiest collections.
Statistics without personal data: uses per day, the most used documents, the busiest collections.

No IP address, no user, no cookie is stored: each open or download adds one to a counter for that document and day. Crawlers and browser prefetches are not counted. Under ResourcePort > Settings > Statistics you switch the counting off, choose how long the numbers are kept (older ones are removed once a day) and can delete them all.

24. The settings screen

Everything is set on one screen under ResourcePort > Settings, in six tabs:

TabWhat it holds
Libraryaccent color, default view (list or covers), covers on phones with or without buttons, resources per page, numbered pages or Load more, which columns the list shows, the New and Updated periods
Resourcesthe default action of a click (by file type, open, download, preview), the PDF quick view, the document languages, what happens to expired resources, the expiry reminder
Accessthe protected folder and its check, file delivery, visitors without access, the WordPress toolbar for signed-in visitors, the sign-in page, sign-in links, access requests and the role, the bot check, the weekly email, share links
Statisticscounting on or off, how long numbers are kept, delete the statistics
Licensethe license key and its status (see License and updates)
Advancedresource pages (give each resource its own page, ask search engines not to index them), what is deleted when the plugin is deleted
The Settings screen with the tabs Library, Resources, Access, Statistics, License and Advanced, open on Library: accent color, default view, covers on phones, resources per page, pagination, the columns of the list and the New and Updated badges.
One settings screen with six tabs; here the Library tab.

Accent color. One color marks locked collections, the New and Updated labels and the sign-in page. Text on it turns black or white, whichever reads better; buttons stay in dark ink. Everything else follows your theme’s colors and fonts.

25. WPML and Polylang

A resource is not translated into copies: each stays one document for all languages, with a document language of its own. A German and an English price list are two resources, linked as “Also available in”, and the library can filter by language. The languages come from ResourcePort > Settings > Resources > Document languages (for example en, de); on a single-language site leave the field empty and the language field stays hidden everywhere.

Translate the pages that hold the library and the sign-in form as usual; links then lead to the page in the visitor’s language. The names of collections, types and tags are translated in String Translation (domain ResourcePort), the texts of the header, the Sign In Button and the sign-in block in the translation editor. Emails go out in the language of the person who reads them, and an account made from an access request keeps the language the request was made in.

Note: the plugin’s wpml-config.xml sets resources, collections, types and tags to “Not translatable”, because a translated copy would be a resource of its own with its own access rules. Should they be set to be translated anyway, the ResourcePort screens warn.

26. Privacy

The plugin makes no requests to external services while visitors use the library, and the statistics store no personal data. The plugin suggests a sentence for your privacy policy under Settings > Privacy in WordPress. What leaves the site:

What it does
Protection checkon activation and with Check again, the site requests a test file from its own protected folder. This goes to your own site only
Bot check (optional, off by default)the chosen provider’s script loads on the sign-in page and sends the visitor’s IP address and browser details to the provider. With each sign-in link, password or access request the site sends the result, your secret key and the visitor’s IP address to the provider: Cloudflare Turnstile (Cloudflare, Inc.), hCaptcha (Intuition Machines, Inc.) or Google reCAPTCHA (Google LLC)
License and updateswhen you activate the license and when WordPress checks for updates (at most every 12 hours), the plugin sends the product name, the license key, your site URL and the installed version to desk9design.com. No visitor data
Access requests and the weekly emailstored in your database, part of the personal data export and erasure of WordPress. Handled requests are deleted after 180 days

27. License and updates

The license key is in your order email and under Subscriptions in your account. It activates as many sites as your plan allows: 1, 5 or unlimited.

1

Open ResourcePort > Settings > License, paste the key into License key and click Activate license. The page answers “License activated. Updates are now delivered to this site.”

2

The status box shows Active on this site, the number of sites in use (for example “Sites: 1 of 5”) and Valid until. Check status and updates asks the license server again right away.

3

Updates now appear on Dashboard > Updates and on the Plugins screen like any other plugin. WordPress checks at most every 12 hours.

4

Moving the plugin to another site? Click Deactivate on this site first, so the slot is free for the new site. You can also free a slot under Subscriptions in your account.

StatusMeaning
Active on this sitethe key is valid and this site uses a slot; updates arrive
Not active on this siteno key, or the key was deactivated here; the plugin works, updates do not arrive
Expired or disabledthe subscription has ended or was refunded; renew under Subscriptions and click Check status
Unknown license keya typo, or a key for another product
The license server could not be reacheda temporary network problem on the way to desk9design.com; try again later
The License tab of the settings with the license key field and the Activate license button.
The License tab: paste the key, activate, done.

Note: all features work without an active license. What stops after expiry is the update check and support; the library, the access rules and the settings keep working as they are.

28. Staging and moving sites

Staging and local sites do not use a slot. A site whose address is localhost, a .local, .test or .ddev.site domain or a subdomain starting with staging., dev., test. or local. activates without counting against your plan, so you can test an update before it goes live.

When you move a site to a new domain, deactivate on the old site before the move and activate on the new one afterwards. Resources, collections, access rules and settings travel with the database; the files with the uploads folder, including resourceport-protected/. Run Check again on the Access tab after the move, since the new server may need the Nginx rule.

Cloning a site with a database copy keeps the license key in the copy. On the clone, deactivate the key if the clone should not use a slot.

29. For developers

The plugin adds nothing to your theme and needs no build step. Resources are the post type resource, collections, types and tags are taxonomies, and files are referenced by attachment ID or URL. Every filter that can return HTML is passed through a fixed allowlist before output. The documented hooks are a stable contract within a major version; the common ones:

FilterWhat it does
resourceport_resource_query_argschange which resources a library, feed, block or REST listing returns; the context names the surface
resourceport_download_filenamethe name a file is saved under
resourceport_click_behavioropen, download or preview for a given resource
resourceport_file_handoff_headerreturn an X-Sendfile or X-Accel-Redirect header to let the web server send a file after the check
resourceport_protected_upload_dirsfolders whose files have no usable direct URL and are delivered through the endpoint
resourceport_client_ipthe visitor’s address for the sign-in limits, for sites behind a proxy
resourceport_digest_recipienthold back the weekly email for an account
resourceport_importersregister an import source next to Download Monitor
resourceport_template_paththe path of a template the theme overrides

Actions fire when a resource is created, updated or imported (resourceport_resource_created, resourceport_resource_updated, resourceport_resource_imported), when its file changes, and before an open and before and after a download. Access has already been checked when they run.

add_filter( 'resourceport_download_filename', function ( $filename, $resource ) {
	return 'acme-' . $filename;
}, 10, 2 );

30. Troubleshooting and FAQ

The Access tab says the protected folder is reachable.

Your web server does not read the .htaccess file. On Nginx add the rule shown on the tab to the server configuration, reload, and click Check again. On other servers ask your host whether direct access to the folder can be blocked.

The check says the site could not reach itself.

The server cannot open its own address over HTTP, which some hosts block. Open /wp-content/uploads/resourceport-protected/ in a private window: a 403 means the folder is protected.

A dealer signed in and still does not see the dealer documents.

Check Who can see it on the collection: “Users with certain roles” needs the dealer’s role ticked. A resource in two collections with different rules is seen by editors only until you set the rule on the resource.

The library is empty on the page.

The block shows published resources the visitor may see. Check that the resources are published, not expired, and that Show in the block does not limit the library to a collection without documents.

The sign-in link never arrives.

The link is sent through WordPress mail. Test with a plugin that logs outgoing mail, or set up SMTP. The link works once and for 15 minutes; accounts that can edit content always use their password.

The Sign in button is missing in the header.

It appears once the sign-in page is set up under Settings, Access. In the block, the Header panel can hide it, as can account="no" in the shortcode.

Can a signed-in user without access see that a document exists?

No. Restricted documents are left out of every list and search for people without access, and a direct link answers “not found”.

What happens when I deactivate Pro?

Nothing is deleted. Restricted resources then appear in the free plugin’s library like all others, but their files stay locked in the protected folder until you activate Pro again.

Can I use it with the classic editor or a page builder?

Yes, with the four shortcodes. Every block option has a shortcode attribute.

What is the difference to the CodeCanyon edition?

The same plugin. The desk9design.com edition has the License tab and updates inside WordPress; the CodeCanyon edition updates through Envato and has no License tab.

Where do I get help?

Open a ticket under Support or from your account. A link to the library page and a screenshot of the Access tab answer most questions in one round.

31. Uninstall

Deactivating the plugin leaves everything in place. Deleting it under Plugins removes the plugin files and the settings, and by default keeps your resources and collections in the database, so a reinstall finds them again.

To remove the data too, switch on Delete all resources and collections and, if you like, Delete the statistics under ResourcePort > Settings > Advanced before you delete the plugin. Files in the media library and in the protected folder are never deleted, and access rules stay on the resources, so nothing becomes public by accident. The ResourcePort role is removed only when nobody has it.

Deactivate the license on this site first (ResourcePort > Settings > License), so the slot is free for another site.

Questions about a setting? The answer is usually in the FAQ above.

Something broken? Open a ticket

On this page

Docs are versioned with each release. This manual applies to every plan.