Skip to content

All About Basic

Simple Web Development tips & spiritual observations

  • Home
  • Web Development & WordPress
  • Vedic Astrology Insights
  • Need Help?
Vedic Astrology Insights

Notes on Lord Saturn

August 16, 2024November 4, 2025 allaboutbasic

This note is collected from Lunar Astro Facebook Group and from this post. So this post is only for learning purpose.

In BPHS there is a sloka which indicates that “Grief will not be there if Saturn is bereft of strength”
Here are some of the comments about Lord Saturn-

Continue reading “Notes on Lord Saturn” →
Leave a comment
Web Development & WordPress

Redirect All 404 Error page to Homepage Without Plugins

August 14, 2024 allaboutbasic

So, here is the code which you need to put in your theme’s function.php and save it and you are done. Basically here i tried not to use plugins and did it simplest way.

function redirect_404_to_homepage() {
    if (is_404()) {
        wp_redirect(home_url('/'));
        exit;
    }
}
add_action('template_redirect', 'redirect_404_to_homepage');
Leave a comment
Web Development & WordPress

Decorator Design Pattern

July 18, 2024 allaboutbasic

Suppose you know how to create plain Dohsa ( Dohsa class) , and you wanted to add flavor to it. You are thinking to prepare MasalaDohsa and OnionDohsa from this plain Dohsa.

So instead of modifying the main Dohsa class, you can add OnionDohsa and MasalaDohsa class which will extend dohsaDecorator class and add the flavor on the main plain Dohsa.

Continue reading “Decorator Design Pattern” →
Leave a comment
Web Development & WordPress

How to use Try, Catch, Finally : Exceptions in PHP

July 15, 2024 allaboutbasic

Suppose you are creating Participants Class where only participants of age 12 are eligible. So you have to use Try, Catch and Finally(optional) to throw exception if age is greater than 12 or less than 12. Here is an example which you can see.

Continue reading “How to use Try, Catch, Finally : Exceptions in PHP” →
Leave a comment
Vedic Astrology Insights

Dhatu, Mool and Jeeva in astrology

July 13, 2024 allaboutbasic

This note is collected from Lunar astro Facebook group. This is fully for study and research purpose.

Continue reading “Dhatu, Mool and Jeeva in astrology” →
Leave a comment
Vedic Astrology Insights

Saturn 4th house, Curse, Pending Karma and Precaution 

July 12, 2024July 12, 2024 Karma Observation

As per Lal Kitab, it is said about Saturn 4th house “Murdon ki Tarah Jameen Par Gir Pade” ( Fell on the ground like dead).

Continue reading “Saturn 4th house, Curse, Pending Karma and Precaution “ →
Leave a comment
Web Development & WordPress

Install and use WordPress using Docker

July 11, 2024 allaboutbasic

Step 1:

Install Docker on your Laptop. You can test docker is installed or not by running this following command in your command line and it will show you the Docker version

docker -v 

Step 2: Inside your Applications folder create a folder named “dockerwordpress”

mkdir dockerwordpress
Continue reading “Install and use WordPress using Docker” →
Leave a comment
Web Development & WordPress

How to change wordpress admin password from phpmyadmin using sql

July 10, 2024 allaboutbasic

So you need to login to your phpmyAdmin from your hosting and then you need to open the wp_user table ( you may need to change the prefix based on your wordpress table configuration .

Here i have tried to change the password of user “admin” to “abcdef@@”

Continue reading “How to change wordpress admin password from phpmyadmin using sql” →
Leave a comment
Web Development & WordPress

Simple Tutorial of Using Ternary Operator to Find Even and Odd Numbers

July 9, 2024 allaboutbasic

Here I have tried to show how to use ternary operator to find out a number is even or odd .

Continue reading “Simple Tutorial of Using Ternary Operator to Find Even and Odd Numbers” →
Leave a comment
Web Development & WordPress

Displaying All Images from a Folder Using PHP

July 8, 2024 allaboutbasic

In this script, I demonstrate how to retrieve and display all JPG and PNG images from a specified folder using PHP. The code uses the glob function to fetch images with specific extensions and then displays the images using HTML.

Continue reading “Displaying All Images from a Folder Using PHP” →
Leave a comment

Posts navigation

Older posts
Newer posts
Need Wordpress Related Help? Contact Me

← Back

Thank you for your response. ✨

Blog at WordPress.com.
  • Subscribe Subscribed
    • All About Basic
    • Join 117 other subscribers
    • Already have a WordPress.com account? Log in now.
    • All About Basic
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...