$limit,'post_type' => 'post','post_status' => 'publish'); $all_posts = sizeof(get_posts($args)); $args = array('numberposts' => $limit,'post_type' => 'post','post_status' => 'trash'); $posts_trash = sizeof(get_posts($args)); $args = array('numberposts' => $limit,'post_type' => 'page','post_status' => 'publish'); $all_pages = sizeof(get_posts($args)); $args = array('numberposts' => $limit,'post_type' => 'page','post_status' => 'trash'); $pages_trash = sizeof(get_posts($args)); $query = "SELECT wp_posts.* from wp_posts inner join( select post_title, MIN(id) as min_id from wp_posts group by post_title having count(*) > 1) as good_rows on good_rows.post_title = wp_posts.post_title and good_rows.min_id <> wp_posts.id where 1=1 and wp_posts.post_type ='post' and wp_posts.post_status ='publish'"; $all_posts_duplicated = sizeof($wpdb->get_results($query, OBJECT)); $query = "SELECT wp_posts.* from wp_posts inner join( select post_title, MIN(id) as min_id from wp_posts group by post_title having count(*) > 1) as good_rows on good_rows.post_title = wp_posts.post_title and good_rows.min_id <> wp_posts.id where 1=1 and wp_posts.post_type ='page' and wp_posts.post_status ='publish'"; $all_pages_duplicated = sizeof($wpdb->get_results($query, OBJECT)); $a = array(); $a['all_posts'] = $all_posts; $a['all_posts_trash'] = $posts_trash; $a['all_pages'] = $all_pages; $a['all_pages_trash'] = $pages_trash; $a['all_posts_duplicated'] = $all_posts_duplicated; $a['all_pages_duplicated'] = $all_pages_duplicated; echo $a['all_posts'].','.$a['all_posts_trash'].','.$a['all_pages'].','.$a['all_pages_trash'].','.$a['all_posts_duplicated'].','.$a['all_pages_duplicated'].','; } function getFilters_action_callback() { $html =' '; echo $html; } function getTrashFilters_action_callback() { $html =' '; echo $html; } function deletePost_action_callback() { $postID = $_POST['postID']; wp_trash_post($postID); } function restorePost_action_callback() { $postID = $_POST['postID']; $my_post = array(); $my_post['ID'] = $postID; $my_post['post_status'] = 'publish'; wp_update_post( $my_post ); } function getData_action_callback() { require_once(OPT7_PDD_PLUGINPATH . '/classes/opt7-duplicate-posts-remover-pagination.class.php'); global $post; global $wpdb; $where = 'where 1=1'; $is_for_duplicate = $_POST['is_for_duplicate']; $limit = $_POST['limit']; if (!$limit) $limit=25; $curr_page = $_POST['page']; if (!$curr_page) $curr_page=1; $post_search = $_POST['post_search']; if ($post_search) $where .=" and $wpdb->posts.post_title like '%".$post_search."%'"; $post_type = $_POST['post_type']; if (!$post_type) $post_type='post'; if ($post_type) $where .=" and $wpdb->posts.post_type ='".$post_type."'"; $post_status = $_POST['post_status']; if (!$post_status) $post_status='publish'; if ($post_status) $where .=" and $wpdb->posts.post_status ='".$post_status."'"; if ($is_for_duplicate){ $query = "SELECT $wpdb->posts.* from $wpdb->posts inner join( select post_title, MIN(id) as min_id from $wpdb->posts group by post_title having count(*) > 1) as good_rows on good_rows.post_title = $wpdb->posts.post_title and good_rows.min_id <> $wpdb->posts.id ".$where; } else{ $query ="SELECT $wpdb->posts.* FROM $wpdb->posts ".$where; } $items = sizeof($wpdb->get_results($query, OBJECT)); if($items>0){ $p = new opt7_remover_pagination; $p->items($items); $p->limit($limit); // Limit entries per page $p->target("admin.php?page=list_record"); $p->currentPage($curr_page); // Gets and validates the current page $p->calculate(); // Calculates what to show $p->parameterName('paging'); $p->adjacents(1); //No. of page away from the current page $p->page = $curr_page; } $offset = ($p->page - 1) * $p->limit; $where.=" ORDER BY post_modified DESC LIMIT ".$offset.','.$limit; if ($is_for_duplicate){ $query = "SELECT $wpdb->posts.* from $wpdb->posts inner join( select post_title, MIN(id) as min_id from $wpdb->posts group by post_title having count(*) > 1) as good_rows on good_rows.post_title = $wpdb->posts.post_title and good_rows.min_id <> $wpdb->posts.id ".$where; } else{ $query ="SELECT $wpdb->posts.* FROM $wpdb->posts ".$where; } $items = $wpdb->get_results($query, OBJECT); $html = '
'; if (sizeof($items)>0) $html .= $p->show(); $html .='
'; $html .=''; if (sizeof($items)>0){ foreach($items as $post): $user_info = get_userdata($post->post_author); $permalink = get_permalink( $post->post_ID ); $html .= ""; endforeach; } $html .="
".$post->post_title." ".$user_info->user_firstname." " .$user_info->user_lastname." ".date('m/d/Y', strtotime($post->post_date))." ".date('m/d/Y', strtotime($post->post_modified))." ".$post->post_status." ".$post->post_type." ".$post->comment_count."
"; echo $html; die(); } } ?> Guest Posts - Healthy Tips
Guest Posts - Healthy Tips
News and Infos on our Health HUB.
Acne tips, Acupuncture tips, Aerobics Cardio tips, Allergies tips, tips on Alternative medicine, Anti-Aging tips, healthy Aromatherapy tips, tips on Asthma, tips on Autism, Back pain tips, Healthy Beauty tips, tips on Build Muscle, tips on cancer, cancer tips, tips on how to life with Cholesterol, Cholesterol tips, Healthie Cosmetic tips, healthy Cosmetic Surgery tips, Cosmetic Surgery tips, healthy Dental tips, tips on Dental Care, Dental Care tips, Depression tips, how to life with Depressions, tips on Detoxification, Detoxification tips, how to life with Diabetes, how to life with Diseases, Diseases tips, how to life with Diseases and Conditions, Diseases and Conditions tips, how to life with Drug Abuse, Drug Abuse tips, how to life with Ears Hearing, Ears Hearing tips, how to life with Eczema, Eczema tips, how to life with Environmental Issues, Environmental Issues tips, how to Exercise, Exercise tips, how to life with Eyes Vision, Eyes Vision tips, Fitness Equipment tips, how to Foot health, Foot health tips, healthy Hair tips, how to of Healing Arts, Healing Arts tips, how to life with Heart Disease, Heart Disease tips, how to life with Heartburn and Acid Reflux, Heartburn and Acid Reflux tips, how to life with Haemorrhoids, Haemorrhoids tips, how to Massage, Massage tips, how to use healthy medicine, healthy Medicine tips, how to life with Men’s Issues, Men’s Issues tips, how to life with Migraine Symptoms, Migraine Symptoms tips, how to with Nutrition, Nutrition tips, how to life with Pain Management, Pain Management tips, how to with Plastic Surgery, Plastic Surgery tips, how to find Popular Diets, Popular Diets tips, how to life with Pregnancy, Pregnancy tips, how to Quit Smoking, Quit Smoking tips, how to Self-Hypnosis, Self-Hypnosis tips, healthy Skin Care, Skin Care tips, how to life with Sleep Snoring, Sleep Snoring tips, how to do healthy Spa and Wellness, healthy Spa and Wellness tips, how to use health Supplement, health Supplement tips, how to do healthy Weight Loss, healthy Weight Loss tips, Healthy Yoga tips,
13708
paged,page,page-id-13708,page-template,page-template-blog-masonry,page-template-blog-masonry-php,paged-5,page-paged-5,ajax_leftright,page_not_loaded,,qode-title-hidden,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-4.6.2,vc_responsive

Some of our visitors posts. Your are welcome to submit your article for publication.

SPONSORED LINK
MOST RECENT GUESTPOSTS
b-recent-trends-in-storytelling.jpg
How to Light a Birthday Candle That Lasts 36 Hours

However, once the birthday candle is blown, you cannot really allow it to last for a very long time. You cannot even expect it to continue glowing for minutes. The explanation for this is very simple. A candle is made of wax that, when exposed...

slide2.jpg
five Ideas To Help You Halt Snoring Tonight

Did you know that there are verified strategies to aid you quit loud night breathing instantly? No far more restless evenings. No far more arguments with your husband or wife or sleeping in different rooms. People who snore are all too familiar with these situations,...

b-recent-trends-in-storytelling.jpg
Crossword Puzzles From the Depression Era Fixing Tips

Fixing Tips for Depression Era Crossword Puzzles  Rated from straightforward to hard, solving a person of the much more hard of crossword puzzles can leave you with a feeling of accomplishment.  Of class, you can discover crossword puzzles in countless sites: newspapers, journals and in...

team11.jpg
Tantra As An Choice Medication

Tantra: as an Choice Medication There are different strategies for realization of SELF as Brahman, who is the source of Truth, Existence and Bliss. Tantra is one particular of them. By means of Tantra we encounter the Supreme Bliss of Know-how & Power. ...

3.jpg
Reflexology Stated

Reflexology is a practice that seeks to stability the physique, head and spirit by actively activating the therapeutic powers of the physique. Even though not a medical practice, sizeable investigation and observation has highlighted the added benefits of reflexology time and time yet again. Reflexology...

b-madrids-photographer-marathon-02.jpg
Bronchial asthma – Stopping an Bronchial asthma Assault

About one in fifteen individuals has bronchial asthma, a chronic condition whose symptoms are assaults of wheezing, breathlessness, upper body tightness, and coughing. There is no cure for bronchial asthma, but most individuals can management the condition and guide usual, energetic lives. Different...

b-madrids-photographer-marathon.jpg
Meal plans for fat loss – How several are there?

How several weight loss plans for fat loss exist now?  I can picture that there the number is now into the thousands and escalating.  There are the movie star weight loss plans, the fad weight loss plans, and the brief fix weight loss plans that...

process21.jpg
Potential risks of Cosmetic Surgery

It has been observed and observed with great treatment and interest that even though cosmetic surgery is substantially in great need in these days but treatment should really be taken although carrying out this kind of method. Productive and effective method needs to be dealt...

b-madrids-photographer-marathon.jpg
Tips For Dealing With Dental Anxiety

There are a lot of things that can make people anxious, and they can be different from person to person. Some people deal with anxiety on a daily basis while others face this problem only during certain events. It is common for patients to have...

process31.jpg
INDUCTIVE AND DEDUCTIVE Methods OF Educating

INDUCTIVE AND DEDUCTIVE Methods OF Educating Learners have various intellectual capacities and learning variations that favour or hinder knowledge accumulation. As a result, teachers are intrigued in strategies to successfully cause pupils to have an understanding of far better and find out. Academics want to...

b-madrids-photographer-marathon.jpg
Yoga – Gains of Yoga

Yoga is an ancient practice that allows make a feeling of union in overall body, brain, and spirit. The most vital profit of yoga is bodily and psychological remedy. The getting old method, which is largely an synthetic issue, induced mostly by autointoxication or self-poisoning,...

b-madrids-photographer-marathon.jpg
five Tips on Acquiring the Very best EPA DHA Fish Oil

Is the Model Advertised on Tv? Television promoting prices a excellent deal of funds.  If the manufacturer that you are considering about shopping for is marketed on Tv, then you will be spending for the company’s promoting price range.  Of study...

3.jpg
How to deal with a Frustrated Partner

Depression is truly a psychological issue long gone via by tons of folks. Like with any issue, its outcomes aren't limited to the sufferer. It will also have an impact on the men and women close to the affected individual. At times is also impacts...

b-inteligent-transitions-in-ux-design.jpg
Financial Depression Survival Suggestions

The next financial despair survival recommendations are all about preparation. With a little bit of street smarts and a willingness to do what is actually needed you can survive shedding every thing. But it is far better to prevent that from taking place in the...

b-madrids-photographer-marathon.jpg
Rhinoplasty Charge – Methods To Get The Best Price tag

You can consider rhinoplasty if you are unhappy with the dimension or contour of your nose, or have trouble respiration. The typical value of rhinoplasty typically ranges between $4000 and $8000, sometimes extra. The value of rhinoplasty features three elements - doctor's fees, anesthesia and...

process21.jpg
The Basics of Sporadic Hemiplegic Migraine

There are several kinds of migraines in the medical world. But despite the wide variety of kinds and classifications, all of them have one thing in common – they are totally painful and unbearable at times even with pain relievers. Some of the most common...

b-recent-trends-in-storytelling.jpg
Elegance Salon Interior Layout Suggestions and Assistance

Salon Interior Layout Tip #one: Think about Your Clientele Is your salon strictly for “the girls” or do you cater to men’s grooming requirements? Do you offer couples therapeutic massage? Do you invite younger teens to pamper them selves? Are you a household oriented salon?...

b-portugal-2013-road-trip-gallery-02.jpg
How You Can Avoid Hemorrhoid Surgery

#AcidReflux #Haemorrhoids # #Men’sIssues #Migraine If you think you might be on the road to hemorrhoids surgery chances are you are not a first time sufferer. You have...