get_posts() vs WP_Query vs query_posts() in wordpress

get_posts() vs WP_Query vs query_posts() in wordpress

In every wordpress theme we always use the get_posts() vs WP_Query vs query_posts() methods for creating the wordpress theme. We should know about wordpress methods first. query_posts() is overly simplistic and problematic way to modify main query of a page by replacing … Continue reading

How can we save Ram usages using some wordpress theme tricks

How can we save Ram usages using some wordpress theme tricks

We mostly use the get_permalink(), get_the_title() methods in our wordpress theme. Do not pass the post ID as parameter. if you’re doing a get_permalink or get_title() call with Post id, 8 out of 10 times you’ll need to more of … Continue reading

How to protect from wordpress spam comments words and increase the SEO

How to protect from wordpress spam comments words and increase the SEO

Spam comments is really major issue with wordpress. Spam comments will effect your site SEO. You should delete the spam word comments from wordpress site. For SEO of your site deleting spam word comments is good. Here are some steps … Continue reading

WP_Query vs query_posts() vs get_posts()

WP_Query vs query_posts() vs get_posts()

There are three ways for fetching data(posts) from wordpress. Programmers love to use query_posts more often then others. But I prefer to use WP_Query(). WP_Query is object base more secure then others. query_posts() is overly simplistic and problematic way to … Continue reading