Monthly Archives: August 2017

Display First Few Characters Of A WordPress Post Outside The Loop

<?php echo apply_filters( ‘the_content’, wp_trim_words( strip_tags( get_post_field(‘post_content’, $recent[“ID”]) ), 55 ) ); ?> where $recent[“ID”] is of the ID of the post. If you are already querying the post and already have a WP_Post object, you can simply use this:

Posted in WordPress Tagged with:

Query Anything On WordPress Anywhere

<?php $args = array(       ‘posts_per_page’   => ‘3’,       ‘post_status’   => ‘publish’,     ); $recent_posts = wp_get_recent_posts( $args ); // Loop each post foreach( $recent_posts as $recent ) {   echo get_the_title($recent[“ID”]);   echo $recent[“post_content”]; } wp_reset_query(); ?> Refer the WP_Query class reference for a

Posted in WordPress Tagged with:

6 Tips for Efficient Tax Filling For First Timers

Tax filing can be a pretty frustrating and annoying time for many people. You have to get so many documents together to give your tax advisor or to just send into the IRS. However, this doesn’t have to be the

Posted in Guest Posts Tagged with: ,

How Much Free Support Is Fair Enough?

How much time should you give away for free? Where do you draw the line? I share my thumb rule that helps me decide when I do a job for free and when I should bill the client.

Posted in Entrepreneurship Tagged with: , , , ,

Create Sarahah Style Feedback Page For WordPress In 3 Simple Steps

If you want to create an anonymous feedback page for website and let users write to you anonymously, this tutorial is for you.

Posted in Tutorials, WordPress Tagged with: , ,