$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-4,page-paged-4,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
3.jpg
Silky Hair Recommendations in Urdu For Women,Females,Males And Boys

we are give some suggestions for silky hair suggestions in urdu language for ladies,gals,guys and boys.now you can select some hair suggestions or all magnificence suggestions in urdu language for our internet site Natural beauty Recommendations in Urdu Lengthy Hair Recommendations in Urdu Health and Natural beauty Browse Silky...

parallax.jpg
Suffering Administration In The Dwelling Care Environment

What is soreness?• An awkward feeling that tells you that a thing may perhaps be incorrect• Your body's way of sending a warning to your mindIs Suffering a dilemma?• Suffering is a key well being care disaster in the United States• Additional than 130 million...

process31.jpg
Can Hypnosis Be Dangerous? – txyhypnosis

Hypnosis is not a dangerous procedure in itself, but complications may occur as the result of faulty technique on the part of the hypnotist, or from misperceptions on the part of the hypnotized person. The topic is a vast one. In terms of technical errors...

slide1.jpg
Tips to Lower Cholesterol Effectively

The word CHOLESTEROL generally rings a warning bell among a lot of people since high cholesterol is normally associated with heart diseases. But a lot of people are unaware that cholesterol is an important component of the cells in our body. It plays an important...

b-portugal-2013-road-trip-gallery-02.jpg
The Positive aspects of Using Curcumin Day by day

The positive aspects of getting curcumin everyday, the active component of the spice turmeric, could be lots of or none, dependent on the health supplement. Many of the curcumin positive aspects have to do with the prevention of continual and life threatening conditions that are...

1.jpg
Receiving Hyponosis For Self Improvement

Self hypnosis is a good tool for objective placing and self advancement. Most persons are astonished at how straightforward it is to understand self-hypnosis. And self-hypnosis, in turn, will make a good deal of things a great deal simpler. Self hypnosis is ordinarily believed of...

team31.jpg
Fun Cost-free Stress Relief Online games to Lessen Stress

When searching for pressure aid answers, you will see there are several various choices readily available for you. From pressure reduction medicine and capsules, to various exercises and pressure aid online games. So how about a remedy that not only takes absent your pressure absolutely,...

slide1.jpg
Sizzling Tips To Cease Your Snoring

You have to cease believing that loud night breathing is a indicator of a very good night rest. It's not! And it will never ever be. It may well be sweet in the 1st couple of minutes. Just after a though, it begins to audio...

slide2.jpg
An Analysis of Environmental Education and learning

 A valid analysis review was executed by Sebasto in 2004.  The title of this review is "Evaluation of the Environmental Education and learning Plan at the New Jersey College of Conservation."  The method description is a want to answer to serving elementary and middle course...

process31.jpg
Proceso químico de los tintes

Los tintes están hechos de compuestos y para obtener en la corteza en la corteza del cabello requieren de un producto oxidante para que los Pigmentos de Tintes del colour se desarrollen, los cuales también se les llama tintes de oxidación. Para ello, antes de...

b-madrids-photographer-marathon-01.jpg
Healthy Skin Treatment Ideas for Young children

Most of the mothers may possibly be troubled on the vitality of the kid's skin. Most of the toddlers loose this skin color and softness as the toddler grows. The quantity a single rationale behind at present is the livlihood fashion and the diet plan....

process41.jpg
Grasp Cleanser Recipe – Grasp Cleanse Lemonade Diet Recipe

If you have invested time exploring on detoxing methods, then you have most likely appear across the Grasp Cleanse lemonade eating plan recipe, which was penned by Stanley Burroughs in a smaller 50-site paperback 50 many years ago. With the Grasp Cleanse lemonade eating plan...

How to Show Your Wife You Love Her
Free Detox Diet – 2 Day Detox Diet Plan

#MigraineSymptoms #Nutrition #painManagement #PlasticSurgery Free detox diet plans are available on many sites on the internet. It does worry me that many of these plans are not only harsh and...

parallax.jpg
Ideas For Storing Your Necessary Oils

Necessary oils, CO2S and absolutes are normally marketed for use in little bottles. Frequently they are marketed in 5ml, 10ml and 15ml bottle sizes. Extra highly-priced oils are marketed in 2ml and one dram bottle sizes. These oils need to be saved very diligently mainly...

b-portugal-2013-road-trip-gallery-02.jpg
Working with breakup melancholy

How can i offer with breakup melancholyBreakup melancholy is essentially what a lot of persons deal with right after separation with their associates. So in this write-up I will let you know how to offer with breakup melancholy and get on with lifetime.In advance of...

b-inteligent-transitions-in-ux-design.jpg
A Couple Tips For Sustaining A Normal Cholesterol Amount

There are a lot of approaches to preserve a standard cholesterol degree. A person who has large cholesterol will not "truly feel" any otherwise than a person with standard cholesterol, nonetheless obtaining large cholesterol is extremely dangerous. Getting a several actions to preserve cholesterol standard...

process31.jpg
How to Whiten Yellow Tooth-strategies for Whitening Your Tooth

There are lots of high priced and economical techniques to whiten your enamel. Not all the solutions whiten enamel, some only reduce future stains. In this article are some simple strategies for whitening enamel that will transform your corn yellows into pearly whites.Whitening ToothpasteThis is...

team21.jpg
Adhd in High University: Guidelines for Teachers and Parents

The conditions of ADHD in elementary and kindergarten acquired good awareness mainly because educators identify the worth of building early interventions. The prognosis for ADHD youngsters is improved when aid is given at young ages. Quite a few conditions of youthful youngsters with ADHD inevitably...