Download the PHP package wvnderlab-agency/wp-disable-date-based-archives without Composer

On this page you can find all versions of the php package wvnderlab-agency/wp-disable-date-based-archives. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package wp-disable-date-based-archives

wp-disable-date-based-archives

PHP WordPress WP Coding Standards

Installation

Via Composer

Via FTP

  1. Download the repository zip file.
  2. Unzip the file.
  3. Upload the unzipped folder to the /wp-content/muplugins or /wp-content/plugins/ directory on your server.
  4. Navigate to the 'Plugins' section in your WordPress admin dashboard.
  5. Find 'Disable posts' in the list and click 'Activate'.

Via WordPress Admin Dashboard

  1. Download the repository zip file.
  2. Navigate to the 'Plugins' section in your WordPress admin dashboard.
  3. Click 'Add New' and then 'Upload Plugin'.
  4. Choose the downloaded zip file and click 'Install Now'.
  5. After installation, click 'Activate Plugin'.

Usage

Filter Hooks

wvnderlab/disable-date-based-archives/enabled (Default: true)

This filter allows you to disable the plugin functionality.

wvnderlab/disable-date-based-archives/status-code (Default: 404)

This filter allows you to set the HTTP status code returned when posts are disabled.

You can set it to standard codes like 404 (Not Found), 410 (Gone), or redirect codes like 301 (Moved Permanently) or 302 (Found).

wvnderlab/disable-date-based-archives/redirect-url (Default: home_url())

This filter allows you to override the redirect URL when posts are disabled and the wvnderlab/disable-date-based-archives/status-code filter is set to use a redirect status code (e.g., 301 or 302).

Development

Install Dependencies

Analyse Code-Quality with WP-Coding-Standards

Refactor Code along WP-Coding-Standards


All versions of wp-disable-date-based-archives with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package wvnderlab-agency/wp-disable-date-based-archives contains the following files

Loading the files please wait ...