'Feed Layout', 'instagram-feed'),
'colorScheme' => __('Color Scheme', 'instagram-feed'),
'header' => __('Header', 'instagram-feed'),
'posts' => __('Posts', 'instagram-feed'),
'likeBox' => __('Like Box', 'instagram-feed'),
'loadMore' => __('Load More Button', 'instagram-feed'),
),
'feedLayoutScreen' => array(
'layout' => __('Layout', 'instagram-feed'),
'list' => __('List', 'instagram-feed'),
'grid' => __('Grid', 'instagram-feed'),
'masonry' => __('Masonry', 'instagram-feed'),
'carousel' => __('Carousel', 'instagram-feed'),
'feedHeight' => __('Feed Height', 'instagram-feed'),
'number' => __('Number of Posts', 'instagram-feed'),
'columns' => __('Columns', 'instagram-feed'),
'desktop' => __('Desktop', 'instagram-feed'),
'tablet' => __('Tablet', 'instagram-feed'),
'mobile' => __('Mobile', 'instagram-feed'),
'bottomArea' => array(
'heading' => __('Tweak Post Styles', 'instagram-feed'),
'description' => __('Change post background, border radius, shadow etc.', 'instagram-feed'),
)
),
'colorSchemeScreen' => array(
'scheme' => __('Scheme', 'instagram-feed'),
'light' => __('Light', 'instagram-feed'),
'dark' => __('Dark', 'instagram-feed'),
'custom' => __('Custom', 'instagram-feed'),
'customPalette' => __('Custom Palette', 'instagram-feed'),
'background2' => __('Background 2', 'instagram-feed'),
'text2' => __('Text 2', 'instagram-feed'),
'link' => __('Link', 'instagram-feed'),
'bottomArea' => array(
'heading' => __('Overrides', 'instagram-feed'),
'description' => __('Colors that have been overridden from individual post element settings will not change. To change them, you will have to reset overrides.', 'instagram-feed'),
'ctaButton' => __('Reset Overrides.', 'instagram-feed'),
)
),
'shoppableFeedScreen' => array(
'heading1' => __('Upgrade to Pro and make your Instagram Feed Shoppable', 'instagram-feed'),
'description1' => __('This feature links the post to the one specified in your caption.
Don’t want to add links to the caption? You can add links manually to each post.
', 'instagram-feed'),
'heading2' => __('Tap “Add” or “Update” on an
image to add/update it’s URL', 'instagram-feed'),
)
);
$text['onboarding'] = $this->get_customizer_onboarding_text();
return $text;
}
public function get_customizer_onboarding_text()
{
if (self::onboarding_status('customizer') === 'dismissed') {
return array('active' => false);
}
return array(
'active' => true,
'type' => 'customizer',
'tooltips' => array(
array(
'step' => 1,
'heading' => __('Embedding a Feed', 'instagram-feed'),
'p' => __('After you are done customizing the feed, click here to add it to a page or a widget.', 'instagram-feed'),
'pointer' => 'top'
),
array(
'step' => 2,
'heading' => __('Customize', 'instagram-feed'),
'p' => __('Change your feed layout, color scheme, or customize individual feed sections here.', 'instagram-feed'),
'pointer' => 'top'
),
array(
'step' => 3,
'heading' => __('Settings', 'instagram-feed'),
'p' => __('Update your feed source, filter your posts, or change advanced settings here.', 'instagram-feed'),
'pointer' => 'top'
)
)
);
}
/**
* Feed Builder Wrapper.
*
* @since 6.0
*/
public function feed_builder()
{
include_once SBI_BUILDER_DIR . 'templates/builder.php';
}
}
'Feed Layout', 'instagram-feed'),
'colorScheme' => __('Color Scheme', 'instagram-feed'),
'header' => __('Header', 'instagram-feed'),
'posts' => __('Posts', 'instagram-feed'),
'likeBox' => __('Like Box', 'instagram-feed'),
'loadMore' => __('Load More Button', 'instagram-feed'),
),
'feedLayoutScreen' => array(
'layout' => __('Layout', 'instagram-feed'),
'list' => __('List', 'instagram-feed'),
'grid' => __('Grid', 'instagram-feed'),
'masonry' => __('Masonry', 'instagram-feed'),
'carousel' => __('Carousel', 'instagram-feed'),
'feedHeight' => __('Feed Height', 'instagram-feed'),
'number' => __('Number of Posts', 'instagram-feed'),
'columns' => __('Columns', 'instagram-feed'),
'desktop' => __('Desktop', 'instagram-feed'),
'tablet' => __('Tablet', 'instagram-feed'),
'mobile' => __('Mobile', 'instagram-feed'),
'bottomArea' => array(
'heading' => __('Tweak Post Styles', 'instagram-feed'),
'description' => __('Change post background, border radius, shadow etc.', 'instagram-feed'),
)
),
'colorSchemeScreen' => array(
'scheme' => __('Scheme', 'instagram-feed'),
'light' => __('Light', 'instagram-feed'),
'dark' => __('Dark', 'instagram-feed'),
'custom' => __('Custom', 'instagram-feed'),
'customPalette' => __('Custom Palette', 'instagram-feed'),
'background2' => __('Background 2', 'instagram-feed'),
'text2' => __('Text 2', 'instagram-feed'),
'link' => __('Link', 'instagram-feed'),
'bottomArea' => array(
'heading' => __('Overrides', 'instagram-feed'),
'description' => __('Colors that have been overridden from individual post element settings will not change. To change them, you will have to reset overrides.', 'instagram-feed'),
'ctaButton' => __('Reset Overrides.', 'instagram-feed'),
)
),
'shoppableFeedScreen' => array(
'heading1' => __('Upgrade to Pro and make your Instagram Feed Shoppable', 'instagram-feed'),
'description1' => __('This feature links the post to the one specified in your caption.
Don’t want to add links to the caption? You can add links manually to each post.
', 'instagram-feed'),
'heading2' => __('Tap “Add” or “Update” on an
image to add/update it’s URL', 'instagram-feed'),
)
);
$text['onboarding'] = $this->get_customizer_onboarding_text();
return $text;
}
public function get_customizer_onboarding_text()
{
if (self::onboarding_status('customizer') === 'dismissed') {
return array('active' => false);
}
return array(
'active' => true,
'type' => 'customizer',
'tooltips' => array(
array(
'step' => 1,
'heading' => __('Embedding a Feed', 'instagram-feed'),
'p' => __('After you are done customizing the feed, click here to add it to a page or a widget.', 'instagram-feed'),
'pointer' => 'top'
),
array(
'step' => 2,
'heading' => __('Customize', 'instagram-feed'),
'p' => __('Change your feed layout, color scheme, or customize individual feed sections here.', 'instagram-feed'),
'pointer' => 'top'
),
array(
'step' => 3,
'heading' => __('Settings', 'instagram-feed'),
'p' => __('Update your feed source, filter your posts, or change advanced settings here.', 'instagram-feed'),
'pointer' => 'top'
)
)
);
}
/**
* Feed Builder Wrapper.
*
* @since 6.0
*/
public function feed_builder()
{
include_once SBI_BUILDER_DIR . 'templates/builder.php';
}
}