Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 645 Bytes

README.md

File metadata and controls

16 lines (9 loc) · 645 Bytes

Dynamic Base URL Plugin

This plugin is designed to handle dynamic base URLs for staging and production environments.

Installation

  1. Download the dynamic-base-url-plugin.zip file from the releases section.
  2. Upload the plugin to your WordPress site.
  3. Activate the plugin through the WordPress admin dashboard.

Usage

The plugin automatically determines whether the site is in a staging or production environment based on the host name and sets the appropriate base URL.

To retrieve the dynamic base URL in your code, you can use the provided function get_dynamic_base_url().