%PDF-
%PDF-
Mini Shell
Mini Shell
<?php
/**
* @class PPHighlightBoxModule
*/
class PPHighlightBoxModule extends FLBuilderModule {
/**
* Constructor function for the module. You must pass the
* name, description, dir and url in an array to the parent class.
*
* @method __construct
*/
public function __construct()
{
parent::__construct(array(
'name' => __('Highlight Box', 'bb-powerpack'),
'description' => __('A module for Highlight Box.', 'bb-powerpack'),
'group' => pp_get_modules_group(),
'category' => pp_get_modules_cat( 'creative' ),
'dir' => BB_POWERPACK_DIR . 'modules/pp-highlight-box/',
'url' => BB_POWERPACK_URL . 'modules/pp-highlight-box/',
'editor_export' => true, // Defaults to true and can be omitted.
'enabled' => true, // Defaults to true and can be omitted.
));
}
public function enqueue_icon_styles() {
$enqueue = false;
if ( isset( $this->settings ) && 'font_icon' === $this->settings->box_icon_select && ! empty( $this->settings->box_font_icon ) ) {
$enqueue = true;
}
if ( $enqueue && is_callable( 'parent::enqueue_icon_styles' ) ) {
parent::enqueue_icon_styles();
}
}
public function filter_settings( $settings, $helper ) {
// Handle old Box Link fields.
$settings = PP_Module_Fields::handle_link_field( $settings, array(
'box_link' => array(
'type' => 'link'
),
'link_target' => array(
'type' => 'target'
)
), 'box_link' );
if ( isset( $settings->box_top_padding ) ) {
$settings->box_padding_top = $settings->box_top_padding;
unset($settings->box_top_padding);
}
if ( isset( $settings->box_bottom_padding ) ) {
$settings->box_padding_bottom = $settings->box_bottom_padding;
unset($settings->box_bottom_padding);
}
if ( isset( $settings->box_left_padding ) ) {
$settings->box_padding_left = $settings->box_left_padding;
unset($settings->box_left_padding);
}
if ( isset( $settings->box_right_padding ) ) {
$settings->box_padding_right = $settings->box_right_padding;
unset($settings->box_right_padding);
}
return $settings;
}
/**
* Returns Box link rel based on settings
* @since 2.6.9
*/
public function get_rel() {
$rel = array();
if ( '_blank' == $this->settings->box_link_target ) {
$rel[] = 'noopener';
}
if ( isset( $this->settings->box_link_nofollow ) && 'yes' == $this->settings->box_link_nofollow ) {
$rel[] = 'nofollow';
}
$rel = implode( ' ', $rel );
if ( $rel ) {
$rel = ' rel="' . $rel . '" ';
}
return $rel;
}
}
/**
* Register the module and its form settings.
*/
BB_PowerPack::register_module('PPHighlightBoxModule', array(
'highlight_box' => array( // Tab
'title' => __('Box', 'bb-powerpack'), // Tab title
'sections' => array( // Tab Sections
'box_layout' => array( // Section
'title' => __('Text', 'bb-powerpack'), // Section Title
'fields' => array( // Section Fields
'box_content' => array(
'type' => 'editor',
'label' => '',
'rows' => 5,
'connections' => array( 'string', 'html', 'url' ),
'preview' => array(
'type' => 'text',
'selector' => '.pp-highlight-box-content'
)
),
)
),
'box_link_field' => array(
'title' => __('Link', 'bb-powerpack'),
'collapsed' => true,
'fields' => array(
'box_link' => array(
'type' => 'link',
'label' => __('Link', 'bb-powerpack'),
'connections' => array( 'url' ),
'show_target' => true,
'show_nofollow' => true,
),
)
),
'icon_layout' => array( // Section
'title' => __('Icon', 'bb-powerpack'),
'collapsed' => true,
'fields' => array( // Section Fields
'box_icon_select' => array(
'type' => 'select',
'label' => __('Icon to Display', 'bb-powerpack'),
'options' => array(
'font_icon' => __('Font Icon Manager', 'bb-powerpack'),
'custom_icon' => __('Custom Image Icon', 'bb-powerpack')
),
'toggle' => array(
'font_icon' => array(
'fields' => array('box_font_icon', 'box_font_icon_size', 'box_font_icon_color' ),
'sections' => array('icon_style')
),
'custom_icon' => array(
'fields' => array('box_custom_icon', 'box_custom_icon_width'),
'sections' => array('icon_style')
),
)
),
'box_font_icon' => array(
'type' => 'icon',
'label' => __('Font Icon', 'bb-powerpack')
),
'box_custom_icon' => array(
'type' => 'photo',
'label' => __('Custom Icon', 'bb-powerpack'),
'default' => '',
'show_reset' => true,
'connections' => array( 'photo' ),
'preview' => array(
'type' => 'css',
'selector' => '.pp-highlight-box-content img',
'property' => ''
)
),
)
),
)
),
'style' => array( // Tab
'title' => __('Style', 'bb-powerpack'), // Tab title
'sections' => array( // Tab Sections
'general_colors' => array( // Section
'title' => __('Box Style', 'bb-powerpack'), // Section Title
'fields' => array( // Section Fields
'box_bg_color' => array(
'type' => 'color',
'label' => __('Background Color', 'bb-powerpack'),
'default' => 'ff0000',
'show_reset' => true,
'show_alpha' => true,
'connections' => array('color'),
'preview' => array(
'type' => 'css',
'selector' => '.pp-highlight-box-content',
'property' => 'background-color'
)
),
'box_text_color' => array(
'type' => 'color',
'label' => __('Text Color', 'bb-powerpack'),
'default' => 'ffffff',
'show_reset' => true,
'connections' => array('color'),
'preview' => array(
'type' => 'css',
'selector' => '.pp-highlight-box-content',
'property' => 'color'
)
),
'box_bg_hover_color' => array(
'type' => 'color',
'label' => __('Hover Background Color', 'bb-powerpack'),
'default' => 'c72929',
'show_reset' => true,
'show_alpha' => true,
'connections' => array('color'),
'preview' => array(
'type' => 'css',
'selector' => '.pp-highlight-box-content:hover',
'property' => 'background-color'
)
),
'box_text_hover_color' => array(
'type' => 'color',
'label' => __('Hover Text Color', 'bb-powerpack'),
'default' => 'ffffff',
'show_reset' => true,
'connections' => array('color'),
'preview' => array(
'type' => 'css',
'selector' => '.pp-highlight-box-content:hover',
'property' => 'color'
)
),
'box_padding' => array(
'type' => 'dimension',
'label' => __('Padding', 'bb-powerpack'),
'slider' => true,
'units' => array( 'px' ),
'preview' => array(
'type' => 'css',
'selector' => '.pp-highlight-box-content',
'property' => 'padding',
'unit' => 'px'
),
'responsive' => true,
),
'box_border_radius' => array(
'type' => 'unit',
'label' => __('Border Radius', 'bb-powerpack'),
'units' => array('px'),
'slider' => true,
'default' => 0,
'preview' => array(
'type' => 'css',
'selector' => '.pp-highlight-box-content',
'property' => 'border-radius',
'unit' => 'px'
)
),
'box_font' => array(
'type' => 'font',
'default' => array(
'family' => 'Default',
'weight' => 300
),
'label' => __('Font', 'bb-powerpack'),
'preview' => array(
'type' => 'font',
'selector' => '.pp-highlight-box-content'
)
),
'box_font_size' => array(
'type' => 'unit',
'label' => __('Font Size', 'bb-powerpack'),
'units' => array('px'),
'slider' => true,
'default' => '20',
'preview' => array(
'type' => 'css',
'selector' => '.pp-highlight-box-content',
'property' => 'font-size',
'unit' => 'px'
)
),
)
),
'icon_style' => array( // Section
'title' => __('Icon Style', 'bb-powerpack'), // Section Title
'fields' => array( // Section Fields
'box_font_icon_size' => array(
'type' => 'unit',
'label' => __('Font Size', 'bb-powerpack'),
'units' => array('px'),
'slider' => true,
'default' => '50',
'preview' => array(
'type' => 'css',
'selector' => '.pp-highlight-box-content .font_icon',
'property' => 'font-size',
'unit' => 'px'
)
),
'box_font_icon_color' => array(
'type' => 'color',
'label' => __('Color', 'bb-powerpack'),
'default' => '333333',
'show_reset' => true,
'connections' => array('color'),
'preview' => array(
'type' => 'css',
'selector' => '.pp-highlight-box-content .font_icon',
'property' => 'color'
)
),
'box_custom_icon_width' => array(
'type' => 'unit',
'label' => __('Width', 'bb-powerpack'),
'units' => array('px'),
'slider' => true,
'default' => '50',
'preview' => array(
'type' => 'css',
'selector' => '.pp-highlight-box-content .custom_icon .custom_icon_inner',
'property' => 'width',
'unit' => 'px'
)
),
'box_icon_effect' => array(
'type' => 'select',
'label' => __('Effect', 'bb-powerpack'),
'options' => array(
'box-hover' => __('Hover', 'bb-powerpack'),
'slide-left' => __('Slide Left', 'bb-powerpack'),
'slide-right' => __('Slide Right', 'bb-powerpack'),
'slide-top' => __('Slide Top', 'bb-powerpack'),
'slide-bottom' => __('Slide Bottom', 'bb-powerpack')
)
),
'box_icon_transition_duration' => array(
'type' => 'unit',
'label' => __('Transition Duration', 'bb-powerpack'),
'units' => array('ms'),
'slider' => true,
'default' => '1000',
'preview' => array(
'type' => 'css',
'selector' => '.pp-highlight-box-content',
'property' => 'width',
'unit' => 'ms'
)
),
)
)
)
),
));
Zerion Mini Shell 1.0
Custom Staffing Solutions | Beyond A Resume
Skip to content
Distinguish Your Business From The Rest With The People That Make Up Your Team
We go Beyond a Resume to find high value, committed people
ready, willing, and able to add true value toward your organization's mission.
The right people make or break your business
We focus on resolving two types of challenges surrounding staffing and recruiting at Beyond a Resume: The first challenge comes when a business continues to grow, but does not have the full-time, internal, talent acquisition resources to hire the right people or talent necessary to keep up with their rate of progression as a company.
The second is a business that has a dedicated internal Human Resources Team, but requires outsourced assistance when the volume of people and talent needed exceeds short term internal capacity, OR the position(s) they seek to fill demand a specific skill set that is difficult to find, requiring added bandwidth.
In nearly any line of business, growth is a challenge in and of itself. Yet, the real problems arise in managing growth to ensure your progress remains profitable, sustainable, and repeatable. The biggest factor in this equation is usually found in your people. When you have the right people, success is unlimited. On the other hand, when you don’t have the right people in place or are having trouble finding enough of the right people, failure or stagnation is imminent.
The frustration that comes with the process of “hiring” can bring you to new levels of stress as the time cost involved eats away at your production elsewhere. If you have experienced this in the past, or are currently struggling with this issue, you’re certainly not alone. You may simply need the right partner to take the worst parts of this process off your plate so you can concentrate on your responsibilities, while we work diligently to reduce the noise and deliver only the ideal candidates worth your time and attention.
People can make or break your business and we go Beyond a Resume to find high value, committed people ready, willing, and able to add true value.
Primary Industry Experience
Healthcare and Home Healthcare
Talent Acquisition Solutions
Statement of Work Projects
Scroll To Top