How To Add Copyright In WordPress Theme For Ownership?
September 18th, 2016 | by Ravi Chahar || 4 Comments |
There is always a debate when people read to add copyright in WordPress theme. You may have been using any theme for many days and now want to change the copyright text.
Many bloggers are there who customize the theme of their website and want to let people know about it. Do you know how to edit the copyright text?
If you know the WordPress file structure then it won’t be so hard to add copyright in WordPress theme. You just have to edit the theme file.
In this post, I will guide you to add all the possible things in the footer of a WordPress theme.
Edit The footer.php File To Add Copyright In WordPress Theme.
There are many files present in a WordPress theme. You may have noticed that the copyright text is always added in the footer area of the website.
So, you have to edit the footer.php file. It can be done from the WordPress admin panel or the cPanel. There are some frameworks which don’t let you edit the theme files from the admin area. For them, you have to go to wp-content>>theme>>themename.
But for most of the themes, you can do that from admin area. Let me show you how:
Step 1:- Go to appearance>>editor and find the footer.php file of the theme. Open it to edit.
Step 2:- At the bottom of the file, you would notice a paragraph or the “<div>” tag consisting the copyright text. You can have an idea by searching the current copyright text.
Let me show you an example:-
The output of this line would be the name of your website, the year, and the text showing that this website is running on BloggingLove Theme.
You can modify this text.
How To Add A Link In Copyright Information?
As you can see that in the above-mentioned code, I have added any link. While developing a WordPress theme, it’s your right to put one link so that people can know that you have developed the theme.
Let me add a link to the BloggingLove.
This will add a link to the word “BloggingLove”. You can link any word to any URL. The choice is yours.
How To Add An Image In Copyright Information?
I have been asked that people want to add an image in the footer of their website. Here, we are talking about the copyright area. So if you want to add an image as the background then CSS is the best option.
But if you want to add an image along with the copyright information then just a simple URL would do its work.
Upload the image to the media library and copy the URL of that image. Use the HTML <img> tag to embed the image wherever you want.
You can add copyright information in the WordPress theme and modify it using the simple HTML tags. I have included the PHP code which would show the dynamic copyright year.
Do You Want To Add Copyright In WordPress Theme To Show Your Name?
We all want to show our achievements to our readers. And if you have developed a WordPress theme or modified it then you should display your name in the copyright area.
Can You Now Edit The Copyright Information of Your WordPress Theme?
I have shown you an example above. The PHP code would pick up the blog name and the current year. The copyright symbol is shown by “©”.
You can alter its place. If you want to show it along with the year or with your name. It’s your choice. The main thing is that you should know about the HTML tags.
To add copyright in WordPress theme, the footer.php file should be your target. If you still face any problem, feel free to ask.