When someone leaves comment on a WordPress post, the system sends a notification e-mail to the author of particular post. By this way, whenever a comment is published, post writer get informed about comment and can response immediately.
I am a Web Developer. Working in PHP/WordPress/CakePHP most of the time. I started this blog to share what I am learning day-by-day. "Some of my research, may help others to find what they are searching for."
Find Related Posts Under Same Category/Tags
Nowadays very oftenly it is required to display related posts (or other post types) underneath your content. This engage readers, and provide them link to related posts to read, and effectively make them spend more time on website. Also, related posts come with added SEO benefits, as they provide internal links to your content. So, how you should go about displaying related posts in website?
To work with, you will need some sample content. So, let’s create a few posts and assign them on a few categories.
Implementation Steps:
Query to fetch latest rows data of second table CakePHP 3.x.
Query to fetch latest rows data of second table of a JOIN and all conditions as per the data of second table in CakePHP 3.x.
Overview of Java Server Pages
JSP or Java Server Pages is a server side programming language which provides dynamic platform for developing building web applications. JSP is a part of Java technology family, which enables rapid development of web applications. JSP separates user interface and content generation, enable easy managing of Interface and content generation part.
Getting started with PHP
1. Variable
A variable is basic element of a programming language. Variable is a main way to store information within a PHP program. The important things about variables in PHP is explained as following: