
Search In
Hello readers, today we will discuss "how you can add category for post type page".
When a user install the WordPress, user will only get category for "post type post".
If user want to add taxonomy or category for "post type page", then user need
In parent level class we have to go in python file and add some function and script.
In below example I have written Python script to Include only parent level class. you can use below python code in .py file :
def addMaterialsRecursive(components,
Hi all,
Below is a short description of web workers.
What is a Web Worker?
Web worker is JavaScript which runs in backside without affecting the performance of site and it is independent of other the scripts,.
what web worker are for ?
For th
In cakephp it allows a beautiful feature that helps in fetching all the data of the Model and set on the view.
The fetching can be done in cakephp with the find method and the set function is used to set the data on the view.
The find method can be u
Hi ,
This post will help you to use Video in background with bootstrap.
View Live Example :
http://107.20.120.5/HTML/fn/video.html
<style>
#background {
position: fixed;
top: 50%;
left: 50%;
min-width: 100%;
min-height:
First of all you just have to create 3 folder name
1.frame_output
2.images
3.resized_frame_output
Now download encoder and decoder class from this below link
here.
And Download class "GIFDecoder.class.php", Download class "GIFEncoder.class.php"
Ways to open a file in PHP are given below:
1. r: Open a file for read only. File pointer points at the beginning of the file.
2. w: Open a file for write only. File pointer begins at the beginning of the file. It erases all the data of the file o
Open a file in PHP:
To open a file in PHP fopen() funtion is used. Syntax:
fopen(filename, mode)
filename is the name of the file you want open. mode can be r,w,a,x,r+,w+,a+,x+.
Read a file in PHP:
To read an open file fread() function is use
Appium is an open source tool for mobile automation. Appium is very user friendly and a powerful tool. The best part of this tool is to write test only once and then execute on different devices. This tool is also platform independent and we can conf
In cakephp we might be familiar with the simple find("all") and findById() functions.
But fetching data with some conditions like we write select query with where condition.
lets us first look at simple find function
$this->User->find("all"
