if ( ! defined( 'ABSPATH' ) ) {
exit;
}
if( ! class_exists( 'Educrat_Elementor_Extensions' ) ) {
final class Educrat_Elementor_Extensions {
private static $_instance = null;
public function __construct() {
add_action( 'elementor/elements/categories_registered', array( $this, 'add_widget_categories' ) );
add_action( 'init', array( $this, 'elementor_widgets' ), 100 );
add_filter( 'educrat_generate_post_builder', array( $this, 'render_post_builder' ), 10, 2 );
add_action( 'elementor/controls/controls_registered', array( $this, 'modify_controls' ), 10, 1 );
add_action('elementor/editor/before_enqueue_styles', array( $this, 'style' ) );
add_filter( 'elementor/controls/animations/additional_animations', array( $this, 'additional_animations' ), 10 );
}
public static function instance () {
if ( is_null( self::$_instance ) ) {
self::$_instance = new self();
}
return self::$_instance;
}
public function add_widget_categories( $elements_manager ) {
$elements_manager->add_category(
'educrat-elements',
[
'title' => esc_html__( 'Educrat Elements', 'educrat' ),
'icon' => 'fa fa-shopping-bag',
]
);
$elements_manager->add_category(
'educrat-header-elements',
[
'title' => esc_html__( 'Educrat Header Elements', 'educrat' ),
'icon' => 'fa fa-shopping-bag',
]
);
}
public function elementor_widgets() {
// general elements
get_template_part( 'inc/vendors/elementor/widgets/posts' );
get_template_part( 'inc/vendors/elementor/widgets/call_to_action' );
get_template_part( 'inc/vendors/elementor/widgets/features_box' );
get_template_part( 'inc/vendors/elementor/widgets/address_box' );
get_template_part( 'inc/vendors/elementor/widgets/social_links' );
get_template_part( 'inc/vendors/elementor/widgets/testimonials' );
get_template_part( 'inc/vendors/elementor/widgets/brands' );
get_template_part( 'inc/vendors/elementor/widgets/popup_video' );
get_template_part( 'inc/vendors/elementor/widgets/banner' );
get_template_part( 'inc/vendors/elementor/widgets/banners' );
get_template_part( 'inc/vendors/elementor/widgets/banner_account' );
get_template_part( 'inc/vendors/elementor/widgets/countdown' );
get_template_part( 'inc/vendors/elementor/widgets/nav_menu' );
get_template_part( 'inc/vendors/elementor/widgets/team' );
get_template_part( 'inc/vendors/elementor/widgets/achievements' );
get_template_part( 'inc/vendors/elementor/widgets/list_icon' );
// header elements
get_template_part( 'inc/vendors/elementor/header-widgets/logo' );
get_template_part( 'inc/vendors/elementor/header-widgets/primary_menu' );
get_template_part( 'inc/vendors/elementor/header-widgets/vertical_menu' );
get_template_part( 'inc/vendors/elementor/header-widgets/nav_bar' );
if ( educrat_is_mailchimp_activated() ) {
get_template_part( 'inc/vendors/elementor/widgets/mailchimp' );
}
if ( educrat_is_revslider_activated() ) {
get_template_part( 'inc/vendors/elementor/widgets/revslider' );
}
if ( educrat_is_woocommerce_activated() ) {
get_template_part( 'inc/vendors/elementor/woo_widgets/woo_products' );
get_template_part( 'inc/vendors/elementor/woo_widgets/woo_header_cart' );
}
if ( educrat_is_learnpress_activated() ) {
get_template_part( 'inc/vendors/elementor/learnpress_widgets/category_banner' );
get_template_part( 'inc/vendors/elementor/learnpress_widgets/categories_banner' );
get_template_part( 'inc/vendors/elementor/learnpress_widgets/courses' );
get_template_part( 'inc/vendors/elementor/learnpress_widgets/courses_tabs' );
get_template_part( 'inc/vendors/elementor/learnpress_widgets/instructors' );
get_template_part( 'inc/vendors/elementor/learnpress_widgets/my-wishlist' );
get_template_part( 'inc/vendors/elementor/learnpress_widgets/search_form' );
get_template_part( 'inc/vendors/elementor/learnpress_widgets/user_info' );
}
if ( educrat_is_tutor_activated() ) {
get_template_part( 'inc/vendors/elementor/tutor_widgets/category_banner' );
get_template_part( 'inc/vendors/elementor/tutor_widgets/categories_banner' );
get_template_part( 'inc/vendors/elementor/tutor_widgets/courses' );
get_template_part( 'inc/vendors/elementor/tutor_widgets/courses_tabs' );
get_template_part( 'inc/vendors/elementor/tutor_widgets/instructors' );
get_template_part( 'inc/vendors/elementor/tutor_widgets/search_form' );
get_template_part( 'inc/vendors/elementor/tutor_widgets/user_info' );
}
if ( educrat_is_simple_event_activated() ) {
get_template_part( 'inc/vendors/elementor/event_widgets/events' );
}
}
public function style() {
wp_enqueue_style('educrat-flaticon', get_template_directory_uri() . '/css/flaticon.css');
wp_enqueue_style('themify-icons', get_template_directory_uri() . '/css/themify-icons.css');
}
public function modify_controls( $controls_registry ) {
// Get existing icons
$icons = $controls_registry->get_control( 'icon' )->get_settings( 'options' );
$new_icons = array_merge(array(
'ti-volume' => 'ti-volume', 'ti-user' => 'ti-user', 'ti-unlock' => 'ti-unlock', 'ti-unlink' => 'ti-unlink', 'ti-trash' => 'ti-trash', 'ti-thought' => 'ti-thought', 'ti-target' => 'ti-target', 'ti-tag' => 'ti-tag', 'ti-tablet' => 'ti-tablet', 'ti-star' => 'ti-star', 'ti-spray' => 'ti-spray', 'ti-signal' => 'ti-signal', 'ti-shopping-cart' => 'ti-shopping-cart', 'ti-shopping-cart-full' => 'ti-shopping-cart-full', 'ti-settings' => 'ti-settings', 'ti-search' => 'ti-search', 'ti-zoom-in' => 'ti-zoom-in', 'ti-zoom-out' => 'ti-zoom-out', 'ti-cut' => 'ti-cut', 'ti-ruler' => 'ti-ruler', 'ti-ruler-pencil' => 'ti-ruler-pencil', 'ti-ruler-alt' => 'ti-ruler-alt', 'ti-bookmark' => 'ti-bookmark', 'ti-bookmark-alt' => 'ti-bookmark-alt', 'ti-reload' => 'ti-reload', 'ti-plus' => 'ti-plus', 'ti-pin' => 'ti-pin', 'ti-pencil' => 'ti-pencil', 'ti-pencil-alt' => 'ti-pencil-alt', 'ti-paint-roller' => 'ti-paint-roller', 'ti-paint-bucket' => 'ti-paint-bucket', 'ti-na' => 'ti-na', 'ti-mobile' => 'ti-mobile', 'ti-minus' => 'ti-minus', 'ti-medall' => 'ti-medall', 'ti-medall-alt' => 'ti-medall-alt', 'ti-marker' => 'ti-marker', 'ti-marker-alt' => 'ti-marker-alt', 'ti-arrow-up' => 'ti-arrow-up', 'ti-arrow-right' => 'ti-arrow-right', 'ti-arrow-left' => 'ti-arrow-left', 'ti-arrow-down' => 'ti-arrow-down', 'ti-lock' => 'ti-lock', 'ti-location-arrow' => 'ti-location-arrow', 'ti-link' => 'ti-link', 'ti-layout' => 'ti-layout', 'ti-layers' => 'ti-layers', 'ti-layers-alt' => 'ti-layers-alt', 'ti-key' => 'ti-key', 'ti-import' => 'ti-import', 'ti-image' => 'ti-image', 'ti-heart' => 'ti-heart', 'ti-heart-broken' => 'ti-heart-broken', 'ti-hand-stop' => 'ti-hand-stop', 'ti-hand-open' => 'ti-hand-open', 'ti-hand-drag' => 'ti-hand-drag', 'ti-folder' => 'ti-folder', 'ti-flag' => 'ti-flag', 'ti-flag-alt' => 'ti-flag-alt', 'ti-flag-alt-2' => 'ti-flag-alt-2', 'ti-eye' => 'ti-eye', 'ti-export' => 'ti-export', 'ti-exchange-vertical' => 'ti-exchange-vertical', 'ti-desktop' => 'ti-desktop', 'ti-cup' => 'ti-cup', 'ti-crown' => 'ti-crown', 'ti-comments' => 'ti-comments', 'ti-comment' => 'ti-comment', 'ti-comment-alt' => 'ti-comment-alt', 'ti-close' => 'ti-close', 'ti-clip' => 'ti-clip', 'ti-angle-up' => 'ti-angle-up', 'ti-angle-right' => 'ti-angle-right', 'ti-angle-left' => 'ti-angle-left', 'ti-angle-down' => 'ti-angle-down', 'ti-check' => 'ti-check', 'ti-check-box' => 'ti-check-box', 'ti-camera' => 'ti-camera', 'ti-announcement' => 'ti-announcement', 'ti-brush' => 'ti-brush', 'ti-briefcase' => 'ti-briefcase', 'ti-bolt' => 'ti-bolt', 'ti-bolt-alt' => 'ti-bolt-alt', 'ti-blackboard' => 'ti-blackboard', 'ti-bag' => 'ti-bag', 'ti-move' => 'ti-move', 'ti-arrows-vertical' => 'ti-arrows-vertical', 'ti-arrows-horizontal' => 'ti-arrows-horizontal', 'ti-fullscreen' => 'ti-fullscreen', 'ti-arrow-top-right' => 'ti-arrow-top-right', 'ti-arrow-top-left' => 'ti-arrow-top-left', 'ti-arrow-circle-up' => 'ti-arrow-circle-up', 'ti-arrow-circle-right' => 'ti-arrow-circle-right', 'ti-arrow-circle-left' => 'ti-arrow-circle-left', 'ti-arrow-circle-down' => 'ti-arrow-circle-down', 'ti-angle-double-up' => 'ti-angle-double-up', 'ti-angle-double-right' => 'ti-angle-double-right', 'ti-angle-double-left' => 'ti-angle-double-left', 'ti-angle-double-down' => 'ti-angle-double-down', 'ti-zip' => 'ti-zip', 'ti-world' => 'ti-world', 'ti-wheelchair' => 'ti-wheelchair', 'ti-view-list' => 'ti-view-list', 'ti-view-list-alt' => 'ti-view-list-alt', 'ti-view-grid' => 'ti-view-grid', 'ti-uppercase' => 'ti-uppercase', 'ti-upload' => 'ti-upload', 'ti-underline' => 'ti-underline', 'ti-truck' => 'ti-truck', 'ti-timer' => 'ti-timer', 'ti-ticket' => 'ti-ticket', 'ti-thumb-up' => 'ti-thumb-up', 'ti-thumb-down' => 'ti-thumb-down', 'ti-text' => 'ti-text', 'ti-stats-up' => 'ti-stats-up', 'ti-stats-down' => 'ti-stats-down', 'ti-split-v' => 'ti-split-v', 'ti-split-h' => 'ti-split-h', 'ti-smallcap' => 'ti-smallcap', 'ti-shine' => 'ti-shine', 'ti-shift-right' => 'ti-shift-right', 'ti-shift-left' => 'ti-shift-left', 'ti-shield' => 'ti-shield', 'ti-notepad' => 'ti-notepad', 'ti-server' => 'ti-server', 'ti-quote-right' => 'ti-quote-right', 'ti-quote-left' => 'ti-quote-left', 'ti-pulse' => 'ti-pulse', 'ti-printer' => 'ti-printer', 'ti-power-off' => 'ti-power-off', 'ti-plug' => 'ti-plug', 'ti-pie-chart' => 'ti-pie-chart', 'ti-paragraph' => 'ti-paragraph', 'ti-panel' => 'ti-panel', 'ti-package' => 'ti-package', 'ti-music' => 'ti-music', 'ti-music-alt' => 'ti-music-alt', 'ti-mouse' => 'ti-mouse', 'ti-mouse-alt' => 'ti-mouse-alt', 'ti-money' => 'ti-money', 'ti-microphone' => 'ti-microphone', 'ti-menu' => 'ti-menu', 'ti-menu-alt' => 'ti-menu-alt', 'ti-map' => 'ti-map', 'ti-map-alt' => 'ti-map-alt', 'ti-loop' => 'ti-loop', 'ti-location-pin' => 'ti-location-pin', 'ti-list' => 'ti-list', 'ti-light-bulb' => 'ti-light-bulb', 'ti-talic' => 'ti-talic', 'ti-info' => 'ti-info', 'ti-infinite' => 'ti-infinite', 'ti-id-badge' => 'ti-id-badge', 'ti-hummer' => 'ti-hummer', 'ti-home' => 'ti-home', 'ti-help' => 'ti-help', 'ti-headphone' => 'ti-headphone', 'ti-harddrives' => 'ti-harddrives', 'ti-harddrive' => 'ti-harddrive', 'ti-gift' => 'ti-gift', 'ti-game' => 'ti-game', 'ti-filter' => 'ti-filter', 'ti-files' => 'ti-files', 'ti-file' => 'ti-file', 'ti-eraser' => 'ti-eraser', 'ti-envelope' => 'ti-envelope', 'ti-download' => 'ti-download', 'ti-direction' => 'ti-direction', 'ti-direction-alt' => 'ti-direction-alt', 'ti-dashboard' => 'ti-dashboard', 'ti-control-stop' => 'ti-control-stop', 'ti-control-shuffle' => 'ti-control-shuffle', 'ti-control-play' => 'ti-control-play', 'ti-control-pause' => 'ti-control-pause', 'ti-control-forward' => 'ti-control-forward', 'ti-control-backward' => 'ti-control-backward', 'ti-cloud' => 'ti-cloud', 'ti-cloud-up' => 'ti-cloud-up', 'ti-cloud-down' => 'ti-cloud-down', 'ti-clipboard' => 'ti-clipboard', 'ti-car' => 'ti-car', 'ti-calendar' => 'ti-calendar', 'ti-book' => 'ti-book', 'ti-bell' => 'ti-bell', 'ti-basketball' => 'ti-basketball', 'ti-bar-chart' => 'ti-bar-chart', 'ti-bar-chart-alt' => 'ti-bar-chart-alt', 'ti-back-right' => 'ti-back-right', 'ti-back-left' => 'ti-back-left', 'ti-arrows-corner' => 'ti-arrows-corner', 'ti-archive' => 'ti-archive', 'ti-anchor' => 'ti-anchor', 'ti-align-right' => 'ti-align-right', 'ti-align-left' => 'ti-align-left', 'ti-align-justify' => 'ti-align-justify', 'ti-align-center' => 'ti-align-center', 'ti-alert' => 'ti-alert', 'ti-alarm-clock' => 'ti-alarm-clock', 'ti-agenda' => 'ti-agenda', 'ti-write' => 'ti-write', 'ti-window' => 'ti-window', 'ti-widgetized' => 'ti-widgetized', 'ti-widget' => 'ti-widget', 'ti-widget-alt' => 'ti-widget-alt', 'ti-wallet' => 'ti-wallet', 'ti-video-clapper' => 'ti-video-clapper', 'ti-video-camera' => 'ti-video-camera', 'ti-vector' => 'ti-vector', 'ti-themify-logo' => 'ti-themify-logo', 'ti-themify-favicon' => 'ti-themify-favicon', 'ti-themify-favicon-alt' => 'ti-themify-favicon-alt', 'ti-support' => 'ti-support', 'ti-stamp' => 'ti-stamp', 'ti-split-v-alt' => 'ti-split-v-alt', 'ti-slice' => 'ti-slice', 'ti-shortcode' => 'ti-shortcode', 'ti-shift-right-alt' => 'ti-shift-right-alt', 'ti-shift-left-alt' => 'ti-shift-left-alt', 'ti-ruler-alt-2' => 'ti-ruler-alt-2', 'ti-receipt' => 'ti-receipt', 'ti-pin2' => 'ti-pin2', 'ti-pin-alt' => 'ti-pin-alt', 'ti-pencil-alt2' => 'ti-pencil-alt2', 'ti-palette' => 'ti-palette', 'ti-more' => 'ti-more', 'ti-more-alt' => 'ti-more-alt', 'ti-microphone-alt' => 'ti-microphone-alt', 'ti-magnet' => 'ti-magnet', 'ti-line-double' => 'ti-line-double', 'ti-line-dotted' => 'ti-line-dotted', 'ti-line-dashed' => 'ti-line-dashed', 'ti-layout-width-full' => 'ti-layout-width-full', 'ti-layout-width-default' => 'ti-layout-width-default', 'ti-layout-width-default-alt' => 'ti-layout-width-default-alt', 'ti-layout-tab' => 'ti-layout-tab', 'ti-layout-tab-window' => 'ti-layout-tab-window', 'ti-layout-tab-v' => 'ti-layout-tab-v', 'ti-layout-tab-min' => 'ti-layout-tab-min', 'ti-layout-slider' => 'ti-layout-slider', 'ti-layout-slider-alt' => 'ti-layout-slider-alt', 'ti-layout-sidebar-right' => 'ti-layout-sidebar-right', 'ti-layout-sidebar-none' => 'ti-layout-sidebar-none', 'ti-layout-sidebar-left' => 'ti-layout-sidebar-left', 'ti-layout-placeholder' => 'ti-layout-placeholder', 'ti-layout-menu' => 'ti-layout-menu', 'ti-layout-menu-v' => 'ti-layout-menu-v', 'ti-layout-menu-separated' => 'ti-layout-menu-separated', 'ti-layout-menu-full' => 'ti-layout-menu-full', 'ti-layout-media-right-alt' => 'ti-layout-media-right-alt', 'ti-layout-media-right' => 'ti-layout-media-right', 'ti-layout-media-overlay' => 'ti-layout-media-overlay', 'ti-layout-media-overlay-alt' => 'ti-layout-media-overlay-alt', 'ti-layout-media-overlay-alt-2' => 'ti-layout-media-overlay-alt-2', 'ti-layout-media-left-alt' => 'ti-layout-media-left-alt', 'ti-layout-media-left' => 'ti-layout-media-left', 'ti-layout-media-center-alt' => 'ti-layout-media-center-alt', 'ti-layout-media-center' => 'ti-layout-media-center', 'ti-layout-list-thumb' => 'ti-layout-list-thumb', 'ti-layout-list-thumb-alt' => 'ti-layout-list-thumb-alt', 'ti-layout-list-post' => 'ti-layout-list-post', 'ti-layout-list-large-image' => 'ti-layout-list-large-image', 'ti-layout-line-solid' => 'ti-layout-line-solid', 'ti-layout-grid4' => 'ti-layout-grid4', 'ti-layout-grid3' => 'ti-layout-grid3', 'ti-layout-grid2' => 'ti-layout-grid2', 'ti-layout-grid2-thumb' => 'ti-layout-grid2-thumb', 'ti-layout-cta-right' => 'ti-layout-cta-right', 'ti-layout-cta-left' => 'ti-layout-cta-left', 'ti-layout-cta-center' => 'ti-layout-cta-center', 'ti-layout-cta-btn-right' => 'ti-layout-cta-btn-right', 'ti-layout-cta-btn-left' => 'ti-layout-cta-btn-left', 'ti-layout-column4' => 'ti-layout-column4', 'ti-layout-column3' => 'ti-layout-column3', 'ti-layout-column2' => 'ti-layout-column2', 'ti-layout-accordion-separated' => 'ti-layout-accordion-separated', 'ti-layout-accordion-merged' => 'ti-layout-accordion-merged', 'ti-layout-accordion-list' => 'ti-layout-accordion-list', 'ti-ink-pen' => 'ti-ink-pen', 'ti-info-alt' => 'ti-info-alt', 'ti-help-alt' => 'ti-help-alt', 'ti-headphone-alt' => 'ti-headphone-alt', 'ti-hand-point-up' => 'ti-hand-point-up', 'ti-hand-point-right' => 'ti-hand-point-right', 'ti-hand-point-left' => 'ti-hand-point-left', 'ti-hand-point-down' => 'ti-hand-point-down', 'ti-gallery' => 'ti-gallery', 'ti-face-smile' => 'ti-face-smile', 'ti-face-sad' => 'ti-face-sad', 'ti-credit-card' => 'ti-credit-card', 'ti-control-skip-forward' => 'ti-control-skip-forward', 'ti-control-skip-backward' => 'ti-control-skip-backward', 'ti-control-record' => 'ti-control-record', 'ti-control-eject' => 'ti-control-eject', 'ti-comments-smiley' => 'ti-comments-smiley', 'ti-brush-alt' => 'ti-brush-alt', 'ti-youtube' => 'ti-youtube', 'ti-vimeo' => 'ti-vimeo', 'ti-twitter' => 'ti-twitter', 'ti-time' => 'ti-time', 'ti-tumblr' => 'ti-tumblr', 'ti-skype' => 'ti-skype', 'ti-share' => 'ti-share', 'ti-share-alt' => 'ti-share-alt', 'ti-rocket' => 'ti-rocket', 'ti-pinterest' => 'ti-pinterest', 'ti-new-window' => 'ti-new-window', 'ti-microsoft' => 'ti-microsoft', 'ti-list-ol' => 'ti-list-ol', 'ti-linkedin' => 'ti-linkedin', 'ti-layout-sidebar-2' => 'ti-layout-sidebar-2', 'ti-layout-grid4-alt' => 'ti-layout-grid4-alt', 'ti-layout-grid3-alt' => 'ti-layout-grid3-alt', 'ti-layout-grid2-alt' => 'ti-layout-grid2-alt', 'ti-layout-column4-alt' => 'ti-layout-column4-alt', 'ti-layout-column3-alt' => 'ti-layout-column3-alt', 'ti-layout-column2-alt' => 'ti-layout-column2-alt', 'ti-instagram' => 'ti-instagram', 'ti-google' => 'ti-google', 'ti-github' => 'ti-github', 'ti-flickr' => 'ti-flickr', 'ti-facebook' => 'ti-facebook', 'ti-dropbox' => 'ti-dropbox', 'ti-dribbble' => 'ti-dribbble', 'ti-apple' => 'ti-apple', 'ti-android' => 'ti-android', 'ti-save' => 'ti-save', 'ti-save-alt' => 'ti-save-alt', 'ti-yahoo' => 'ti-yahoo', 'ti-wordpress' => 'ti-wordpress', 'ti-vimeo-alt' => 'ti-vimeo-alt', 'ti-twitter-alt' => 'ti-twitter-alt', 'ti-tumblr-alt' => 'ti-tumblr-alt', 'ti-trello' => 'ti-trello', 'ti-stack-overflow' => 'ti-stack-overflow', 'ti-soundcloud' => 'ti-soundcloud', 'ti-sharethis' => 'ti-sharethis', 'ti-sharethis-alt' => 'ti-sharethis-alt', 'ti-reddit' => 'ti-reddit', 'ti-pinterest-alt' => 'ti-pinterest-alt', 'ti-microsoft-alt' => 'ti-microsoft-alt', 'ti-linux' => 'ti-linux', 'ti-jsfiddle' => 'ti-jsfiddle', 'ti-joomla' => 'ti-joomla', 'ti-html5' => 'ti-html5', 'ti-flickr-alt' => 'ti-flickr-alt', 'ti-email' => 'ti-email', 'ti-drupal' => 'ti-drupal', 'ti-dropbox-alt' => 'ti-dropbox-alt', 'ti-css3' => 'ti-css3', 'ti-rss' => 'ti-rss', 'ti-rss-alt' => 'ti-rss-alt',
'flaticon-online-learning-4' => 'flaticon-online-learning-4',
'flaticon-graduation' => 'flaticon-graduation',
'flaticon-working-at-home' => 'flaticon-working-at-home',
'flaticon-leadership' => 'flaticon-leadership',
'flaticon-promotion' => 'flaticon-promotion',
'flaticon-rocket' => 'flaticon-rocket',
'flaticon-online-training' => 'flaticon-online-training',
'flaticon-teacher' => 'flaticon-teacher',
'flaticon-web' => 'flaticon-web',
'flaticon-online-course' => 'flaticon-online-course',
'flaticon-credit-card' => 'flaticon-credit-card',
'flaticon-online-learning-5' => 'flaticon-online-learning-5',
'flaticon-rating-2' => 'flaticon-rating-2',
'flaticon-science-1' => 'flaticon-science-1',
'flaticon-online-learning-8' => 'flaticon-online-learning-8',
'flaticon-certificate-1' => 'flaticon-certificate-1',
'flaticon-online-learning-1' => 'flaticon-online-learning-1',
'flaticon-rating-1' => 'flaticon-rating-1',
'flaticon-access' => 'flaticon-access',
'flaticon-online-learning-2' => 'flaticon-online-learning-2',
'flaticon-user' => 'flaticon-user',
'flaticon-select' => 'flaticon-select',
'flaticon-video-files' => 'flaticon-video-files',
'flaticon-mail' => 'flaticon-mail',
'flaticon-phone-call' => 'flaticon-phone-call',
'flaticon-announcement-1' => 'flaticon-announcement-1',
'flaticon-web-programming' => 'flaticon-web-programming',
'flaticon-design-1' => 'flaticon-design-1',
'flaticon-person-1' => 'flaticon-person-1',
'flaticon-digital-art' => 'flaticon-digital-art',
'flaticon-tech' => 'flaticon-tech',
'flaticon-social-media' => 'flaticon-social-media',
'flaticon-photo-camera' => 'flaticon-photo-camera',
'flaticon-marketing' => 'flaticon-marketing',
'flaticon-web-development' => 'flaticon-web-development',
'flaticon-web-design' => 'flaticon-web-design',
'flaticon-digital-camera' => 'flaticon-digital-camera',
'flaticon-social-network' => 'flaticon-social-network',
'flaticon-projection-screen' => 'flaticon-projection-screen',
'flaticon-files-and-folders' => 'flaticon-files-and-folders',
'flaticon-page-layout' => 'flaticon-page-layout',
'flaticon-search' => 'flaticon-search',
'flaticon-save-money' => 'flaticon-save-money',
), $icons);
// Then we set a new list of icons as the options of the icon control
$controls_registry->get_control( 'icon' )->set_settings( 'options', $new_icons );
}
public function additional_animations($animations = array()) {
$additional_animations = array(
'ApusTheme' => [
'scale' => esc_html__('Scale', 'educrat'),
'fancy' => esc_html__('Fancy', 'educrat'),
'slide-up' => esc_html__('Slide Up', 'educrat'),
'slide-left' => esc_html__('Slide Left', 'educrat'),
'slide-right' => esc_html__('Slide Right', 'educrat'),
'slide-down' => esc_html__('Slide Down', 'educrat'),
],
);
return array_merge( $animations, $additional_animations );
}
public function render_page_content($post_id) {
if ( class_exists( 'Elementor\Core\Files\CSS\Post' ) ) {
$css_file = new Elementor\Core\Files\CSS\Post( $post_id );
$css_file->enqueue();
}
return Elementor\Plugin::instance()->frontend->get_builder_content_for_display( $post_id );
}
public function render_post_builder($html, $post) {
if ( !empty($post) && !empty($post->ID) ) {
return $this->render_page_content($post->ID);
}
return $html;
}
}
}
if ( did_action( 'elementor/loaded' ) ) {
// Finally initialize code
Educrat_Elementor_Extensions::instance();
}
How to Craft a Life-Story Essay That Inspires Resilience – Planning Hacks
How to Craft a Life-Story Essay That Inspires Resilience
October 8, 2026
How to Craft a Life-Story Essay That Inspires Resilience
Writing a life-story essay that highlights resilience is a powerful way to share personal growth, perseverance, and the human capacity to overcome adversity. Such essays not only reveal individual strength but also serve as an inspiration for others facing challenges. To craft a compelling narrative centered on resilience, it’s essential to approach your story with authenticity, structure, and purpose. Here are effective strategies to develop a resilient theme in your life-story essay.
Understanding the Essence of Resilience in Your Narrative
Resilience is more than just bouncing back from setbacks; it encompasses adaptation, perseverance, and growth in the face of difficulties. When developing a resilience-centered essay, begin by reflecting on what resilience truly means to you. Is it overcoming personal loss? Conquering health issues? Navigating financial hardships? Identifying the core struggles and how you responded lays a solid foundation for your story.
Remember, readers connect deeply with authentic stories. If you’re considering asking someone to help you craft your essay, such as paying someone to write my essay, ensure the final piece remains truthful and personal. Genuine emotion and honesty resonate more than anything else.
Strategies for Developing a Resilience Theme
1. Start with a Compelling Opening
Capture your reader’s attention with an engaging introduction that hints at the challenges ahead. A vivid scene, a provocative question, or a powerful quote about resilience can set the tone. For example, beginning with a moment of crisis can immediately evoke empathy and curiosity.
2. Highlight Key Challenges and Turning Points
Describe the difficulties you faced in detail, emphasizing how these moments tested your strength. Focus on pivotal turning points that led to personal growth. Was there a particular event that shifted your perspective? Detailing these moments offers insight into your resilience journey.
3. Showcase Your Response and Growth
Beyond describing hardships, illustrate how you responded. It’s also worth exploring pay someone to write my essay for more. Did you develop new skills, seek support, or change your mindset? Sharing concrete actions demonstrates resilience in practice. For instance, discussing how you stayed committed to your goals despite setbacks provides a motivational message.
4. Incorporate Reflection and Lessons Learned
Reflect on what these experiences taught you about yourself and life. How did overcoming adversity shape your values or future aspirations? Including lessons learned makes your narrative more meaningful and relatable, inspiring others to recognize their resilience within similar struggles.
Structuring Your Life-Story Essay for Impact
Introduction: Set the scene and introduce the theme of resilience.
Body Paragraphs: Detail the challenges faced, responses, and growth moments.
Conclusion: Reflect on the overall impact and future outlook.
Using a chronological or thematic structure helps maintain clarity and flow. A chronological approach traces your journey step-by-step, while a thematic approach groups related experiences to emphasize different aspects of resilience.
Enhancing Your Narrative with Authenticity and Detail
To truly inspire, your story should be genuine. Use descriptive language to paint vivid images of your experiences, allowing readers to see and feel what you went through. Incorporate dialogue, sensory details, and personal reflections to deepen engagement.
Additionally, don’t shy away from acknowledging vulnerabilities. Showing that resilience involves vulnerability creates a more authentic and relatable story. If you find yourself struggling to articulate these experiences, it’s perfectly fine to seek assistance — sometimes, paying someone to write my essay can help you draft or refine your story, ensuring your message remains genuine and impactful.
Conclusion: Inspiring Others Through Your Resilience
Developing a life-story essay around resilience requires honesty, thoughtful reflection, and careful structuring. By sharing your struggles and triumphs authentically, you can create an inspiring narrative that encourages others to persevere through their own difficulties. Remember, resilience isn’t about avoiding hardship—it’s about facing it with courage and learning from it. Your story can serve as a beacon of hope for those who need it most, demonstrating that growth and strength often emerge from our most challenging moments.
Post navigation