This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
installCursor() { | |
local DEFAULT_CURSOR_URL="https://downloader.cursor.sh/linux/appImage/x64" | |
# Prompt for Cursor URL | |
echo "Please enter the Cursor download URL" | |
echo "Press Enter to use default: $DEFAULT_CURSOR_URL" | |
read -r USER_CURSOR_URL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Embeds, Pixels, and Codes | |
* Description: Manual header and footer embeds for ads, tracking, CRMs, etc. | |
* Author: Roundhouse Designs | |
* Author URI: https://roundhouse-designs.com | |
* Version: 0.0.1 | |
* | |
* @package rhd | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: RHDWP MU Loader | |
* Author: Roundhouse Designs | |
* Author URI: https://roundhouse-designs.com | |
* Description: Loads plugins in directories from the `mu-plugins` folder. | |
* Version: 1.0.0 | |
* | |
* @package RHD | |
* @version 1.0.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Render the latest product in the specified Product Category. | |
* | |
* @param array $atts The shortcode attributes | |
* @return string The formatted HTML | |
*/ | |
function rhdwp_woo_yayday_latest_bundle_shortcode( $atts ) { | |
$product_args = shortcode_atts( array( | |
'category' => null, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: RHD Environment | |
* Description: Enables automatic updates and SMTP email via PHPMailer. | |
* Author: Roundhouse Designs | |
* Author URI: https://roundhouse-designs.com | |
* | |
* @package rhdwp | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Help / usage info. | |
USAGE=$'WordPress Helper script, built for EasyEngine but should be widely compatible.\nWithout any args it will search /var/www/ for WordPress sites, loop over them in alphabetical order and check for core and plugin updates.\nAlso accepts:\n\t--sites=[space seperated list of site paths relative to /var/www]\n\t--update=[plugins|wp|all].' | |
# Die function for exiting on errors. | |
die () { | |
echo "${1}, exitting..." >&2 ; echo ; exit 1 | |
} |