Send emails to specific people depending on selection within the Form: Contact Form 7 technique

If you want to implement a form using Contact Form 7 where  users will select  Tutor name or Department name and the mail will be delivered to that specific tutor or department then this tutorial is for you.

contact form 7 send mails based on drop down person or department selectionTo solve the issue, I am sharing you what to do in the steps below

Read more of this post

Twenty Nineteen (2019) theme By the WordPress team: CSS Style Modifications and documentation of Header, Footer, Menu, widget, Contents and more

If you want to change site title font color, font size and font family  of Twenty Nineteen (2019) theme By the WordPress team a {
color: darkred !important;
font-size: 3rem;
font-family: cursive !important;

To change font size, font weight, color and font family of site description of Twenty Nineteen (2019) theme By the WordPress team

.site-description {
color: darkred !important;
font-weight: normal;
font-family: cursive !important;
font-size: 23px !important;
You can ask question regarding any issue you are facing in comments section.

Read more of this post

Redirect Your Custom Post or Pages to login page when viewers are not logged in

Recently one of my client asked me to redirect her viewers ( who wants to check her profile page) to the Login page if the viewers are not logged in. As the profile page are of Custom Posts. I have tried to solve the issue using the following code.

 $page_id = get_queried_object_id();
if ( !is_user_logged_in() && get_post_type($page_id) =='YourCustomPostType' )

Modern wordpress portfolio theme Argent by automattic: For professional designers, artists and photographers

Theme Argent by Automattic demo screenshot

Argent is a clean and modern portfolio theme, geared towards creative professionals like designers, artists, and photographers. With its simple homepage template featuring portfolio projects, Argent aims to draw viewers right at what matters most: your wonderful work.

You can download the Argent theme by Automattic from here.
You can download the Argent Child theme to modify theme files like footer.php

I have shared some css customization to give Argent theme a new look of your choice. You can ask question regarding any issue you are facing in comments section.

Read more of this post

Showcase your images in this clean, responsive grid-based Gridspace theme By Graph Paper Press

Gridspace By Graph Paper Press

If you want to showcase your images in grid based layout then Gridspace theme By Graph Paper Press is for you. You can use this theme for free if you are using Premium or business plan of I am sharing you some css customization tricks so that you can style it as your own.

You can ask question regarding any issue you are facing.

Read more of this post

Small Business owner wordpress theme : create website and modify theme Business by automattic

If you are Running a small business or if you are a small entrepreneur then Business theme by Automattic is for you. Using this theme you can create your website for your small business.  Here I am sharing some css modifications using which you can give Business theme by Automattic a new look.

You can download Business Theme by Automattic (Parent theme)


You can download Business Child theme ( to modify theme file…like  footer.php)


Business theme Demo screenshot

You can ask question regarding any issue you are facing.

Read more of this post

Solution of HTTP 500 Internal Server Error in wordpress while logging in.

500 internal server error

Today, one of my client asked me about an issue what he was facing. While logging in wordpress dashboard he was seeing  HTTP 500 Internal Server Error.

To solve the issue, I checked by  Disabling some plugins and found this error

Fatal error: Out of memory (allocated 115867648) (tried to allocate 32 bytes) in /home4/doxxxxx/ on line 54

Also, I checked by  making WP_DEBUG value to  True  in wp-config.php but didn’t get any culprit plugins which is causing this.

Also, in wp-config.php I tried to increase the php memory limit by adding these 2 lines of code but that didn’t help either.

define(‘WP_MEMORY_LIMIT’, ‘256M’);

define(‘WP_MAX_MEMORY_LIMIT’, ‘256M’);

Ultimate Solution:

So, the way I solved the issue by changing the php version of the cpanel using in the host.

Go to your cpanel and then click on  PHP Selector


change php version in cpanel of hostgator

Then Upgrade the version ( in my case I upgraded the PHP version from 5.6 to 7) and save it

Done. The issue should be solved 🙂

Showcase your photos using Wordpress theme Photos By Automattic : Creating website and modifications

If you are a photo blogger then Photos theme is for you. Photos is a  single column blogging theme which showcase  your photos in a grid format. Photos is basically an image-oriented theme with a simple and clean layout, designed to help you showcase your loved or favourite snapshots. Here I am sharing you css styling code to modify the theme so that you can give a look of your choice. You  can check the demo of Photos theme by Automattic.


Download this Photos theme by Automattic.

Download Photos Child theme
You can ask question regarding any issue you are facing.

Read more of this post

Button Click and Show Image or Card: You can use it for Tarot card readings or for your slider

tarot card reading program

Few days ago one of my client asked me to create a simple program for Tarot Card Reading. Where visitors will click on a button and random card will be visible. For this issue I have created a little code where 8 (eight) card will be visible randomly by clicking on the button.

Here is the logic

Suppose there is 8 (eight) cards and visitors will have to click on the button to see which number comes to him.

I have taken a random number between 1 (one) to 8 (eight) and managed to show that number of card.

For example : Visitor click on the button and Randomly 8 is selected by the program. Then card number 8(eight) will be visible.

Here is the code:

****** CSS Part ******

.card.container {

div#frame {
width: 900px;
height: 600px;
background: darkred;
display: block;
margin: auto !important;
position: relative;
.button {
display: block;
width: 191px;
height: 34px !important;
background: yellow;
position: absolute;
bottom: 0;
left: 0;
right: 0;
margin-left: auto !important;
text-align: center !important;
margin-right: auto;
padding-top: 18px;
font-weight: bold;
cursor: pointer !important;


****** Code JQuery ******


jQuery(document).ready(function() {

var min =1;
var max = 8;
// and the formula is:
var random = Math.floor(Math.random() * (max - min + 1)) + min;
var src="img/"+random+".jpg"
jQuery("#frame img").attr("src",src);




****** Code HTML ******

<div class="card container">

<div id="frame">
<img src="img/1.jpg"/>
<div class="button"> Click & See Your Card</div>



Here is the Full Tarot card changing program.

%d bloggers like this: