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); $content = str_replace(‘]]>’, ‘]]&gt;’, $content);…

How to install Magento2 using Command Prompt in Ubuntu 17.0.4 install Magento2 using Command Prompt in Ubuntu 17.0.4   Magento2  is a powerful,highly,scalable and highly customizable e-commerce platform that can be used to build web shops and,if needed,some non-e-commerce sites.Its provide a large number of e-commerce features out of the box. A high-level overview of…

How to get title and content according to page name in WordPress. Get title and content according to page in WordPress Use the following code in you php page:- <?php $my_posts=get_page_by_title(‘yourpagename’, OBJECT,’page’); ?> <?php echo $my_posts->post_title;?> <?php echo $my_posts->post_content;?> <img src=”<?php echo wp_get_attachment_url( get_post_thumbnail_id($val));?>”> Step:-Give ur page name into ‘yourpagename’ which u set in your…

How to change wp-admin password in WordPress. change wp-admin password in WordPress. To Change the Wp-Admin password use the following steps and code:- Step1:-Go to https://www.sumitbera.com/phpmyadmin/ or in your  MySQl database. Step2:-Open your database then press ENTER. Step3:-Then go to Table: wp_users  open the table by pressing Enter. Step4:-U will see user name user_login name …

How to Completely uninstall PHP and MySQL at ubuntu Completely uninstall PHP and MySQL at ubuntu. Completely remove php from ubuntu 17.10 using terminal using following code 1st Step:-sudo apt-get remove –purge php* 2nd Step:-sudo apt-get purge php* 3rs Step:-sudo apt-get autoremove. 4th Step:-sudo apt-get autoclean. 5th Step:-sudo apt-get remove dbconfig-php. 6th Step:-sudo apt-get dist-upgrade.…

How to give READ and WRITE permission on LINUX READ and WRITE permission on LINUX Use the following steps 1.Go to to DRIVE and RIGHT CLICK on it . 2.U will see the username and drive key. copy it and close it. 3. Then Open the Terminal fresh. 4. White the command sudo chmod ugo+wx…

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus tempus nibh sed maximus ullamcorper. Sed quis odio placerat, pharetra sem nec, aliquam orci. Maecenas dolor risus, lobortis in felis in, porttitor fermentum neque. Nunc ac erat ut ante imperdiet mollis ac sed libero.