https://github.com/herm71/casaluna-core-functionality
https://github.com/herm71/casaluna-core-functionality
wordpress wordpress-plugin
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/herm71/casaluna-core-functionality
- Owner: Herm71
- Created: 2024-01-08T18:43:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-14T16:45:22.000Z (over 2 years ago)
- Last Synced: 2025-01-28T14:19:41.409Z (over 1 year ago)
- Topics: wordpress, wordpress-plugin
- Language: PHP
- Homepage: https://casalunayelapa.com
- Size: 1.83 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Casa Luna Core Functionality Plugin
  
This the core functionality [WordPress](https://wordpress.org) plugin for the [**Casa Luna**](https://casalunayelapa.com) website. This theme independent plugin keeps, custom post-types, short-codes, security-headers and other site-based functions out of the theme's code. This ensures that a future theme change does not affect the site's core functionality.
## Features
This is plugin provides the following functionality in the following files:
* `general.php` -- for any general functions
* `post-types.php` -- registers custom post types (currently not included)
* `shortcodes.php` -- for writing custom shortcodes
* `disable-xmlrpc.php` -- disables XMLRPC to [prevent `xml-rpc` attacks](https://pantheon.io/docs/wordpress-best-practices#avoid-xml-rpc-attacks), per best practices
* `gtm.php` -- Google Tag Manager
* `security-headers` -- Security headers and Content Security Policy
## Dependencies
This theme was built using [@wordpress/scripts](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-scripts/) and includes additional linting and formatting `dev` dependencies.
## Requirements
* Node/npm
* Composer
## Installation
* Clone repo
* `cd` into newly cloned repo directory
* in terminal run `npm i && composer install`
## Developer
[@Herm71](https://github.com/Herm71)