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
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ | |
// © bluenotes | |
// Updated May 17 2023 | |
// Fork of TradingView's "Pivot Points Standard" indicator | |
//@version=5 | |
indicator("Pivot Points [blue]", "Pivot Points [blue]", overlay=true, max_lines_count=500, max_labels_count=500) | |
AUTO = "Auto" |
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 //Don't copy this line... | |
/* | |
* Taxonomy CMB2 Fields | |
* | |
* Add custom fields to the Post Taxonomy | |
* | |
*/ | |
add_action( 'cmb2_admin_init', function() { |
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 // Don't copy this line... | |
/* | |
* Theme Color Palette | |
* | |
* Allows adjusting the default palette for WP blocks. | |
* Colors are also made available with CSS variables automatically. | |
* | |
* Location /includes/setup.php:188 | |
* |
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 //Don't copy this line... | |
/* | |
* WP Customizer Controls | |
* Remove existing Theme Option control as header | |
* layout is now manually defined. | |
* | |
*/ |
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 | |
/* | |
* Main Child Theme Functions | |
* | |
* @author Kerry Kline | |
* @copyright Copyright (c) 2020, Kerry Kline | |
* @link http://www.bnecreative.com | |
* @package Child Theme for BNE Sweetness v2 WordPress Framework | |
* | |
*/ |
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 // Don't copy this line... | |
// Sets up a cookie to autoload a BNE Panel */ | |
add_action( 'wp', function() { | |
$page_id = 890; | |
$panel_id = 940; | |
$expires = 86400; // 86400 = 1 day | |
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 // Don't copy this line... | |
/* | |
* BNE Testimonials Settings API | |
* | |
* Add new settings to the settings page. | |
* | |
*/ | |
function custom_testimoinals_add_settings() { |
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 // don't copy this line... | |
/* | |
* Custom page shortcode | |
* | |
* $atts['path'] The file that should be output relative | |
* to the current theme. | |
* |
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 // don't copy this line... | |
/* | |
* Display comments in pages | |
* | |
* @hook page.php | |
* | |
*/ | |
add_action( 'bne_page_footer', function() { | |
if( comments_open() || '0' != get_comments_number() ) { |
NewerOlder