How to get the category name without link

Today I am going to discuss about a simple but handy technique that might save your time. I was thinking to get rid of the permalink from the category name in WordPress. I got the way finally.. You can do it by using below code .

This code will return only the category name which is related to that specific post without the permalink to that category. You may need it sometimes when you don’t want to link the category to it’s archive page.

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

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

 

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.