The first thing to do is open your functions.php file and paste in the following code:- Once that’s done,open index.php file and replace the standard code for printing titles. … with a call to our newly created print_post_title() function: Now, pointing one of in posts’ titles somewhere other than own blog, just scroll down in…
WordPress does not use meta description tags by default in POSTS.To create meta description tags for individual posts in your wordpress website use the following Code. Ans:-Open your header.php file in wordpress. Then paste the following code anywhere within the <html> and</html> tags:- Note:- For category pages, tag pages, archives and the home page, a…
Open terminal (CTRL + ALT + T) and then depending on action use this following code. To import database from local *.sql file by using terminal:- OR if you have a database username(as admin) and password(as admin137). Use this following code:-
97% of bloggers displays all of their posts the same way on their home page. Sure, WordPress has no built-in option to let we define how a post displayed.But wait: with custom fields,we can do it easily. Define how a post is displayed on our home page. Two values are possible: • Full post •…
By default, WordPress debugging is turned off, so to enable it, open wp-config.php (tip: take a backup copy of this file that we can revert to later if needed) in the root of our WordPress installation and look for this line: Replace that line with the following:- With those lines added to our wp-config.php file,…
To implement a selective blog feed that can be placed on a front page template or anywhere else in the design.Many CMS implementations feature some selected items from the blog feed on the home page, or even throughout the site in a sidebar or footer element 1st Step: Go to Post and Create the Categories…
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 be placed directly above the…
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 very dangerous for our site.…
How to get data from Advanced Custom Fields plugin in WordPress:- Get value from Advanced Custom Fields plugin in WordPress. Use the following code:-
Search in site
Categories
- Future Technology (16)
- Indian Technology (4)
- Linux (7)
- Magento2 (14)
- Tips & Tricks (1)
- Uncategorized (2)
- Wordpress (14)
My Advertisement
Adsence Ads
Tags
Magento 2 Extensions
Archives
- 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 (7)
- 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]