type-sharetwitter-text-before']); } else { $twitter_share_text_before = ""; } if(!empty($layer['settings']['link-type-sharetwitter-text-after'])){ $twitter_share_text_after = str_replace(array("%title%","%excerpt%"), array($title,$excerpt), $layer['settings']['link-type-sharetwitter-text-after']); } else { $twitter_share_text_after = ""; } $twitter_share_text = $twitter_share_text_before.$twitter_share_url.$twitter_share_text_after; $text = ''.$text.''; break; case 'likepost': if(!empty($this->post['ID'])) $text = ''.$text.''; //javascript-link else $text = ''; break; } if($link_to !== 'none') $do_display = true; //set back to true if a link is set on layer $text = trim($text); //check for special styling coming from post option and set css to the queue if(isset($layer['id'])) $this->set_meta_element_changes($layer['id'], $unique_class); $post_class = (!isset($post['ID'])) ? '' : ' eg-post-'.$post['ID']; if($base->text_has_certain_tag($text, 'a') && !$do_ignore_styles){ //check if a tag exists, if yes, class will be set to a tags and not the wrapping div, also the div will receive the position and other stylings // && @$layer['settings']['source'] !== 'text' if($is_woo_cats && strpos($text, 'class="') !== false || $is_woo_button || $is_filter_cat && strpos($text, 'class="') !== false){ //add to the classes instead of creating own class attribute if it is woocommerce cats AND a class can be found $text = str_replace('class="', 'class="'.$unique_class.$post_class.$lb_class.' ', $text); }elseif($is_html_source && strpos($text, 'class="') !== false){ $text = str_replace('', '', $text); //moved to more global css generation process @version: 2.0 //$this->add_css_wrap[$unique_class]['a']['display'] = $do_display; //do_display defines if we should write display: block; //$this->add_css_wrap[$unique_class]['a']['full'] = $do_full; //do full styles (for categories and tags separator) $unique_class .= '-a'; } if($do_ignore_styles) $unique_class = 'eg-'.esc_attr($this->handle).'-nostyle-element-'.$layer['id']; //replace all the normal shortcodes if(function_exists('qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage')){ //use qTranslate $text = qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($text); }elseif(function_exists('ppqtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage')){ //use qTranslate plus $text = ppqtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($text); }elseif(function_exists('qtranxf_useCurrentLanguageIfNotFoundUseDefaultLanguage')){ //use qTranslate X $text = qtranxf_useCurrentLanguageIfNotFoundUseDefaultLanguage($text); } $text = do_shortcode($text); if($special_item == 'true' && $special_item_type == 'line-break'){ //line break element echo ' '."\n"; }elseif(trim($text) !== ''){ //}elseif(!empty($text)){ $use_tag = $base->getVar($layer['settings'], 'tag-type', 'div'); echo ' <'.$use_tag.' class="esg-'.$class.$post_class.$video_play.$ajax_class.' '.$hideunderClass.$unique_class.$transition.'"'.$ajax_attr.$transition_split.$delay.$hideunderHTML; echo ($demo == 'custom') ? $demo_element_type : ''; echo $data_transition_transition . '>'; echo $text; echo ''."\n"; } } /** * Retrieve the value of post elements */ public function get_post_value($handle, $separator, $function, $meta, $catmax = '-1', $taxonomy = ""){ $base = new Essential_Grid_Base(); $text = ''; /* 2.1.5 category max option */ $adjustMax = false; if( in_array( $handle, array( 'cat_list','tag_list','taxonomy') ) ) { if(!empty($catmax) && $catmax !== '-1' && is_numeric($catmax) && intval($catmax) > 0) { $catmax = intval($catmax); $adjustMax = true; } } switch($handle){ //Post elements case 'post_id': $text = $base->getVar($this->post, 'ID', ''); break; case 'post_url': $post_id = $base->getVar($this->post, 'ID', ''); $text = get_permalink($post_id); break; case 'title': $text = $base->getVar($this->post, 'post_title', ''); break; case 'caption': case 'excerpt': $text = trim($base->getVar($this->post, 'post_excerpt')); if(empty($text)){ //strip essential grid shortcode here $text = do_shortcode($base->strip_essential_shortcode($base->getVar($this->post, 'post_content'))); $text = preg_replace("/]*>(.*?)<\\/style>/s", "", $text); $text = preg_replace("/]*>(.*?)<\\/script>/s", "", $text); } $text = strip_tags($text); //,"

" break; case 'meta': $m = new Essential_Grid_Meta(); $text = $m->get_meta_value_by_handle($base->getVar($this->post, 'ID', ''),$meta); break; case 'likespost': $post_id = $base->getVar($this->post, 'ID', ''); if(!empty($post_id)){ $count = get_post_meta($post_id, "eg_votes_count", 0); if(!$count) $count[0] = 0; if(is_array($count)){ $text = ''.$count[0].''; } } else{ $text = ''; } break; case 'alias': $text = $base->getVar($this->post, 'post_name'); break; case 'content': $text = apply_filters('the_content', $base->getVar($this->post, 'post_content')); break; case 'link': $text = get_permalink($base->getVar($this->post, 'ID', '')); break; case 'date': $postDate = $base->getVar($this->post, "post_date_gmt"); $text = $base->convert_post_date($postDate); break; case 'date_day': $postDate = $base->getVar($this->post, "post_date_gmt"); $text = date('dd',strtotime($postDate)); break; case 'date_month': $postDate = $base->getVar($this->post, "post_date_gmt"); $text = date('m',strtotime($postDate)); break; case 'date_month_abbr': $postDate = $base->getVar($this->post, "post_date_gmt"); $text = date('M',strtotime($postDate)); break; case 'date_year': $postDate = $base->getVar($this->post, "post_date_gmt"); $text = date('Y',strtotime($postDate)); break; case 'date_year_abbr': $postDate = $base->getVar($this->post, "post_date_gmt"); $text = date('y',strtotime($postDate)); break; case 'date_modified': $dateModified = $base->getVar($this->post, "post_modified"); $text = $base->convert_post_date($dateModified); break; case 'author_name': $authorID = $base->getVar($this->post, 'post_author'); $text = get_the_author_meta('display_name', $authorID); break; case 'author_posts': $authorID = $base->getVar($this->post, 'post_author'); $text = get_author_posts_url($authorID ); break; case 'author_profile': $authorID = $base->getVar($this->post, 'post_author'); $meta_value = get_the_author_meta('url', $authorID); break; case 'author_avatar_32': $authorID = $base->getVar($this->post, 'post_author'); $meta_value = get_avatar( $authorID, 32); break; case 'author_avatar_64': $authorID = $base->getVar($this->post, 'post_author'); $meta_value = get_avatar( $authorID, 64); break; case 'author_avatar_96': $authorID = $base->getVar($this->post, 'post_author'); $meta_value = get_avatar( $authorID, 96); break; case 'author_avatar_512': $authorID = $base->getVar($this->post, 'post_author'); $meta_value = get_avatar( $authorID, 512); break; case 'num_comments': $text = $base->getVar($this->post, 'comment_count'); break; case 'cat_list': $use_taxonomies = false; $postCatsIDs = $base->getVar($this->post, 'post_category'); if(empty($postCatsIDs) && isset($this->post['post_type'])){ $postCatsIDs = array(); $obj = get_object_taxonomies($this->post['post_type']); if(!empty($obj) && is_array($obj)){ foreach($obj as $tax){ if($tax == 'post_tag') continue; $use_taxonomies[] = $tax; $new_terms = get_the_terms($base->getVar($this->post, 'ID', ''), $tax); if(is_array($new_terms) && !empty($new_terms)){ foreach($new_terms as $term){ $postCatsIDs[$term->term_id] = $term->term_id; } } } } } /* 2.1.5 category max option */ if($adjustMax && is_array($postCatsIDs)) $postCatsIDs = array_slice($postCatsIDs, 0, $catmax, true); $text = $base->get_categories_html_list($postCatsIDs, $function, $separator, $use_taxonomies); break; case 'tag_list': if(!$adjustMax) { $text = $base->get_tags_html_list($base->getVar($this->post, 'ID', ''), $separator, $function); } else { $text = $base->get_tags_html_list($base->getVar($this->post, 'ID', ''), $separator, $function, $catmax); } break; case 'taxonomy': if(!$adjustMax) { $text = $base->get_tax_html_list($base->getVar($this->post, 'ID', ''), $taxonomy, $separator, $function); } else { $text = $base->get_tax_html_list($base->getVar($this->post, 'ID', ''), $taxonomy, $separator, $function, $catmax); } break; /* case 'iframe': print '

HELLO!

'; die(); break; */ default: $text = apply_filters('essgrid_post_meta_content', $text, $handle, $base->getVar($this->post, 'ID', ''), $this->post); break; } return $text; } /** * Retrieve the value of post elements */ public function get_custom_element_value($handle, $separator, $meta = ''){ $base = new Essential_Grid_Base(); $m = new Essential_Grid_Meta(); $text = ''; $text = $base->getVar($this->layer_values, $handle, ''); if($text == '' && $meta != '') $text = $base->getVar($this->layer_values, $meta, ''); if(intval($text) > 0){ //we may be an image from the metas $custom_meta = $m->get_all_meta(false); if(!empty($custom_meta)){ foreach($custom_meta as $cmeta){ if($cmeta['handle'] == $handle){ if($cmeta['type'] == 'image'){ $img = wp_get_attachment_image_src($text, $this->media_sources_type); if($img !== false){ $text = $img[0]; //replace with URL } } break; } } } } return $text; } /** * Retrieve the value of event elements */ public function get_event_manager_value($handle){ $base = new Essential_Grid_Base(); $text = ''; switch($handle){ //check for event manager case 'event_start_date': break; case 'event_end_date': break; case 'event_start_time': break; case 'event_end_time': break; case 'event_event_id': break; case 'event_location_name': break; case 'event_location_slug': break; case 'event_location_address': break; case 'event_location_town': break; case 'event_location_state': break; case 'event_location_postcode': break; case 'event_location_region': break; case 'event_location_country': break; } return $text; } /** * Retrieve the value of woocommerce elements */ public function get_woocommerce_value($meta, $separator, $catmax = false){ $text = ''; if(isset($this->post['ID'])){ if(Essential_Grid_Woocommerce::is_woo_exists()){ $base = new Essential_Grid_Base(); $m = new Essential_Grid_Meta(); /* 2.1.5 category max option */ $adjustMax = false; if($meta === 'wc_categories') { if(!empty($catmax) && $catmax !== '-1' && is_numeric($catmax) && intval($catmax) > 0) { $catmax = intval($catmax); $adjustMax = true; } } if($adjustMax) { $text = Essential_Grid_Woocommerce::get_value_by_meta($this->post['ID'], $meta, $separator, $catmax); } else { $text = Essential_Grid_Woocommerce::get_value_by_meta($this->post['ID'], $meta, $separator); } } } return $text; } } parents – Dear Alyne https://www.clone.dearalyne.com Dear Alyne Tue, 30 Oct 2018 11:14:31 +0000 en-US hourly 1 https://wordpress.org/?v=5.2.21 https://www.clone.dearalyne.com/wp-content/uploads/2018/08/cropped-favicon-32x32.png parents – Dear Alyne https://www.clone.dearalyne.com 32 32 GGG – The freedom you have after your kids grew up can be weird https://www.clone.dearalyne.com/relationships-family/ggg-38/ https://www.clone.dearalyne.com/relationships-family/ggg-38/#respond Thu, 06 Sep 2018 11:57:12 +0000 https://clone.dearalyne.com/?p=846 The post GGG – The freedom you have after your kids grew up can be weird appeared first on Dear Alyne.

]]>
Welcome to Girls Gone Global! This is a post taken from our Facebook Community where we support and empower women to make changes in the world, together! Below you will find a post from one of our 80K+ group members, talking about their very personal story or issue. With the agreement of the author we are allowed to share it on the Dear Alyne Blog to inspire, and to help other women. To read the community answers, please click on the link below and join the group (women only, sorry guys! Ask your girlfriend hehe.). Our hope is that you find posts to relate to, and maybe some answers to your own questions!

Topic: Open Topic Monday

Hello! I’m 44 years old and a mother of three amazing young women. I see everyone on here has done or are doing awesome stuff. All I did for the last 23 years was work my ars off to provide as best as I can and obsess over raising my girls. Although we are the best of friends, now they’re all grown up, they don’t share everything with me anymore, and I can’t make them! Argh! So I thought, “What the heck am I supposed to do with myself now?!” They said, “Anything you want, ma. This is it. Your life is all yours now.” And I’m like, “Come travel the islands of our country with me.” And they’re like, “Yeah, we’re not into that.” And I’m like, “Fine! I’ll do it by myself then!” So I started with my first trip in January, then another in April, and booked another one for October.
For those still raising their kids – the sudden freedom is gonna feel weird but in a good way. 😂
Note: Please pick up plastic trash and discard properly when you are at any beach. Don’t listen to people who say, “That’s nothing,” or “That doesn’t do much.” EVERY LITTLE BIT COUNTS. 😍

Read up the Facebook Community answers and advice HERE.

The post GGG – The freedom you have after your kids grew up can be weird appeared first on Dear Alyne.

]]>
https://www.clone.dearalyne.com/relationships-family/ggg-38/feed/ 0
GGG – Men are not on a higher level then us! https://www.clone.dearalyne.com/health-wellness/ggg-2-2/ https://www.clone.dearalyne.com/health-wellness/ggg-2-2/#respond Thu, 06 Sep 2018 11:41:38 +0000 https://clone.dearalyne.com/?p=835 The post GGG – Men are not on a higher level then us! appeared first on Dear Alyne.

]]>
Welcome to Girls Gone Global! This is a post taken from our Facebook Community where we support and empower women to make changes in the world, together! Below you will find a post from one of our 80K+ group members, talking about their very personal story or issue. With the agreement of the author we are allowed to share it on the Dear Alyne Blog to inspire, and to help other women. To read the community answers, please click on the link below and join the group (women only, sorry guys! Ask your girlfriend hehe.). Our hope is that you find posts to relate to, and maybe some answers to your own questions!

Topic: Wellness Wednesday

Hi everyone, I’m laetitia from France 🇫🇷, I’m 34 years old, I’m a single mum of 2 wonderful kids and I’m separated it’s been 2 years after 10 years of marriage and I never felt as happy as I am now, because I do what I want and what I like now, and I finally learned to love myself, and I got back my self-confidence, my kids are happier too, to see me shining, life is so wonderful, trust in yourself, you are all shining, I love you sisters and never forget that we are at the same levels than men, they are not higher than us 😉 take care and live your dreams

Read up the Facebook Community answers and advice HERE.

The post GGG – Men are not on a higher level then us! appeared first on Dear Alyne.

]]>
https://www.clone.dearalyne.com/health-wellness/ggg-2-2/feed/ 0
GGG – I just experienced a miscarriage https://www.clone.dearalyne.com/health-wellness/ggg-16/ https://www.clone.dearalyne.com/health-wellness/ggg-16/#respond Thu, 06 Sep 2018 10:26:27 +0000 https://clone.dearalyne.com/?p=801 The post GGG – I just experienced a miscarriage appeared first on Dear Alyne.

]]>
Welcome to Girls Gone Global! This is a post taken from our Facebook Community where we support and empower women to make changes in the world, together! Below you will find a post from one of our 80K+ group members, talking about their very personal story or issue. With the agreement of the author we are allowed to share it on the Dear Alyne Blog to inspire, and to help other women. To read the community answers, please click on the link below and join the group (women only, sorry guys! Ask your girlfriend hehe.). Our hope is that you find posts to relate to, and maybe some answers to your own questions!

Topic: Wellness Wednesday

Posting this here cuz I can’t really express my feelings elsewhere and hubby doesn’t understand what I’m going through! I am 29 years old mum of 3 beautiful kids. I found out I was pregnant (planned) last Wednesday and while I was super happy my sixth sense had me anxious. Saturday afternoon i started bleeding and after a couple of bloods and long visits to the hospital last night it was confirmed that I was going through a miscarriage. I know it was only 5 weeks yet and whatever happens it happens for a reason but I still can’t help but cry! There’s no real reason for behind me sharing this with you except maybe someone will understand what I’m going through and maybe I’ll feel a bit better and less alone! Please keep me in your thoughts and prayers xx

EDIT TO ADD: this is my second miscarriage. First was before I had my oldest daughter but for a few reasons my doctors in the UK aren’t aware of it which is making me feel worse. I’ve decided to take them into confidence tonight when I go for another set of blood tests!

Read up the Facebook Community answers and advice HERE.

The post GGG – I just experienced a miscarriage appeared first on Dear Alyne.

]]>
https://www.clone.dearalyne.com/health-wellness/ggg-16/feed/ 0
GGG – Getting married and having a baby has been the best adventure and experience of all https://www.clone.dearalyne.com/relationships-family/ggg-22/ https://www.clone.dearalyne.com/relationships-family/ggg-22/#respond Thu, 06 Sep 2018 10:09:51 +0000 https://clone.dearalyne.com/?p=787 The post GGG – Getting married and having a baby has been the best adventure and experience of all appeared first on Dear Alyne.

]]>
Welcome to Girls Gone Global! This is a post taken from our Facebook Community where we support and empower women to make changes in the world, together! Below you will find a post from one of our 80K+ group members, talking about their very personal story or issue. With the agreement of the author we are allowed to share it on the Dear Alyne Blog to inspire, and to help other women. To read the community answers, please click on the link below and join the group (women only, sorry guys! Ask your girlfriend hehe.). Our hope is that you find posts to relate to, and maybe some answers to your own questions!

Topic: Career Tuesday

I’m a 28 year old from Spokane, WA, USA.
I have studied in the Middle East, was an LDS (mormon) missionary in El Salvador and Belize, was a travel ICU nurse throughout the USA, and have traveled throughout North, South, and Central America as well as Asia.
When I started my Doctorate program, it was made clear we were not to get married, have babies, or get divorced during those 3 years of grad school. Having a family has always been my ultimate dream! The right man came, and we knew it was time to start our family. Getting married and having a baby has been the best adventure and experience of all!! Being a wife and mother is the most empowering and fulfilling role I’ve had yet!
I have graduated with my Doctorate as an Acute Care Nurse Practitioner and am expecting baby #2. My husband always tells me “you can have it all!”. I’m starting to believe him!!

Read up the Facebook Community answers and advice HERE.

The post GGG – Getting married and having a baby has been the best adventure and experience of all appeared first on Dear Alyne.

]]>
https://www.clone.dearalyne.com/relationships-family/ggg-22/feed/ 0
GGG – How can I quit my job where I am harassed at? https://www.clone.dearalyne.com/career-talent/ggg-2/ https://www.clone.dearalyne.com/career-talent/ggg-2/#respond Thu, 06 Sep 2018 07:02:19 +0000 https://clone.dearalyne.com/?p=753 The post GGG – How can I quit my job where I am harassed at? appeared first on Dear Alyne.

]]>
Welcome to Girls Gone Global! This is a post taken from our Facebook Community where we support and empower women to make changes in the world, together! Below you will find a post from one of our 80K+ group members, talking about their very personal story or issue. With the agreement of the author we are allowed to share it on the Dear Alyne Blog to inspire, and to help other women. To read the community answers, please click on the link below and join the group (women only, sorry guys! Ask your girlfriend hehe.). Our hope is that you find posts to relate to, and maybe some answers to your own questions!

Topic: Career Tuesday

I work an odd job that could best be explained as a weapons mechanic for the United States military. (I’m not enlisted anymore) I work with 99.5% men (not exaggerating). I am also a single mom of 2 beautiful little girls who have some high needs after a traumatic situation in our lives.
It’s not easy. I love my job but absolutely hate most of the people I work with. They have bullied me so badly this year that I am looking into options to leaving my career but it’s scary as my kids have some expensive medical needs.
It’s a hard decision because I love being that badass but graceful woman who comes in with her steeltoes, torn workpants, grease on her face, and fixes the issue. I dont want to be normal. I don’t want to be average. I dont want to lose my fire. But I don’t want to panic at the thought of going into work and being harrassed.

Read up the Facebook Community answers and advice HERE.

The post GGG – How can I quit my job where I am harassed at? appeared first on Dear Alyne.

]]>
https://www.clone.dearalyne.com/career-talent/ggg-2/feed/ 0