$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-11,page-paged-11,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
Eye Floater Procedure

Eye floaters are incredibly frequent. In most circumstances they are a delicate annoyance at worst, but for some they are critical adequate to obscure vision generating it complicated to read or perform other day-to-day responsibilities. Even if not harmless floaters can be a genuine dilemma....

slide2.jpg
Skin Care – Guidelines for Human body Massage

Skincare is not just about deal with. Other parts of the body should have the same form of care and pampering. Just a very little body massage with the proper aroma oil will not only increase skin`s excellent, but also make a person really feel...

team31.jpg
Use Alternative Natural Medicine for health benefits

If you feel uncomfortable while using drugs to cure simple health problems, there is another option for you. There are a number of natural alternatives to treat ailments. Alternative natural medicine treatment is gaining popularity, and if used correctly, can be quite beneficial for...

b-madrids-photographer-marathon.jpg
Health and fitness Health supplements And Its Usefulness

To stay healthful our physique involves a variety of nutritional vitamins, minerals and other vitamins. These vitamins, nutritional vitamins and minerals are accessible via a variety of foodstuff. Insufficient of these vitamins make the physique endure from a variety of deficiency. IN purchase to fulfil...

process11.jpg
Dealing with Depression

Depression, also clinically identified as big depressive problem, affects tens of millions of people today about the environment but most do not fully grasp that melancholy is a pretty authentic sickness. Individuals that have by no means suffered with melancholy fully grasp pretty small about...

process41.jpg
Guidelines for getting pregnancy

5 Finest positions to get expecting fastGetting expecting possibly the easiest of all things, even so, some partners do locate it tricky to conceive for various explanations, together with weak or inadequate sperm rely. In some situations, as when mother nature desires a strengthen, a small...

b-inteligent-transitions-in-ux-design.jpg
four Tips to Cut down Depression By Exercise

People today are living a incredibly stressful everyday living these days and as a result of which they facial area with a good selection of wellness challenges. Everyday living is so active that people today really do not invested any time on training or stress-free....

process31.jpg
Food plan – Wholesome Eating And Workout

Our everyday living and well being is impacted every working day by the food items we eat. Your human body requirements a continual source of electricity to fuel your heartbeat, respiration, digestion and to support maintenance human body tissue. This electricity is measured in calories....

b-portugal-2013-road-trip-gallery-02.jpg
Holiday getaway Coronary heart Guidelines

The holiday season is coming. This holiday season can be heartwarming. But sometimes it can also cause heart troubles. Extreme consuming in the holiday get-togethers is not a great notion. Any act that triggers the disruption of the usual heart rhythm need to be avoided....

process31.jpg
Your Top secret Guide to Sexual Intercourse

Sexual intercourse has been taking place on the planet ever considering that the first non-protozoon animal has progressed. Even soon after various ages of evolution, sexual intercourse is still the only suggests to reproduce for better organisms. There are several sophistications where by...

process21.jpg
How To Catch Sea Bass

Learning how to catch sea bass is just not always challenging, but for inexperienced angler, it can be a discovering curve of sorts. The critical element to try to remember is that you definitely will require some follow and you will require to be ready...

team41.jpg
Residing With Seborrheic Dermatitis

Given that 2004, I've suffered from a problem known as, "seborrheic dermatitis. Some persons who have this type of dermatitis get relief from a lot of of the merchandise or shampoo's available…but for some persons this kind of as myself, getting relief can be elusive...

b-inteligent-transitions-in-ux-design.jpg
How to Reside with Muscular Dystrophy

Muscular dystrophies are a group of far more than twenty distinctive genetic neuromuscular conditions, some far more debilitating than some others. The most frequent, Duchenne muscular dystrophy (DMD) influences 1 in 3500 boys. There is a issue in the chromosome that codes for a protein...

b-inteligent-transitions-in-ux-design.jpg
Meals for stale, brittle Nails Nourishment Strategies

Brittle nails are  typically not  simply because of a health care sickness. Brittle fingernails are a typical status, occurring to about twenty% of folks more girls than adult males produce brittle nails. Brittle nails typically break or strip in horizontal levels, commencing at the nail's...

slide1.jpg
How to Dance With a Woman

Gradual dancing is just one of the most passionate means you can get shut and intimate with your spouse at a community location. A lot of girls love it when the male asks for their hand and takes them to the dance flooring. So keep...

process21.jpg
Breast Surgical procedure in Europe

Professional medical travelers trying to find high course, skilled and affordable surgical treatments and therapies for their needs glimpse for doctors and surgeons who offer you the ideal in contemporary and high-tech tools, instruction, and expertise. Renowned beauty surgeon Dr. Toncic and his team offer...

b-portugal-2013-road-trip-gallery-01.jpg
Plastic Surgical treatment in the Philippines

Dilemma in Beauty Plastic Surgical treatment This is a person detail for positive that I, as a Plastic Surgeon could share to any one incredibly much interested in boosting their physical overall look. Right now, that the general public have an improved desire in cosmetic...