Skip to content

Commit

Permalink
Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
redafillali committed Jun 22, 2023
1 parent 517ae6a commit b3fbce9
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 40 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Disable Media Pages Plugin

![Version](https://img.shields.io/badge/version-1.0.0-brightgreen.svg)
![WordPress](https://img.shields.io/badge/wordpress-5.8%2B-blue.svg)
![PHP](https://img.shields.io/badge/php-7.2%2B-blue.svg)
![License](https://img.shields.io/badge/license-GPL--2.0%2B-red.svg)

A WordPress plugin that disables access to media attachment pages.

## Features

- Disables access to media attachment pages.
- Provides options to specify which media files to ignore.

## Installation

1. Download the plugin zip file from the [Releases](https://github.com/redafillali/disable-media-pages/releases) page.
2. Extract the zip file and upload the plugin folder to the `/wp-content/plugins/` directory.
3. Activate the plugin through the "Plugins" menu in the WordPress admin dashboard.

## Configuration

1. Go to the plugin settings page under the "Settings" menu in the WordPress admin dashboard.
2. Specify the media files you want to ignore in the provided field.
3. Click "Save Options" to save the settings.

## Frequently Asked Questions

#### Q: Can I specify multiple media files to ignore?
A: Yes, you can enter multiple media file paths separated by commas in the ignore field.

#### Q: What is the minimum required version of WordPress?
A: The Disable Media Pages plugin requires WordPress 5.8 or higher.

#### Q: How can I contribute to the development of this plugin?
A: You're welcome to contribute to the development of this plugin by creating pull requests on the project's GitHub repository.

## License

[GPL-2.0+](https://www.gnu.org/licenses/gpl-2.0.html) © Your Name

0 comments on commit b3fbce9

Please sign in to comment.