Today I am going to show you how you can show a post object inside two nested repeater field. Please check the below code .
Advnaced Custom Field Nested Repeater
Today I am going to show you the way how you can use a ACF repeater inside a repeater. I am using a parrent repeater named “product_page” and using a sub repeater inside this parent repeater named “post_repeater” . Now if you see the below code then you will see that how I have used the two repeater to out the exact result
Advanced Custom Field Post Object
Today I am going to share about advanced custom field post object field which is really handy. However it takes some effort to show the post object in front end. Below is that way you can show your post object data in front end
Working With Advanced Custom Field Repeater
Hi Guys.. Today I am going to show you that how you can use Advanced Custom Field repeater field. I am showing you here a code example so that you know how to use the repeater field . Here is a normal loop that you can use to show a repeater
Here is another simple example for repeater field
Here is a advanced loop that you can use to create a slider using Advanced Custom Field
How to add post author bio in WordPress post
In this tutorial I am going to so you that how you can add a post author bio in the single post view without using any plugin… This is simple and you can just do this by adding the below code to your theme function.php file
And then you can customize it using below css
Redirect domain using .htaccess
Here I am describing various types of .htaccess redirect.. you can select right one according to your need..
301 (Permanent) Redirect: Point an entire site to a different URL on a permanent basis. This is the most common type of redirect and is useful in most situations. In this example, we are redirecting to the “tothisdomain.com” domain:
# This allows you to redirect your entire website to any other domain
Redirect 301 / http://tothisdomain.com/
302 (Temporary) Redirect: Point an entire site to a different temporary URL. This is useful for SEO purposes when you have a temporary landing page and plan to switch back to your main landing page at a later date:
# This allows you to redirect your entire website to any other domain
Redirect 302 / http://tothisdomain.com/
Redirect index.html to a specific subfolder:
# This allows you to redirect index.html to a specific subfolder
Redirect /index.html http://example.com/newdirectory/
Redirect an old file to a new file path:
# Redirect old file path to new file path
Redirect /olddirectory/oldfile.html http://example.com/newdirectory/newfile.html
Redirect to a specific index page:
# Provide Specific Index Page (Set the default handler)
DirectoryIndex index.html
Using Post Object Field in Advanced Custom Field Plugin
Using Post Object Field in Advanced Custom Field Plugin
In this post I am going to show the use of Post object field in Advanced Custom Field Plugin.. Just create a custom field type Post Object..
To output the result paste the below code in your theme location where you want to show it..
Force user to login or register in WordPress
Force user to login or register in WordPress
Few days ago I was searching for a solution that how can I force user to login or register in a site after 5 minutes when they visit the site for the first time. Actually it was my clients requirement and to do so I was searching for many solution. But couldn’t get a real solution. I had seen a plugin that offers something like that but it has also some problem. So I tried to build it of my own. When you do like below you will be able to Force User login or register in WordPress. Just added below code in footer.php or header.php in your theme file.
After this you need to also add the below css code to your theme file or you can add it as an external css file in your theme header or footer.
Also you have to install this plugin https://wordpress.org/plugins/nice-login-register-widget/ and add this plugin widget in the widget section so that the login form shows in the popup.
The popup will look like the below

That’s it and you are done. In this way you can Force user to login or register in WordPress
My Recent WordPress Plugin
My Recent WordPress Plugin
I have been working with WordPress since 5 years. But during this period of my carrier I didn’t develop a plugin. Actually it was not needed. But sometimes needed for some of my clients specific needed. so never feel to create a plugin for others.
But some days ago I realized that I can do good for people. So I decided to create a plugin for people. So that people can be benefited by this.
From that sense I developed a plugin recently which is now availabe in wordpress.org plugin repository. Below is the link of that plugin.
https://wordpress.org/plugins/tube-video-widget-using-post-meta/
I am really excited after publishing my first plugin. It may be simple but can be handy I think for some reason.
Now a days I enriching my programming knowledge in JavaScript, Jquery etc. I always try to learn new thing and love to take challenge.
Hope I can release my next WordPress plugin soon.
How to move files from one cpanel to other cpanel
How to move files from one cpanel to other cpanel
Few days ago I was working with a clients . His site has a big file size which is almost 1.5 GB . He wanted to clone the site to another server and rebuild it and then transfer again to the main site. But I found it to difficult or lengthy process to download all files to my computer and then re-upload it to another server. So I was searching for the solution for this and finally I got it.
The process is simple, you need to create a free Mover account, then follow the below step by step tutorial to move your files to the new server, without downloading them locally. It’s a migration from your actual server to the new one.
Then just follow like the above image. And you should be done.