$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-8,page-paged-8,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
slide1.jpg
What Is Religious Healing?-How To Practice?

Normally identified as energy healing, some typically refer to it as the 'laying of hands'.By way of out historical past, it has been revealed that healng employs channelled energy from resource and the universe that is drawn down through the 'healers' very own energy channel...

process31.jpg
A Appear at Drug Addiction in the Philippines

With significantly of the emphasis on drug use in the United States, several men and women likely don't pay out significantly interest to drug addiction in the Philippines.  Why really should we?  Since it is an at any time-escalating issue for the men and women...

b-recent-trends-in-storytelling.jpg
VISION, MISSION AND OBJECTIVES OF BUSINESS

VISION, MISSION AND OBJECTIVES OF BUSINESS *Shanmukha Rao. Padala  **Dr. N. V.S. Suryanarayana INTRODUCTION:             The leveraging of a firm's internal resources, capabilities and core competencies to accomplish the firm's vision, mission and objectives in a competitive environment is ‘Strategic Intent'. It is about winning competition battles...

slide1.jpg
Ringing in Ears – Tips to Avoid or Take care of Tinnitus

Ear Ringing TinnitusDo you working experience that annoying, buzzing, whistling or clicking seem in your ears? This ought to be since of a challenge referred to as tinnitus or ringing in ears. Exposure to loud sounds, ageing, earwax, substantial doses of antibiotics, ear an infection,...

team31.jpg
The Reduced Esophageal Sphincter and Heartburn

If you're just one of the numerous men and women who suffers from the much less than enjoyable acid reflux, identified in medical circles as gastroesophageal reflux ailment, then you'd most likely like to know what brings about it. Really don't belief every thing you...

process41.jpg
Tips On How To Get Care Of Kid&#039s Teeth

A fantastic smile is described by mainly the enamel, which are to be guided and preserved correctly from the childhood when the milk enamel erupt into the oral cavity. The upkeep and care of main enamel will help in eruption of lasting enamel afterwards at...

process11.jpg
Reiki Healing Benefits

Reiki tactics are utilised to recover the system, intellect and the spirit. Reiki is a all-natural type of energy therapeutic, making use of different frequencies of energy to recover at all concentrations. Electricity is channeled by the practitioner and directed by the fingers to where...

team41.jpg
Migraine – Causes, Signs or symptoms and Cure

Migraine is a neurological disease of which the most frequent symptom is an extreme and disabling episodic headache. Migraine problems are generally characterized by critical pain on a single or both of those sides of the head. Absent serious head accidents, stroke, and tumors, the...

b-inteligent-transitions-in-ux-design.jpg
Ideas for Dealing with Chemotherapy Facet Consequences

Most of the typical forms of cancer are fought by means of chemotherapy and radiation treatment method. Based on the specific prepare that is formulated by the doctors who are overseeing the unique case, sufferers could have to submit them selves to various rounds of...

slide2.jpg
five Ideas For Breast Well being

Your breast are an significant element of your all round health and an significant element of your self image. With breast cancer turning into a important epidemic in the world today, finding out how to consider care of your breast can signify life or loss...

team31.jpg
Suggestions of Averting Miscarriage

It can be tricky to know how to keep away from miscarriage, but normally there are warning symptoms. You need to react swiftly if you knowledge any of the symptoms. Miscarriages materialize most normally inside of the initially thirteen months of being pregnant. The brings...

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...

team31.jpg
Process Put up-op Treatment Strategies

Several men and women have the mistaken impact that beauty operation is not serious operation at all. Because the treatments are generally not medically important in most conditions, they are perceived to be decrease possibility. Having said that, that is not the situation treatments like...

b-madrids-photographer-marathon-01.jpg
Selecting the Ideal Glutathione Health supplements

If you are interested in utilizing glutathione supplements for dealing with a health care affliction, or merely preserving great overall health, it is critical to opt for a merchandise that will perform correctly. Sad to say, there are a amount of products on the market...

process21.jpg
Tips to Decide on Good Dental Clinics

It is accurate that there are no dental clinics that are the identical in terms of solutions and features. If you are on the lookout for the most effective dental clinic, it is most effective to take into account its features. There are some dental...

How to Show Your Wife You Love Her
Plastic Surgery: Is it Really Necessary?

#Supplement #WeightLoss #Weight #Yoga Plastic surgery used to be something which people such as movie stars went in for, but not the ordinary everyday person. Nowadays, all kinds of people are thinking about...

b-recent-trends-in-storytelling.jpg
Pruritus Ani Therapy Ideas

Pruritus ani is a persistent itch close to the anus. Anal itching is commonly an isolated pores and skin complaint in usually healthy persons, but in some it is component of a dysfunction involving other locations of the pores and skin, especially the vulva in...