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 data from Advanced Custom Fields plugin in WordPress:- Get value from Advanced Custom Fields plugin in WordPress. Use the following code:-
How to get image data according to page id in WordPress:- Get the image data in Page according to ID . Use the following Code:- Enjoy the content.
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);…
Search in site
Categories
- Future Technology (16)
- Indian Technology (4)
- Linux (8)
- Magento2 (14)
- Tips & Tricks (1)
- Uncategorized (2)
- Wordpress (14)
My Advertisement
Adsence Ads
Tags
Magento 2 Extensions
Archives
- January 2025 (1)
- November 2024 (1)
- September 2021 (1)
- August 2021 (1)
- December 2020 (1)
- April 2020 (1)
- March 2020 (2)
- September 2019 (1)
- July 2019 (4)
- June 2019 (2)
- May 2019 (3)
- April 2019 (17)
- March 2019 (11)
- February 2019 (1)
- August 2018 (7)
- July 2018 (2)
Advertisement
Categories
- Future Technology (16)
- Indian Technology (4)
- Linux (8)
- Magento2 (14)
- Tips & Tricks (1)
- Uncategorized (2)
- Wordpress (14)
Magento 2 Extension
Google adds
About Me
i’m a web developer that specializes in Magento2
GET IN TOUCH
- Kolkata,West Bengal INDIA
- (+91) 9679840783
- [email protected]