Remove Subscriber from Segment

var peRemoveSegmentNames = []; // Array of segment ids e.g, [“segment1”, “segment2”] window.PushEngage = window.PushEngage || []; PushEngage.push(function () { PushEngage.removeSegment(peRemoveSegmentNames) .then(function (response) { console.log(response); }) .catch(function (error) { console.log(error.message, error.details); }); });Continue reading

Add Subscriber to Segment with Duration

var peSegmentNameWithDuration = []; // e.g, [{“name”:”segmentName”,”duration”: 5}] window.PushEngage = window.PushEngage || []; PushEngage.push(function() { PushEngage.addSegmentWithDuration(peSegmentNameWithDuration).then(function(data) { console.log(data) }).catch(function error(error) { console.log(error.message) }); });Continue reading

Add Subscriber to Segment

var peSegmentNames = []; // Array of segment ids e.g, [“segment1”, “segment2”] window.PushEngage = window.PushEngage || []; PushEngage.push(function() { PushEngage.addSegment(peSegmentNames).then(function(data) { console.log(data) }).catch(function error(error) { console.log(error.message) }); })Continue reading

Log Out

function change_menu($items){ foreach($items as $item){ if( $item->title == “Log Out”){ $item->url = wp_logout_url(‘/’); } } return $items; } add_filter(‘wp_nav_menu_objects’, ‘change_menu’);Continue reading

Admin Panel Settings

/** * Plugin Name: Admin Panel Settings * Description: This plugin contains your admin panel settings. * Author: NoBull. * Version: 1.0 */ // Remove Powered By WP Bakery Builder Snippet add_action(‘wp_head’, ‘removebakery’, 1); function removebakery() { if ( class_exists(…Continue reading

Additional Default Styling

.align-center { text-align: center; } .align-left { text-align: left; } .align-right { text-align: right; } .mobile-only { display: none; } .comment_container { padding: 1.5rem; background: #fff; box-shadow: 0 0 30px 30px rgba(0,0,0,0.05); } .no-padding-col .vc_column-inner { padding-left: 0 !important; padding-right:…Continue reading

Testimonial Styling

.w-testimonial-rating:before { content: “”; } .w-testimonial-rating i:before { content: “\e83a”; font-family: ‘Material Icons’; }Continue reading

Circle Counter Styling

.circle-counter .w-counter-value { width: 150px; height: 150px; line-height: 140px; border: 2px solid var(–color-content-text); border-radius: 50%; margin: 0 auto; }Continue reading

Grid Styling

.grid-box-outer:hover #grid-boxes { background: rgba(0,0,0,0.50) !important; transition: all 0.3s ease-in-out; } #grid-boxes h3 { text-shadow: 2px 2px 2px #000; font-size: 1.2rem !important; font-weight: 700; }Continue reading