Overview

LSX Health Plan plugin adds the ability to include a structured exercise and nutrition programme to your WordPress website using the LSX Theme and extensions.

The plugin centres around day by day health plans that are made up of all of the below content types:

  • Meal Plans
  • Recipes
  • Tips
  • Workouts  
  • Videos

It also uses content stored as normal WordPress pages as follows:

  • Warm Up
  • Shopping Lists

Therefore it is essential that you create all of the above content first before you connect them to their respective day plans.

Adding your content

Meal Plans

From the WordPress Dashboard’s menu, click on Meal Plans to see the directory, then click the Add New button at the top. Or hover over Meal Plans to show the sub-menu items and click Add New from there. Then populate the available fields with your meal plan content.

The Title

Set a title for the meal plan. This title is not user-facing, but you should use a descriptive title that makes it easy to connect to a Day Plan, which we will cover further down. 

Meal Details

There are 5 paragraph text fields that use a WYSIWYG style text editor. These should be populated with the meal details the user should adhere to during the day. You can format this text however you would like. Headings, paragraph text, lists and links are fully supported.

  • Breakfast
  • Breakfast Snack
  • Lunch
  • Lunch Snack
  • Dinner

Plans

This is where you connect the meal plan to the day plan it applies to. Therefore, the day plan should exist before you are able to use this field. If you haven’t created the day plan yet, fret not, you can come back to it later or connect the day plan to its meal plan when you get to create it. This field is also useful for making later changes.

To connect a day plan, simply search for it by typing into the field provided, matching day plans will start to show in a drop-down style selector. 

It’s possible to connect a meal plan to multiple day plans, which is an efficient way to work with this plugin. For example, if a meal applies to day 1 and 15 of the program, you could make the title Day 1 & 15, making sure to connect this meal plan to day 1 and 15.

Shopping list

Connect the shopping list that applies to the meal plan. The shopping list should exist before you are able to connect it. If you haven’t created it yet, you can come back later once that’s done. See the section about shopping lists for important advice about shopping lists.

To connect a shopping list, search for it by typing the shopping list title into the field provided, matching shopping lists will start to show in a drop-down style selector.

Recipes

From the WordPress Dashboard’s menu, click on Recipes to see the directory, then click the Add New button at the top. Or hover over Recipes to show the sub-menu items and click Add New. Populate the available fields with your recipe content.

The Title

Set a title for the recipe. Use a descriptive title that makes it easy to connect to a Day Plan.

The Content

Enter the ingredients and cooking method into the content editor using a WYSIWYG style text editor. Headings, paragraph text, lists and all manner of formatting options are fully supported. You can describe your recipes however you see fit, including images.

Featured Image

Just like setting a featured image for a normal WordPress post, the recipe image is displayed alongside the rest of its content.

Recipe Details

Complete 5 very simple text fields with details that are customarily associated with a food recipe.

  • Prep Time: Add the preparation time for the entire meal i.e: 25 mins
  • Cooking Time: Add the cooking time i.e: 15 mins
  • Serves: Add the recommended serving size i.e: 6
  • Portion: Add the recommended portion size i.e: 200mg

Featured Checkbox

Enable the checkbox to feature this recipe, featured recipes display on any page that has the recipe shortcode.

Plans

Connect the recipe to the day plan it applies to, which should exist before you are able to connect it. Search for it by typing into the field provided, matching recipes will start to show in a drop-down style selector. 

Recipes can be connected to multiple day plans. If your grandmother’s pie recipe is really as good as claimed, you can reuse it on day 1 and 15 of the program, you could make the title Day 1 & 15, making sure to connect this meal plan to day 1 and 15.

Shopping list

Connect the shopping list that applies to the meal plan. The shopping list should exist before you are able to connect it. If you haven’t created it yet, you can come back later once that’s done. See the section about shopping lists for important advice about shopping lists.

To connect a shopping list, search for it by typing the shopping list title into the field provided, matching shopping lists will start to show in a drop-down style selector.

Tips

From the WordPress Dashboard’s menu, click on Tips to see the directory, then click the Add New button at the top. Or hover over Tips to show the sub-menu items and click Add New. Populate the available fields with your recipe content.

The Title

Set a title for the tip. Use a descriptive title that makes it easy to connect to a relevant Day Plan.

The Content

Enter a short sentence or three into the content editor using a WYSIWYG style text editor. Best suited for a simple paragraph of text with basic formatting like bold and italics or underline. Headings and a bulleted list won’t work well here.

Featured Image

Just like setting a featured image for a normal WordPress post, the tip image is displayed alongside the rest of its content on the day plan’s meal plan tab.

Plans

Connect the tip to the day plan it applies to. Search for the day plan by typing its title into the field provided, matching day plans will start to show in a drop-down style selector.  Tips can be connected to multiple day plans. to show in a drop-down style selector.

Workouts

From the WordPress Dashboard’s menu, click on Workouts to see the directory, then click the Add New button at the top. Or hover over Workouts to show the sub-menu items and click Add New. Populate the available fields.

The Title

Set a title for the Workout. Use a descriptive title that makes it easy to connect to a relevant Day Plan.

Exercise Group 1 – 6

You’re able to add up to 6 workouts or sets per day plan. Each group has the following fields

  • Title: Sets the title for the exercise or group, most often named set 1, set 2 up to set 6
  • Description: Set a brief description that describes the exercise group, a few short sentences work best.

Within each group, define the exercises using the available fields

  • Workout Name: Set a name for the exercise
  • Reps / Time / Distance: Set the rep count, time or distance for the exercise
  • Video related to this workout: Connect the exercise to the video it applies to. Search for the video by typing its title into the field provided, matching videos will start to show in a drop-down style selector.  

Directly below the exercise list, there are buttons to move the exercise display order up or down, as well as add more exercises to the group.  

Plans

Connect the workout to the day plan it applies to. Search for the day plan by typing its title into the field provided, matching day plans will start to show in a drop-down style selector.  Workouts can be connected to multiple day plans.

Videos

From the WordPress Dashboard’s menu, click on Videos to see the directory, then click the Add New button at the top. Or hover over Videos to show the sub-menu items and click Add New. Populate the available fields with your video content.

The Title

Set the video title. Use a descriptive title that makes it easy to connect to a relevant exercise within a workout. A good approach is to use a title that copies the exercise title verbatim to make connecting the content straightforward. 

The Content

Enter a short sentence or three into the content editor using a WYSIWYG style text editor. Best suited for a simple paragraph of text with basic formatting like bold and italics or underline. Headings and a bulleted list won’t work well here.

Video Details

  • Featured Video: Enable the checkbox to feature this video, featured videos display on any page that has the video shortcode: [lsx_health_plan_featured_videos_block]
  • Youtube Source: Copy and paste the URL for your video from YouTube in this field, i.e: “https://www.youtube.com/watch?v=9xwazD5SyVg
  • OR 
  • Giphy Source: Copy and paste the iFrame embed code from Giphy into this field, i.e: <iframe src=”https://giphy.com/embed/3o7527Rn1HxXWqgxuo” width=”480″ height=”270″ frameborder=”0″ class=”giphy-embed” allowfullscreen></iframe>

Pages

Warm Up

Before your users start the workout for a particular day they should warm up to avoid possible injury. Create an ordinary WordPress page with any content that is appropriate as a warm-up. This content is shown on a day plan’s warm-up tab. 

Shopping Lists

Your health plan would include a specific diet that is tailored to the program goals. Create ordinary WordPress pages that present shopping list information to the user. Shopping list pages can be connected to multiple day plans at the same time. Therefore, it makes sense to create a shopping list for each week or a set of days at the very least. That way, a participant can go to the grocery store and buy everything a period in advance.

Day Plans

From the WordPress Dashboard’s menu, click on Day Plans to see the directory, then click the Add New button at the top. Or hover over Day Plans to show the sub-menu items and click Add New. Populate the available fields with your video content.

The Title

Set the day plan title. Use a descriptive title that makes it easy to connect to all the different content types that applies to the day plan. A good approach is to use a title that represents the number of days the program takes to complete. For example day 1 to 21 if the program is 3 weeks long.

The Content

Enter a short sentence or paragraph into the content editor using a WYSIWYG style text editor. Headings, paragraph text, lists and all manner of formatting options are fully supported. You can describe your day plan however you see fit, including images. Then complete the remaining fields:

  • Warmup: Connect the warm-up page that applies to the day plan using the field provided.
  • Recipes: Connect the recipes that apply to the day plan using the field provided. You can connect more than one here if that applies.
  • Workouts: Connect the workout that applies to this day plan using the field provided. You can connect more than one here if that applies.
  • Meals: Connect the meal that applies to this day plan using the field provided. You can connect more than one here if that applies.
  • Tips: Connect the tips that apply to this day plan using the field provided. You can connect more than one here if that applies.

Week

This is very similar to setting a category for an ordinary WordPress post, it’s simply there to allow you to arrange your day plans into weeks.

Plugin Options

From the WordPress Dashboard’s menu, click on Settings > LSX Health Plan to add a few content pieces displayed to the program participants on each and every day plan view. Their best suited for displaying a short intro for various content types associated with a day plan and a good way to offer a quick motivational push for your participants.

  • Your Warm-up Intro
  • Your Workout Intro
  • Your Workout Intro
  • Recipes Intro

Shortcodes

The LSX Health plugin supports various shortcodes that display user information and the health plan content you have added. These shortcodes should be placed inside the shortcode block. Therefore, it’s possible to arrange the health plan functionality into flexible layouts as long as you build your pages using the Gutenburg Block editor. 

My Profile Tabs

[lsx_health_plan_my_profile_tabs]

Displays the overall account tabs:

  • My Plan: Displays the rest of the plan content according to the shortcodes added to the plan page.
  • Account Details: The user can update their profile information and update their stats here.
  • Log out: Clicking on this tab logs the user out

My Profile Block

[lsx_health_plan_my_profile_block]

Displays the user’s profile information:

  • Profile Image
  • Name
  • Their start, current and goal statistics

Account Notices

[lsx_health_plan_account_notices]

Displays important account messages or issues.

Featured Tip Block

[lsx_health_plan_featured_tip_block] 

Brings the featured tips (brings the latest 3 marked featured from all) (this one is a tiny square, so it should be added in a column or something small)

Day Plan Block

[lsx_health_plan_day_plan_block]

Displays each individual day plan, with a checkmark if a user has completed that day.

Custom Parameters:

week_view=”true” – displays the day plans ordered into weekly sections that can be toggeled open or closed

Featured Recipe Block

[lsx_health_plan_featured_recipes_block]

Displays featured recipes in a slider

Featured Video Block

[lsx_health_plan_featured_video_block]

Displays featured videos in a slider