A rewind_posts() function is used to reset the post query and loop counter,allowing us to do another Loop using same content as first Loop.Place this function call directly after finishing first loop. Example:- Here is an example that processes the main Loop content twice:

The query_posts function is used to easily modify the content returned for the default WordPress Loop.We can modify the content returned in $wp-query after the default database query has executed,fine-tune the query parameters,and re-execute the query using query_posts. If we want to display number of posts then thequery_posts() function should…

How to secure wordpress website from HACKERS. Use the following steps to make Your Website more secure in WordPress:- 1.Don’t Use Nulled Themes:- Few sites provide nulled or cracked themes. A nulled or cracked theme is a hacked version of a premium theme, available via illegal means. They are also…

How to get the content of the page according to page id in WordPress:- Get the content of the page according to page id in wordpress. Use the following code:- <?php $my_postid = 14;//This is page id or post id $content_post = get_post($my_postid); $content = $content_post->post_content; $content = apply_filters(‘the_content’, $content);…