jQuery(document).ready(function ($) { $(document).find('input[name^="ays_questions"]').on('change', function (e) { if($(e.target).parents('.ays-quiz-container').hasClass('ays_quiz_rect_dark')){ if ($(e.target).parents().eq(4).hasClass('enable_correction')) { if ($(e.target).parents().eq(1).find('input[name="ays_answer_correct[]"]').length !== 0) { var checked_inputs = $(e.target).parents().eq(1).find('input:checked'); if (checked_inputs.length === 1) { if ($(this).parent().find('input[name="ays_answer_correct[]"]').val() == 1) { $(this).parent().find('label[for^="ays-answer"]').addClass('correct'); $(this).parent().find('label[for^="ays-answer"]').on('click',function(){return false;}); $(this).parent().find('label[for^="ays-answer"]').parent().addClass('correct_div checked_answer_div'); } else { $(this).parent().find('label[for^="ays-answer"]').addClass('wrong'); $(this).parent().find('label[for^="ays-answer"]').on('click',function(){return false;}); $(this).parent().find('label[for^="ays-answer"]').parent().addClass('wrong_div checked_answer_div'); } if (checked_inputs.attr('type') === "radio") { $(e.target).parents('div[data-question-id]').find('input[name^="ays_questions"]').attr('disabled', true); $(e.target).parents('div[data-question-id]').find('input[name^="ays_questions"]').off('change'); } }else{ for(var i = 0; i < checked_inputs.length; i++){ if ($(this).parent().find('input[name="ays_answer_correct[]"]').val() == 1) { $(this).parent().find('label[for^="ays-answer"]').addClass('correct'); $(this).parent().find('label[for^="ays-answer"]').on('click',function(){return false;}); $(this).parent().find('label[for^="ays-answer"]').parent().addClass('correct_div checked_answer_div'); } else { $(this).parent().find('label[for^="ays-answer"]').addClass('wrong'); $(this).parent().find('label[for^="ays-answer"]').on('click',function(){return false;}); $(this).parent().find('label[for^="ays-answer"]').parent().addClass('wrong_div checked_answer_div'); } if (checked_inputs.attr('type') === "radio") { $(e.target).parents('div[data-question-id]').find('input[name^="ays_questions"]').attr('disabled', true); $(e.target).parents('div[data-question-id]').find('input[name^="ays_questions"]').off('change'); } } } $(e.target).parents('div[data-question-id]').find('input[name^="ays_questions"]').next().css('background-color', "transparent"); } }else{ if($(this).attr('type') === 'radio') { $(this).parents('.ays-quiz-answers').find('.checked_answer_div').removeClass('checked_answer_div'); $(this).parents('.ays-field').addClass('checked_answer_div'); } // if($(this).attr('type') === 'checkbox') { // if(!$(this).parents('.ays-field').hasClass('checked_answer_div')){ // $(this).parents('.ays-field').addClass('checked_answer_div'); // }else{ // $(this).parents('.ays-field').removeClass('checked_answer_div'); // } // } } } }); }); jQuery(document).ready(function ($) { $(document).find('input[name^="ays_questions"]').on('change', function (e) { if($(e.target).parents('.ays-quiz-container').hasClass('ays_quiz_rect_dark')){ if ($(e.target).parents().eq(4).hasClass('enable_correction')) { if ($(e.target).parents().eq(1).find('input[name="ays_answer_correct[]"]').length !== 0) { var checked_inputs = $(e.target).parents().eq(1).find('input:checked'); if (checked_inputs.length === 1) { if ($(this).parent().find('input[name="ays_answer_correct[]"]').val() == 1) { $(this).parent().find('label[for^="ays-answer"]').addClass('correct'); $(this).parent().find('label[for^="ays-answer"]').on('click',function(){return false;}); $(this).parent().find('label[for^="ays-answer"]').parent().addClass('correct_div checked_answer_div'); } else { $(this).parent().find('label[for^="ays-answer"]').addClass('wrong'); $(this).parent().find('label[for^="ays-answer"]').on('click',function(){return false;}); $(this).parent().find('label[for^="ays-answer"]').parent().addClass('wrong_div checked_answer_div'); } if (checked_inputs.attr('type') === "radio") { $(e.target).parents('div[data-question-id]').find('input[name^="ays_questions"]').attr('disabled', true); $(e.target).parents('div[data-question-id]').find('input[name^="ays_questions"]').off('change'); } }else{ for(var i = 0; i < checked_inputs.length; i++){ if ($(this).parent().find('input[name="ays_answer_correct[]"]').val() == 1) { $(this).parent().find('label[for^="ays-answer"]').addClass('correct'); $(this).parent().find('label[for^="ays-answer"]').on('click',function(){return false;}); $(this).parent().find('label[for^="ays-answer"]').parent().addClass('correct_div checked_answer_div'); } else { $(this).parent().find('label[for^="ays-answer"]').addClass('wrong'); $(this).parent().find('label[for^="ays-answer"]').on('click',function(){return false;}); $(this).parent().find('label[for^="ays-answer"]').parent().addClass('wrong_div checked_answer_div'); } if (checked_inputs.attr('type') === "radio") { $(e.target).parents('div[data-question-id]').find('input[name^="ays_questions"]').attr('disabled', true); $(e.target).parents('div[data-question-id]').find('input[name^="ays_questions"]').off('change'); } } } $(e.target).parents('div[data-question-id]').find('input[name^="ays_questions"]').next().css('background-color', "transparent"); } }else{ if($(this).attr('type') === 'radio') { $(this).parents('.ays-quiz-answers').find('.checked_answer_div').removeClass('checked_answer_div'); $(this).parents('.ays-field').addClass('checked_answer_div'); } // if($(this).attr('type') === 'checkbox') { // if(!$(this).parents('.ays-field').hasClass('checked_answer_div')){ // $(this).parents('.ays-field').addClass('checked_answer_div'); // }else{ // $(this).parents('.ays-field').removeClass('checked_answer_div'); // } // } } } }); });

If you install the same theme, plugins or content on all your WordPress sites then Duplicator can save you a lot of time.

Instead of manually configuring the same themes and plugins over and over, just configure one site and bundle it into a Duplicator Backup. Install the Backup to create a pre-configured site on as many locations as you want!

import Box from '@elementor/ui/Box'; import FormControl from '@elementor/ui/FormControl'; import FormLabel from '@elementor/ui/FormLabel'; import Grid from '@elementor/ui/Grid'; import Typography from '@elementor/ui/Typography'; import { styled } from '@elementor/ui/styles'; import { HexColorInput, HexColorPicker } from 'react-colorful'; import { useDebouncedCallback } from 'use-debounce'; import { useIconDesign } from '@ea11y/hooks'; import { mixpanelEvents, mixpanelService } from '@ea11y-apps/global/services'; import { __ } from '@wordpress/i18n'; import './style.css'; const StyledHexColorInput = styled(HexColorInput)` width: 100%; border: 1px solid rgb(0 0 0 / 0.12); border-radius: ${({ theme }) => theme.shape.borderRadius}px; padding-left: 10px; `; const ColorPicker = () => { const { iconDesign, updateIconDesign } = useIconDesign(); const debounced = useDebouncedCallback((value) => { mixpanelService.sendEvent(mixpanelEvents.colorChanged, { color: value, }); }, 1000); return ( {__('Color', 'pojo-accessibility')} { updateIconDesign({ color: value }); debounced(value); }} className="widget-settings-color-picker" /> { updateIconDesign({ color: value }); debounced(value); }} /> ); }; export default ColorPicker; /** * TI WooCommerce Wishlist integration with: * * @name WooCommerce Custom Product Addons * * @version 2.6.9 * * @slug woo-custom-product-addons * * @url https://wordpress.org/plugins/woo-custom-product-addons/ * */ // If this file is called directly, abort. if ( ! defined( 'ABSPATH' ) ) { exit; } // Load integration depends on current settings. global $tinvwl_integrations; $slug = "woo-custom-product-addons"; $name = "WooCommerce Custom Product Addons"; $available = defined( 'WCPA_POST_TYPE' ); $tinvwl_integrations = is_array( $tinvwl_integrations ) ? $tinvwl_integrations : []; $tinvwl_integrations[ $slug ] = array( 'name' => $name, 'available' => $available, ); if ( ! tinv_get_option( 'integrations', $slug ) ) { return; } if ( ! $available ) { return; } if ( ! function_exists( 'tinv_wishlist_item_meta_woocommerce_custom_product_addons' ) ) { /** * Set description for meta WooCommerce Custom Product Addons * * @param array $meta Meta array. * @param array $wl_product Wishlist Product. * @param \WC_Product $product Woocommerce Product. * * @return array */ function tinv_wishlist_item_meta_woocommerce_custom_product_addons( $item_data, $product_id, $variation_id ) { if ( defined( 'WCPA_POST_TYPE' ) && class_exists( 'WCPA_Form' ) && class_exists( 'WCPA_Front_End' ) ) { $form = new WCPA_Form(); $frontend = new WCPA_Front_End(); $data = array(); $post_ids = $form->get_form_ids( $product_id ); if ( isset( $item_data['wcpa_field_key_checker'] ) ) { unset( $item_data['wcpa_field_key_checker'] ); } if ( wcpa_get_option( 'form_loading_order_by_date' ) === true ) { if ( is_array( $post_ids ) && count( $post_ids ) ) { $post_ids = get_posts( array( 'posts_per_page' => - 1, 'include' => $post_ids, 'fields' => 'ids', 'post_type' => WCPA_POST_TYPE, ) ); } } foreach ( $post_ids as $id ) { if ( get_post_status( $id ) == 'publish' ) { $json_string = get_post_meta( $id, WCPA_FORM_META_KEY, true ); $json_encoded = json_decode( $json_string ); if ( $json_encoded && is_array( $json_encoded ) ) { $data = array_merge( $data, $json_encoded ); } } } foreach ( $data as $v ) { $form_data = clone $v; unset( $form_data->values ); //avoid saving large number of data unset( $form_data->className ); //avoid saving no use data if ( ! in_array( $v->type, array( 'header', 'paragraph' ) ) ) { if ( isset( $item_data[ $v->name ] ) ) { if ( ! is_object( $v ) ) { $value = sanitize_text_field( $v ); } else if ( ( isset( $v->name ) ) ) { if ( is_array( $item_data[ $v->name ] ) ) { $_values = $item_data[ $v->name ]; array_walk( $_values, function ( &$a ) { sanitize_text_field( $a ); } ); // using this array_wal method to preserve the keys $value = $_values; } else if ( $v->type == 'textarea' ) { $value = sanitize_textarea_field( wp_unslash( $item_data[ $v->name ] ) ); } else { $value = sanitize_text_field( wp_unslash( $item_data[ $v->name ] ) ); } } $item_data[ $v->name ]['key'] = ( isset( $v->label ) ) ? $v->label : ''; $item_data[ $v->name ]['display'] = $frontend->cart_display( array( 'type' => $v->type, 'name' => $v->name, 'label' => ( isset( $v->label ) ) ? $v->label : '', 'value' => ( is_object( json_decode( $value['display'] ) ) ) ? json_decode( $value['display'], true ) : $value['display'], 'price' => ( isset( $v->price ) ) ? $v->price : false, 'form_data' => $form_data, ), wc_get_product( $product_id ) ); } } } } return $item_data; } add_filter( 'tinvwl_wishlist_item_meta_post', 'tinv_wishlist_item_meta_woocommerce_custom_product_addons', 10, 3 ); } if ( ! function_exists( 'tinvwl_item_price_woocommerce_custom_product_addons' ) ) { /** * Modify price for WooCommerce Custom Product Addons. * * @param string $price Returned price. * @param array $wl_product Wishlist Product. * @param \WC_Product $product Woocommerce Product. * * @return string */ function tinvwl_item_price_woocommerce_custom_product_addons( $price, $wl_product, $product ) { if ( defined( 'WCPA_ITEM_ID' ) && class_exists( 'WCPA_Form' ) && class_exists( 'WCPA_MC' ) ) { $price = 0; $form = new WCPA_Form(); $data = array(); $post_ids = $form->get_form_ids( $wl_product['product_id'] ); if ( wcpa_get_option( 'form_loading_order_by_date' ) === true ) { if ( is_array( $post_ids ) && count( $post_ids ) ) { $post_ids = get_posts( array( 'posts_per_page' => - 1, 'include' => $post_ids, 'fields' => 'ids', 'post_type' => WCPA_POST_TYPE, ) ); } } foreach ( $post_ids as $id ) { if ( get_post_status( $id ) == 'publish' ) { $json_string = get_post_meta( $id, WCPA_FORM_META_KEY, true ); $json_encoded = json_decode( $json_string ); if ( $json_encoded && is_array( $json_encoded ) ) { $data = array_merge( $data, $json_encoded ); } } } foreach ( $data as $v ) { $form_data = clone $v; unset( $form_data->values ); //avoid saving large number of data unset( $form_data->className ); //avoid saving no use data if ( ! in_array( $v->type, array( 'header', 'paragraph' ) ) ) { if ( isset( $wl_product['meta'][ $v->name ] ) ) { if ( ! is_object( $v ) ) { continue; } else if ( ( isset( $v->name ) ) ) { if ( ( ! isset( $v->is_fee ) || $v->is_fee === false ) && ( ! isset( $v->is_show_price ) || $v->is_show_price === false ) ) { if ( isset( $v->price ) && is_array( $v->price ) ) { foreach ( $v->price as $p ) { $price += $p; } } else if ( isset( $v->price ) && $v->price ) { $price += $v->price; } } } } } } $mc = new WCPA_MC(); $price = $mc->mayBeConvert( $price ) + $product->get_price( 'edit' ); $price = wc_price( $price ); } return $price; } add_filter( 'tinvwl_wishlist_item_price', 'tinvwl_item_price_woocommerce_custom_product_addons', 10, 3 ); } // End if(). if ( ! function_exists( 'tinvwl_item_price_woocommerce_custom_product_addons_text_button' ) ) { /** * Change text for button add to cart * * @param string $text_add_to_cart Text "Add to cart". * @param array $wl_product Wishlist product. * @param object $product WooCommerce Product. * * @return string */ function tinvwl_item_price_woocommerce_custom_product_addons_text_button( $text_add_to_cart, $wl_product, $product ) { if ( defined( 'WCPA_POST_TYPE' ) && class_exists( 'WCPA_Form' ) && class_exists( 'WCPA_Front_End' ) ) { $product_id = $product->get_id(); $form = new WCPA_Form(); $post_ids = $form->get_form_ids( $product_id ); $data = array(); if ( wcpa_get_option( 'form_loading_order_by_date' ) === true ) { if ( is_array( $post_ids ) && count( $post_ids ) ) { $post_ids = get_posts( array( 'posts_per_page' => - 1, 'include' => $post_ids, 'fields' => 'ids', 'post_type' => WCPA_POST_TYPE, ) ); } } foreach ( $post_ids as $id ) { if ( get_post_status( $id ) == 'publish' ) { $json_string = get_post_meta( $id, WCPA_FORM_META_KEY, true ); $json_encoded = json_decode( $json_string ); if ( $json_encoded && is_array( $json_encoded ) ) { $data = array_merge( $data, $json_encoded ); } } } $status = true; foreach ( $data as $v ) { if ( $v->type != 'file' && isset( $v->required ) && $v->required && ( ! isset( $wl_product['meta'][ $v->name ] ) || empty( $wl_product['meta'][ $v->name ] ) ) ) { $status = false; } } if ( ! $status ) { $WCPA = new WCPA_Front_End(); return $WCPA->add_to_cart_text( $text_add_to_cart, $product ); } } return $text_add_to_cart; } add_filter( 'tinvwl_wishlist_item_add_to_cart', 'tinvwl_item_price_woocommerce_custom_product_addons_text_button', 10, 3 ); } Diet and Lifestyle Consultation - Brainbox

Black Friday: 25% Off Ashwagandha & More. Free Shipping. Timer’s ticking:

💡 LIMITED TIME OFFER:

Get Lions Mane Now with an AI Sleep Tracker for £1
Use Code: Loading...

Book Below Now – Dr. Virginia Mortimer

MBBS, BSc, RCST

Medical Doctor
Diet & Lifestyle Specialist

Transforming lives through personalized, evidence-based diet and lifestyle interventions backed by medical expertise and 15+ years of clinical experience.

Diet & Lifestyle Consultation

You’re in experienced hands—Virginia Mortimer is:

GMC Registered Professional

Sacred Sauna

BrainBox

Sri Gour Kripa Dham

JAMDIT LTD

Diet & Lifestyle Consultation

Transform your everyday wellbeing with a plan that actually fits your life.

Medical Assessment

Expert guidance on nutrition, movement, and daily routines

Learn more

Personalized Nutrition

Actionable steps to support energy, focus, and long-term wellness

Learn more

Lifestyle Optimization

Practical advice—never medical or pharmaceutical

Learn more

What's in a Diet & Lifestyle Consultation?

A structured, comprehensive approach to transforming your health through personalized medical guidance and ongoing support.

1

Personalised Listening & Discussion

Virginia takes the time to listen to your concerns and talks through your current diet, daily habits, and lifestyle.

2

Tailor-Made Program

Get clear, practical guidance on what to eat, what to avoid, routines to build, and habits to leave behind—all based on your unique needs and goals.

3

Post-Session Support

Post-Session Support After your consultation, receive a written summary of your session and ongoing support to help you put your new plan into action.

4

Continuous Coaching via Virtual Assistant

Continuous Coaching via Virtual Assistant Stay supported with convenient check-ins, reminders, and answers to common questions between sessions—all delivered through a helpful virtual assistant (no technical know-how required).

Dr. Virginia Mortimer consulting with patient

Why Choose Dr. Virginia Mortimer?

Specialist in Diet & Lifestyle Guidance

As a qualified medical doctor (MBBS), I specialize in providing holistic guidance that combines clinical insight with practical strategies for diet, movement, sleep, and stress management.

Accredited and highly experienced

I bring years of experience backed by formal medical training and continuous professional development, ensuring that all advice reflects the most current standards in health and nutrition.

Known for warm, supportive, client-centered care

My approach is deeply personalized—centered on listening, understanding your lived experience, and crafting realistic plans that honor your goals, values, and health status.

Trusted by professionals, families, and individuals seeking real change

From busy professionals to growing families, clients value my practical, compassionate support that drives meaningful, lasting health improvements.

5-star feedback for clarity, empathy, and results

Clients consistently praise my ability to explain complex concepts clearly, provide empathetic guidance, and deliver actionable steps that lead to measurable, positive outcomes.

What My Patients Say

Real stories from people whose lives have been transformed through personalized diet and lifestyle interventions.

Flexible Pricing with Buy Now, Pay Later

Book your 1-on-1 Sleep Consultation today—just £75.

Get personalised advice from a GMC-Certified Medical Doctor with 15+ years of clinical experience. You'll receive:

  • A full sleep, diet & lifestyle assessment
  • A tailor-made plan to improve your sleep
  • Post-session support + access to our virtual assistant

Now available with flexible payment options.

Split your payment into manageable instalments using:

Buy now, pay later—no stress, no delays.

Message us or book your session now. Your sleep is worth it.

Session Details & Pricing

An Initial Diet & Lifestyle Consultation below includes a full assessment, tailor-made program, written summary, and ongoing virtual assistant support.


Professional Memberships & Accreditations

GMC
Sacred Sauna
BrainBox
Sri Gour Kripa Dham
JAMDIT LTD

Ready for a positive change?

Book your Diet & Lifestyle Consultation with Virginia today.

Book Your Consultation Today