Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jimj92120/wordpress-plugin-allow-models-upload

Allow users to upload .gltf and .glb files into WordPress Media Library.
https://github.com/jimj92120/wordpress-plugin-allow-models-upload

3d-models php wordpress wordpress-plugin

Last synced: 22 days ago
JSON representation

Allow users to upload .gltf and .glb files into WordPress Media Library.

Awesome Lists containing this project

README

        

# wordpress-plugin-allow-models-upload

Allow users to upload .gltf and .glb files into WordPress Media Library.

---
## Requirements

### For plugin installation
| | |
|-------------|----------|
| `PHP` | `>= 7.4` |
| `WordPress` | `>= 5.9` |

### For development
| | |
|-------------|-----------|
| `PHP` | `>= 7.4` |
| `WordPress` | `>= 5.9` |
| `npm` | `>= 6.0` |
| `node` | `>= 14.0` |

---
## How to use

1. Download the `.zip` file and install **Allow Models Upload** plugin in WordPress.

2. Activate **Allow Models Upload** plugin.

3. Upload .gltf and .glb into the Media Library.

Video tutorial:

https://user-images.githubusercontent.com/57893611/212634149-ca45bc4d-39ce-4782-a346-164b7dc98f36.mov

---
## Development

1. Install `npm` dependencies
```sh
npm install
```

2. Run `wp-env` environment
```sh
npm run wp-env start
```

---