Skip to content

It's like AirBNB for WordPress. A massive project that extends WordPress for Vacation Rentals booking, indexing, curating, etc.

Notifications You must be signed in to change notification settings

ahmadawais/vacation-rentals

Repository files navigation

VRCore [Work in progress!]

Add vacation rentals to your WordPress site with membership, agents, partners, search, and frontend booking features. Documentation →

imageimage image image image image

Architecture

  • vr-core.php: Main plugin file that includes vrc.php
  • vrc.php: Main initializer for everything

Design Pattern

Let's assume we are building a functionality called feature

  • Folder: feature
  • File: feature-init.php includes everything classes and actions/filters
  • File: class-feature.php main class that interacts with other small classes
  • File: cpt-feature.php class for the Custom Post Type
  • File: ct-feature-taxonomy.php class for the custom taxonomy
  • File: feature-custom a custom class for a sub-feature
  • File: class-feature-meta-boxes class for related meta boxes

Copyright Ahmad Awais | WPTie | WGA.

About

It's like AirBNB for WordPress. A massive project that extends WordPress for Vacation Rentals booking, indexing, curating, etc.

Resources

Stars

Watchers

Forks

Packages