Quantcast
Channel: WordPress Tricks – All About Basic
Browsing latest articles
Browse All 159 View Live

Redirect All 404 Error page to Homepage Without Plugins

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.

View Article


Showing product Variation in Elementor made single product page

Basically client was using variation swatch plugins and using elementor plugins to create single product template, so to show the product variation in that template I faced little issue but at last...

View Article


Optimize Press SmartTheme Shows something at the bottom of single post and...

So client wanted to show his script ( form optin script) to be showing in single post page at the very bottom and just above the footer in full width … Here is the code I have used, use this in...

View Article

WordPress-Resuable-button-using-Shortcode.

A button shortcode which will take URL and Button Label as parameter and is obviously reusable. So to use same button in different post or pages with different url and button label, this [button]...

View Article

Macbook air m1: connect to github using terminal

The whole procedure i took help of Claude AI. First, create a new Personal Access Token: Open Your Terminal In Mac And go to the plugins folder in your WordPress setup like me from terminal  Cd...

View Article


Shows number of Word Count at the bottom of page or post in wordpress

Without using any plugins if u want to show the number of words used in a page or post at the bottom, you can use the following code in function.php Here is the result

View Article

WordPress Shortcode to Show Different Images for Desktop & Mobile

Basically client was asking to show different image in desktop view and mobile view. So the idea which hits in my mind to create a shortcode which will check if client is visiting the site from mobile...

View Article

Three images side by side in wordpress gutenberg editor

If you want to show 3 image side by side in guentberg editor, here you can see a 1.28s video i have created.

View Article


Left Side Image and Right side content in wordpress gutenberg editor

Here you can see my 2:32s video where i have tried to show how you can create content with left side image and right side content using gutenberg editor and you dont need to use html/css for this.

View Article


Change woocommerce mail template’s footer background ,text color and font size

So i wanted to change the woocommerce mail template’s footer background color, font size and font family ( screen shot below). I have shared the code too which i used Here is the code i used:

View Article
Browsing latest articles
Browse All 159 View Live