{CODICTS} Snippets is now available

MyListing Publish | Unpublish Listings

The {CODICTS} MyListing Publish | Unpublish Listings plugin lets listing owners quickly publish or unpublish their listings directly from the My Listings dashboard with a single click — no need to go through the full edit flow or contact an administrator.

Installation & Activation

Start by downloading the plugin from the Downloads page on your dashboard on the CoDicts website.

After downloading, install and activate the plugin in WordPress by navigating to “Plugins” > “Add New” > “Upload Plugin” and selecting the downloaded zip file. Click “Install Now” and then “Activate”.

Once activated, listing owners will immediately see Publish or Unpublish action links on their dashboard listings page. No additional configuration is needed.

Note: This plugin has no settings page. It works automatically once activated.


Key Features

FeatureDescription
One-Click UnpublishListing owners can hide a live listing from the public with a single click from their dashboard.
One-Click Re-PublishListing owners can bring an unpublished listing back online with a single click.
Dedicated “Unpublished” StatusUnpublished listings get a distinct custom status, separate from drafts, pending, or expired listings.
Dashboard Status FilterAn “Unpublished” option is added to the listing status filter dropdown on the My Listings page.
Approval-AwareWhen re-publishing, the plugin respects your site’s “submission requires approval” setting.
Admin VisibilityAdministrators can see and manage unpublished listings in the WordPress admin area.
Data PreservedUnpublishing only changes the status — all listing data, images, and fields remain intact.

How It Works

The plugin adds a new action to the listing action menu on the My Listings dashboard page. Which action appears depends on the listing’s current status:

Listing StatusAction ShownWhat Happens
PublishedUnpublishListing is hidden from the public site immediately.
UnpublishedPublishListing goes back to published (or pending if approval is required).
PendingUnpublishListing is hidden from the public site. Only available if your site allows editing pending submissions.

Unpublishing a Listing

When a listing owner clicks “Unpublish”:

1. The listing’s status changes to “Unpublished.”

2. The listing is immediately hidden from the public — it no longer appears on explore pages, search results, or direct URL access.

3. A success message confirms: “[Listing Name] has been unpublished.

4. All listing data remains intact — nothing is deleted.

Re-Publishing a Listing

When a listing owner clicks “Publish” on an unpublished listing:

1. The plugin checks your site’s approval settings.

2. If “submission requires approval” is enabled, the listing goes to Pending status and awaits admin approval.

3. If approval is not required, the listing goes directly to Published status and is immediately visible to the public.

4. A success message confirms: “[Listing Name] has been published.

Note: The approval check prevents users from bypassing the admin review workflow by unpublishing and re-publishing listings.


Filtering Unpublished Listings

The plugin adds an “Unpublished” option to the status filter dropdown on the My Listings dashboard page.

Select “Unpublished” from the dropdown to see only your unpublished listings. This makes it easy to find listings you’ve hidden and re-publish them when you’re ready.


Administrator View

Administrators can see and manage unpublished listings in the WordPress admin area:

In Job Listings (or equivalent), unpublished listings appear in the “All” list view. An “Unpublished” status with a count is shown in the status filter bar, allowing administrators to quickly find and manage listings that owners have unpublished.


Unpublished vs. Draft

The “Unpublished” status is a dedicated custom status, separate from WordPress’s built-in “Draft” status. This distinction is important:

AspectUnpublishedDraft
MeaningA listing intentionally hidden by the ownerA listing still being created or edited
Set ByListing owner via the dashboard action buttonWordPress during listing creation
Public VisibilityHidden from the publicHidden from the public
Dashboard FilterHas its own “Unpublished” filter optionFiltered separately as “Draft”
Re-PublishingOne-click from the dashboardRequires going through the listing submission flow

Frequently Asked Questions

Is there a settings page?

No. The plugin works automatically once activated — no configuration is needed. Publish/Unpublish actions appear on the user dashboard and the “Unpublished” filter option is added to the dropdown.

What happens to my listing data when I unpublish?

Nothing. Unpublishing only changes the post status. All listing data, images, fields, and meta are fully preserved. You can re-publish at any time with everything intact.

Will my listing be visible anywhere when unpublished?

No. Unpublished listings are completely hidden from the public site — they don’t appear on explore pages, in search results, or when accessed by direct URL. Only the listing owner (on their dashboard) and site administrators (in the WordPress admin) can see them.

What happens when I re-publish a listing?

If your site has “submission requires approval” enabled, the listing goes to Pending status and awaits admin approval. If no approval is needed, it goes directly to Published status and is immediately visible.

Can I unpublish a pending listing?

Only if the MyListing setting for allowing users to edit pending submissions is enabled. If it is, pending listings show the “Unpublish” action.

Can administrators see unpublished listings?

Yes. Unpublished listings appear in the WordPress admin under Job Listings in the “All” list and in the status filter bar with a count.

Which listing statuses show the action button?

The Publish/Unpublish action appears for listings with Published, Unpublished, or Pending status (pending only if editing pending is allowed). Other statuses like Draft, Expired, or Preview do not show the action.

Does this work with WooCommerce paid listings?

The plugin changes the listing’s post status but does not affect WooCommerce orders or listing packages. If a listing has an active paid package, unpublishing and re-publishing does not consume a new package — it simply toggles visibility.


Troubleshooting

Publish/Unpublish Action Not Showing on Dashboard

CauseSolution
Plugin not activatedVerify the plugin is active in Plugins → Installed Plugins.
Listing has an unsupported statusThe action only appears for Published, Unpublished, or Pending listings. Drafts, Expired, and Preview listings do not show the action.
Pending listing, editing disabledThe “Unpublish” action for pending listings only appears if the MyListing setting “Users can edit pending submissions” is enabled.

“Unpublished” Option Not in Dashboard Filter Dropdown

CauseSolution
JavaScript errorThe dropdown option is added via JavaScript. Check the browser console (F12 → Console) for errors that might prevent the script from running.
CachingIf you use a page caching plugin, clear the cache after activating this plugin.

Listing Still Visible After Unpublishing

CauseSolution
Page cachingIf your site uses a caching plugin (e.g., WP Super Cache, W3 Total Cache, LiteSpeed Cache), the old published page may be served from cache. Clear the cache to reflect the status change.
CDN cachingIf you use a CDN like Cloudflare, purge the cache for the listing URL.

Re-Published Listing Goes to Pending Instead of Published

CauseSolution
Approval requiredThis is expected behavior. Your site has “submission requires approval” enabled in MyListing settings. The listing will go to Pending and await admin approval before becoming publicly visible. If you want listings to go directly to Published, disable the approval requirement in MyListing’s settings.

“MyListing Theme Not Detected” Error

The MyListing theme must be installed and active. Go to Appearance → Themes to verify.


For further support, visit codicts.com or contact us at support@codicts.com.

CoDicts Co., Ltd. © 2021-2026. All rights reserved