Theme Development, WordPress

How To Add WordPress Custom Field To Any Post

Custom fields are important to elaborate your WordPress post as it enables you to add extra data. WordPress custom field also helps you to add  extra features and functionalities and specific information in individual posts.

By adding custom fields you can edit your WordPress pages and post metadata so you can display whatever you want in your website. By default the custom field option is hidden and disable in WordPress. But you can easily enable or use plugins to refine the feature more useful.

Read More...

Theme Development, WordPress

file_get_contents was found in the file – A complete solution to overcome it

If you are developing a premium theme for WordPress.org or Themeforest, then you must be familiar with the following error “file_get_contents was found in the file”. If you encounter this error message, operations should use the WP_Filesystem method instead of direct PHP filesystem. To remove this warning, you have to use WP_Filesystem instead of file_get_contents to acquire content from a specific file.

Read More...

WooCommerce, WordPress

How to add download button on WooCommerce product page?

Some times you may require to add a button on the WooCommerce product page that allows users to download a PDF file for free without having to enter to product single page. Also all products needs to have a unique PDF file. There I am going to show how we can add download button on WooCommerce product page.

Read More...

System Administration

Create virtual host on XAMPP

Some time for create custom project url there we need to give a name for the project and we want that project according to their name like abc is my project and I want it to run on abc.com so when the project will be hosted on live server it will not make any difference for abc.com domain. Virtual host on XAMPP is very easy process , Just follow bellow instruction to create virtual host on XAMPP

Read More...

Django

Create virtual environment and Install Django

First go to the project directory , if you are on mac open terminal and then drug and drop your folder after writing cd to terminal like cd then drug and drop the folder and then press enter. Check current working directory by the following command “pwd”. After that create virtual environment for specific project and run following command

Read More...

Front-end Development, HTML/CSS

All about HTML meta tags

The tag provides metadata about the HTML document. Metadata will not be displayed on the page, but will be machine parsable and sometime its very important to use meta tag. Meta elements are typically used to specify page description, keywords, author of the document, last modified, and other metadata. The metadata can be used by browsers (how to display content or reload page), search engines (keywords), or other web services.

Read More...

System Administration

Easy way to install Tomcat server on Ubuntu for JAVA Spring

If you are going to start JAVA Spring development or want to run JAVA spring application on a production server then you must need to prepare the server so it can run your JAVA Spring application. There several articles online but I am writing the easy way so you can just copy and paste the command and get your server ready for JAVA Spring application.

Read More...