Author: websourceblog


Check if item exists in list in Python.

In this article we will see different ways to check if item exists in list or not. Suppose we have following list. Check string “cd” exists in list or not by following condition. We...

Screen options on Add/Edit posts 0

How to create custom shortcode in WordPress?

Shortcode in WordPress. In WordPress we can create custom shortcodes and we can show its output anywhere on the site. To create a shortcode, we will use WordPress built in function add_shortcode(), this function...