[thebestsolver.com] To create relatedpost in wordpress usually we need plugin, but almost plugin can be the site is slow and down server, How to Solve this problem ? We can create the related post without plugin based on tag and based on category. Displaying related post based on Category (Categories): Login to your WordPress dashboard [...]
Create Latest Post/Recent Post WordPress
The Following is Php Code to Show Recent Post or Latest Post WordPress <ul> <?php $recent = new WP_Query(‘showposts=5′. $posts .’&orderby=post_date&order=desc’); while($recent->have_posts()) : $recent->the_post();?> <li><a href=”<?php the_permalink() ?>” rel=”bookmark”> <?php the_title(); ?> </a></li> <?php endwhile; ?> </ul>
How to change WordPress Password ?
Login to your wordpress On the Users Menu–>Click Your Profile On the right side will show up about your profile, you can change password with the fill new password.Look picture below!
Create Random Post WordPress
[thebestsolver.com] I want to display random post in sidebar wordpress without plugin, How to do it ? just copy paste this code and put in your theme wordpress template, in this case, I put the code in sidebar.php <?php query_posts(‘orderby=rand&showposts=15′); ?><!–post number–> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <ul> <li><a href=”<?php the_permalink(); [...]

Create Recent Comments or Latest Comment WordPress
The Following is Php code to Show latest comment or Recent Comment on WordPress : <?php global $wpdb; $sql = “SELECT DISTINCT ID, post_title, post_password, comment_ID, comment_post_ID, comment_author, comment_date_gmt, comment_approved, comment_type,comment_author_url, SUBSTRING(comment_content,1,30) AS com_excerpt FROM $wpdb->comments LEFT OUTER JOIN $wpdb->posts ON ($wpdb->comments.comment_post_ID = $wpdb->posts.ID) WHERE comment_approved = ’1′ AND comment_type = ” AND post_password = [...]