This file contains 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: Team Members | |
* Plugin URI: PLUGIN SITE HERE | |
* Description: PLUGIN DESCRIPTION HERE | |
* Author: YOUR NAME HERE | |
* Author URI: YOUR SITE HERE | |
* Text Domain: team-members | |
* Domain Path: /languages | |
* Version: 0.1.0 |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> | |
<style> | |
.row { |
This file contains 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 | |
/** | |
* Implements example command. | |
*/ | |
class Hello_WPGenius_Command { | |
/** | |
* Prints a greeting. | |
* | |
* ## OPTIONS |
This file contains 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
function pn_get_attachment_id_from_url( $attachment_url = '' ) { | |
global $wpdb; | |
$attachment_id = false; | |
// If there is no url, return. | |
if ( '' == $attachment_url ) | |
return; | |
// Get the upload directory paths |
This file contains 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
.vibebp_myprofile .profile_settings .portal:nth-child(2), | |
.vibebp_myprofile .profile_settings .portal:nth-child(3), | |
.vibebp_myprofile .profile_settings .details | |
{display: none;} |
This file contains 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 | |
//This is variable is also used in parent theme i.e. BeTheme | |
//Set it false to show other betheme options. | |
define( 'WHITE_LABEL', true ); | |
add_action( 'admin_menu','while_label_theme', 13 ); | |
function while_label_theme(){ | |
if( WHITE_LABEL ){ | |
This file contains 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
function luxeluck_remove_coupon_form(){ | |
add_filter( 'woocommerce_coupons_enabled', __return_false ); | |
} | |
add_action('woocommerce_before_checkout_form', 'luxeluck_remove_coupon_form', 1); |
This file contains 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
<?pgp echo hello; ?> |