earliest_day = 5; $this->latest_day = 20; } protected function get_all_posts() { // very quickly work out if we are sorting by cat or tag $cat = ''; if ($_POST['incategory'] != '') { $cat = '&cat=' . (int)$_POST['incategory']; } $tag = ''; if ($_POST['tagid'] != '') { $tag = "&tag_id=" . (int) $_POST['tagid']; } $all_posts = array(); $all_query = new WP_Query('showposts=' . $this->abs_max_posts . $cat . $tag); while($all_query->have_posts()) { $all_query->the_post(); $orig_date = get_the_date("Y-m-d H:i:s"); $i++; $all_posts[get_the_ID()] = array ( "link" => get_permalink(), "title" => the_title('','',false), "orig_date" => $orig_date, ); } return $all_posts; } public function redate_posts() { if (isset($_POST['latest_day']) && is_numeric($_POST['latest_day'])) { $this->latest_day = (int) $_POST['latest_day']; } if (isset($_POST['earliest_day']) && is_numeric($_POST['earliest_day'])) { $this->earliest_day = (int) $_POST['earliest_day']; } if ($this->earliest_day == 0 && $this->latest_day == 0) { echo "

Please go back - you cannot set latest and earliest at 0

"; return; } if ($this->earliest_day < 0 || $this->latest_day < 0 ) { echo "

Please go back - you cannot either value as lower than 0

"; return; } if ($_POST['tagid'] !='' && $_POST['incategory'] != '') { echo "

Please go back - you cannot set both slug and category!

"; return; } $total_diff_in_days = $this->latest_day + $this->earliest_day; echo "


"; echo "

The earliest day is {$this->earliest_day} days ago. The latest day is {$this->latest_day} days in the future

"; $allposts = $this->get_all_posts(); if (count($allposts) > 0) { $doneDays = array(); echo ""; foreach($allposts as $id => $postData) { $link = $postData['link']; $title = $postData['title']; $random_days_behind = rand(0,$total_diff_in_days); $random_days_behind = (int) $random_days_behind; $day_diff = $random_days_behind - ($this->earliest_day ); if ($day_diff > 0) { $plus_minus = '+'; } else { $day_diff = abs($day_diff); // get positive $plus_minus = '-'; } $doneDays[str_replace("+","",$plus_minus) . $day_diff]++; $strtotimestring = $plus_minus . $day_diff . ' days'; $date_time = (strtotime($strtotimestring)); // H:i:s // get the year/mo/day from strtotime(- xx days) $newDate = date('Y-m-d', $date_time); // randomly select a hh:mm:ss to post $newDate.= " " . str_pad( rand(0,23) , 2, '0', STR_PAD_LEFT) . ":" . str_pad( rand(0,59) , 2, '0', STR_PAD_LEFT) . ":". str_pad( rand(0,59) , 2, '0', STR_PAD_LEFT) ; $updateArray = array( 'ID' => $id, 'post_date' => $newDate, 'post_date_gmt' => $newDate, 'edit_date' => true, ); $result = wp_update_post($updateArray); echo ""; } echo "
$id $link $title Original date: {$postData['orig_date']} Changed date to : $newDate
"; echo "


"; ksort($doneDays); echo "

This shows the frequency of each post being posted x days ago/in future. It doesn't show every single day - only the ones with at least one post

"; //change for for() to show all days? might be handy echo ""; foreach($doneDays as $id => $val) { if ($id > 0) { $id = "+" . $id; } echo ""; } echo "
+/- daysNumber of posts
$id days$val posts
"; } else { echo "

Error - Could not find any posts to reorder!

"; } } protected function get_all_cats_options() { $args = array( 'type' => 'post', 'child_of' => 0, 'parent' => '', 'orderby' => 'name', 'order' => 'ASC', 'hide_empty' => 1, 'hierarchical' => 1, 'exclude' => '', 'include' => '', 'number' => '', 'taxonomy' => 'category', 'pad_counts' => true ); $categories = get_categories( $args ); $returnhtml = ''; foreach($categories as $cat) { $id = $cat->cat_ID; $name = $cat->name; $c = $cat->category_count; $returnhtml .= ""; } return $returnhtml; } protected function get_all_tags_options() { $tags = get_tags(); $returnhtml = ''; if ($tags) { foreach ($tags as $tag) { $id = $tag->term_id; $name = $tag->name; $c = $tag->count; $returnhtml .= ""; } } else { $returnhtml = ""; } return $returnhtml; } public function show_options() { ?>

Ash's Random Post Dater

Use this form to set ALL posts in the selected category to a random date between these two values.

This will update the post dates on ALL posts within the selected category/tag (or ALL posts in your wordpress blog if both are set to default). Please do not use if you do not want to reset ALL post dates. I do not recommend using this on a site with lots of live posts - especially if you use a permalink structure that includes the date in the url. I use it on new sites (add all content, then set all posts to random date in the past). Use at your own risk! You will lose the current post date time (it only changes the date posted - nothing else)

Only use one of the following two. Leave both at their defaults ("ALL CATEGORIES"/"ALL TAGS") to reorder ALL posts

Reorder post dates in this category:

(leave on "ALL CATEGORIES" if you don't want to reorder all within a certain category)

Reorder post dates with this tag slug (use the tag slug, not the tag):

(leave on "ALL TAGS" if you don't want to reorder all within a certain category)

Earliest Day - how many days back do you want the maximum one?

(put at 0 to put all posts in future)

Latest Day - Leave at 0 to make sure all posts are BACK dated.

(leave 0 to put all posts in past)

For example if you wanted your posts randomly set to a date in the next 30 days set the latest day as 30, the earliest day at 0

If you wanted your posts randomly set to a day in the previous 180 days then set the latest day as 0 and the earliest day as 180.

It randomly sets each post - the posts are not spaced out at exact intervals. It will readjust ALL your posts. Please make sure that you want ALL your posts to be randomised.

(Clicking this will randomly reorder all posts)
redate_posts(); } else { $random_post_dater->show_options(); } } Improving sexual health in men

Improving sexual health in men

Improving sexual health in men

The sexual wellbeing of men isn’t as convoluted as that of ladies. Demonstrate a man a specific sort of picture and if his cerebrum and sensory system are working legitimately to deliver nitric oxide, at that point a reaction will generally happen. That is not to rebate any mental, enthusiastic, and otherworldly segments yet it is the physical part that has the best effect on man’s sexual wellbeing. This article will concentrate on what men can do to enhance the physical segment of their sexual wellbeing. The side advantage is that these recommendations can likewise decidedly affect your general wellbeing and how you age.

In all the data I assembled to plan for this article, two abrogating issues continued surfacing. These two medical problems were reliably present. The first is hormone levels. The second is cardiovascular wellbeing. Most men would see how hormone levels could apply however few ever consider cardiovascular wellbeing.

sexual health in men

sexual health in men

Cardiovascular Health affects sexual health in men

Your cardiovascular wellbeing is as vital to your sexual wellbeing as it is to your general wellbeing. The motivation behind why focuses on the soundness of the endothelial cells that line the veins of your body. The formation of nitric oxide happens in these endothelial cells. Nitric oxide analysts trust that nitric oxide can amend up to 90% of all penile brokenness. At the point when the endothelial cells are harmed by hypertension, high sugar levels, cholesterol, and smoking this declines nitric oxide creation. Endothelial cells and their capacity to create nitric oxide are basic to the sexual strength of men.

Hormone Levels affects sexual health in men

At its most straightforward level, sex is only a hormone driven capacity intended to propagate the species. So, the sexual soundness of American men is in a bad position. Testosterone levels have been diminishing in the course of the most recent 20 years. Testosterone is the essential male sex hormone. It assumes a critical part of keeping up bone and bulk. Low levels of testosterone have been connected to brought down moxie and diabetes. Diabetes can influence the endothelial cells of the veins exacerbating the issue of lower testosterone levels.

In the course of recent decades, the level of testosterone in American guys has diminished by 16 percent. Analysts don’t know why. Be that as it may, there are a few pieces of information. The current Nurses’ Health Study uncovered some essential realities as they apply to ladies. Some of those facts additionally apply to the sexual strength of men since they influence both hormonal levels and cardiovascular wellbeing.

READ  Airtel Nigeria available job opportunity -Accounting manager

Also, as testosterone levels have diminished this has brought about lessened bulk and tone, decreased digestion and vitality and an expansion in muscle to fat ratio. Not a provocative blend! You can acknowledge it and do nothing about it. Or, on the other hand, you can start to live by settling on more advantageous eating and exercise decisions. Decisions that will help your body really be more youthful physically than your sequential age.

You Have Control Over the Process!

Consistently you supplant around 1% of your cells. That implies that 1% of your body is new today, 1% is new tomorrow, and 1% is new every single day of your life. You pick whether those new cells will be supported appropriately or inadequately. You pick whether you will have sound and dynamic cells that demonstration youthful. Or, on the other hand, wiped out and stationary cells that demonstration old.

The sexual soundness of your body will be influenced by the decisions you make. I call it “The 1% Solution!” and it will emphatically influence the cardiovascular and sexual strength of your body.

Decisions Affecting Sexual Health in men

The Nurses’ Health Study featured five basic way of life and eating regimen practices. They are:

o Carbohydrates – Slow versus Fast!

o Fats – Natural versus Artificial!

o Protein – Animal or Plant!

o Body Weight – Your BMI!

o Exercise – Is It Important?

On the off chance that you take a gander at this rundown, three basic parts develop Diet, Weight, and Exercise! Presently you may surmise this lone applies to ladies. It doesn’t! Each of these variables will influence your cardiovascular wellbeing and hormonal adjust. Each of these components additionally influences the strength of your endothelial cells and their capacity to deliver nitric oxide. Nitric oxide generation is an essential part of the sexual strength of men. We should take a gander at how these components affect your sexual wellbeing.

The Diet Component affects sexual health in men

Your health will depend on the type of food you eat and drink. The sexual soundness of your body and the cardiovascular wellbeing of your circulatory framework will be enormously dictated by your nourishment and drink decisions. These decisions will likewise affect the potential for sickness and how you age.

sexual health in men

sexual health in men

Your first decision is in the territory of starches. Is it accurate to say that you are picking nourishments and beverages that are high in quick carbs (basic sugars)? On the off chance that you are, at that point you have to comprehend that:

o Fast carbs upset hormone levels.

o Fast carbs make the potential for high glucose that can prompt diabetes.

READ  LAUTECH Departmental Cut-Off Marks 2017/2018 Released

o High glucose can harm the endothelial cells of your veins decreasing the generation of nitric oxide which is basic for good sexual and cardiovascular wellbeing.

Figure out how to devour sustenances that are high in moderate carbs (complex starches). Ease back carbs will keep your glucose levels typical and your hormonal levels adjusted. Drink water rather than sugary beverages and eating regimen soft drinks. Drinking water hydrates your framework, encourages you to adjust your hormone levels, and helps in weight administration.

Your second decision is in the zone of fats. Dispose of all trans fats from your eating regimen and supplant them with normal, heart-wellbeing fats. The Nurses’ Health Study plainly demonstrated how problematic trans fats are to the richness in ladies. As meager as four grams of trans fat (the likeness two tablespoons of stick margarine, one medium request of French fries or one donut) started to disturb their hormonal adjust.

What amount of your eating routine comprises of trans fats from fast food eateries? What number of requests of French fries and doughnuts have you devoured at work? Despite the fact that I can’t give you any hard research on men, it bodes well that we can be as influenced by trans fats as ladies seem to be. It’s the opportunity that you fuse sustenances that are rich in omega-3 unsaturated fats, (for example, wild, frosty water fish, walnuts, and flax seeds) since basic fats help to adjust hormone levels and advance solid cell work.

Your third decision is in the zone of protein. As indicated by the Nurses’ Health Study, ladies who got their protein from plant sources somewhat then from creatures stepped toward enhanced fruitfulness. Creature protein can antagonistically influence your sexual wellbeing. It additionally affects tumor!

In case you’re not willing to surrender your hamburger, pork or chicken, at that point contribute the time, vitality and additional cost to ensure that these wellsprings of protein are sans hormone. This likewise applies to your dairy items. A great part of the business still depends on hormonal infusions into their domesticated animals to help expand sustenance generation. Eating meat from these creatures and their results will influence your hormonal levels. In case you’re not willing to change to plant-based protein sources, at that point ensure your meat and dairy sources are sans hormone.

The Weight Component affects sexual health in men

Like it or not weight impacts the sexual soundness of your body. Why? Since fat meddles with your hormonal adjust! Fat likewise focus on your cardiovascular framework. This extra weight on your cardiovascular framework will bargain the sexual strength of your body. At present, 66% of Americans are overweight with no less than a third being large. Eating regimens are not the appropriate response. America has been counting calories throughout the previous 50 years. It has had no genuine effect on backing off overweight and corpulence rates.

READ  Preventing bank Fraud

You require a change in outlook from “slimming down” to “adhering to a good diet”. Settle on sustenance decisions in view of how it will enhance your wellbeing and health, not on how it will affect your weight. The vast majority who do this see their weight balance out or diminish.

The Exercise Component affects sexual health in men

Exercise is imperative for both sexual and cardiovascular wellbeing. Latency saps the body of its capacity to react to insulin and makes you less productive in engrossing glucose. An examination from the Electronic Journal of Human Sexuality featured that individuals who practiced all the time:

o Feel better about them.

o Think they are all the more sexually alluring.

o Experience more noteworthy levels of fulfillment.

It’s constantly vital to check with your doctor or medicinal services supplier before you begin an activity program. When you have they’re OK than endeavor to get no less than 30 minutes of activity for every day. Vigorous activities like strolling, running, biking, and swimming are vital and appear to expand the course to the pelvis and the regenerative organs. In any case, remember quality preparing works out. Quality preparing activities will enable you to keep up bone wellbeing and thickness. Furthermore, quality preparing activities will expand your spatial mindfulness. This is an exceptionally positive inclination that enhances your general prosperity.

The Nitric Oxide Component also affects sexual health in men

You can’t live without nitric oxide. Your cardiovascular framework couldn’t work appropriately without nitric oxide. The sexual wellbeing of your body spins around the creation of nitric oxide. Nitric oxide creation is needy upon the soundness of the endothelial cells of your veins, and sufficient supplies of the fundamental amino corrosive L-arginine.

Hypertension, high sugar levels, elevated cholesterol levels and smoking all influence your endothelial cells adversely. Harm to these endothelial cells will lessen nitric oxide creation. This can bargain the bloodstream to the sexual organ bringing about diminished affectability or potentially erectile brokenness.

Since nitric oxide is incorporated from the basic amino corrosive L-arginine, your eating routine needs to incorporate protein sources as well as supplements that contain this amino corrosive. It should be underscored that L-arginine isn’t a hormone and it isn’t testosterone. In any case, when appropriately brought into the body it can cross the blood-mind hindrance to sexual health in men.


Leave a Reply

%d bloggers like this: