var ajaxRevslider; jQuery(document).ready(function() { // CUSTOM AJAX CONTENT LOADING FUNCTION ajaxRevslider = function(obj) { // obj.type : Post Type // obj.id : ID of Content to Load // obj.aspectratio : The Aspect Ratio of the Container / Media // obj.selector : The Container Selector where the Content of Ajax will be injected. It is done via the Essential Grid on Return of Content var content = ""; data = {}; data.action = 'revslider_ajax_call_front'; data.client_action = 'get_slider_html'; data.token = '63953d6ad1'; data.type = obj.type; data.id = obj.id; data.aspectratio = obj.aspectratio; // SYNC AJAX REQUEST jQuery.ajax({ type:"post", url:"https://brookeforeman.com/wp-admin/admin-ajax.php", dataType: 'json', data:data, async:false, success: function(ret, textStatus, XMLHttpRequest) { if(ret.success == true) content = ret.data; }, error: function(e) { console.log(e); } }); // FIRST RETURN THE CONTENT WHEN IT IS LOADED !! return content; }; // CUSTOM AJAX FUNCTION TO REMOVE THE SLIDER var ajaxRemoveRevslider = function(obj) { return jQuery(obj.selector+" .rev_slider").revkill(); }; // EXTEND THE AJAX CONTENT LOADING TYPES WITH TYPE AND FUNCTION var extendessential = setInterval(function() { if (jQuery.fn.tpessential != undefined) { clearInterval(extendessential); if(typeof(jQuery.fn.tpessential.defaults) !== 'undefined') { jQuery.fn.tpessential.defaults.ajaxTypes.push({type:"revslider",func:ajaxRevslider,killfunc:ajaxRemoveRevslider,openAnimationSpeed:0.3}); // type: Name of the Post to load via Ajax into the Essential Grid Ajax Container // func: the Function Name which is Called once the Item with the Post Type has been clicked // killfunc: function to kill in case the Ajax Window going to be removed (before Remove function ! // openAnimationSpeed: how quick the Ajax Content window should be animated (default is 0.3) } } },30); });

Chronic Pain

Does your UPS driver give you nutrition advice?

Does your UPS driver give you nutrition advice?

Quit trusting non-professionals:  Everything You Think You Know About Healthy Eating is Making You Fat and Tired   Lawd have mercy – nutrition and diet info is everywhere!  Even my UPS driver was trying to give me nutrition advice and sell me on his supplements.  It’s a hot mess of misinformation out there to wade through.     And each expert…

Ch, Ch, Ch, Chia Peach Green Smoothie Recipe

Ch, Ch, Ch, Chia Peach Green Smoothie Recipe

  Chia Peach Green Smoothie Recipe   Serves 1   handful spinach 1 tablespoon chia seeds 1 banana 1 chopped peach 1 cup unsweetened almond milk   Add ingredients to blender in order listed (you want your greens on the bottom by the blade so they blend better and have the chia on the bottom to absorb some liquid before…

Pumpkin Spice Latte for lovers

Pumpkin Spice Latte for lovers

Pumpkin Spice Latte   Serves 1   3 tbsp coconut milk 1 ½ tsp pumpkin pie spice (or cinnamon) ¼ tsp vanilla extract 1 tbsp pumpkin puree ½ tsp maple syrup (optional) 1 cup coffee (decaf if preferred)   Instructions   Add all ingredients to blender and blend until creamy.   Serve & enjoy!   Tip: You can use tea…

Maybe she’s born with it? Maybe it’s caffeine!  Coffee, digestion and you

Maybe she’s born with it? Maybe it’s caffeine! Coffee, digestion and you

Coffee – Who can drink it and who should avoid it? There is nothing quite as satisfying as a steaming hot cup of coffee.  Well, there are things…actually things that come AFTER that coffee.  Can I say it?  You have an amazing poop.  This can be life-changing actually and SO good for your digestion. When I was doing runs and…