The right way to customize word press themes

Self-hosted WordPress website is suitable for bloggers for every need. The first task is to determine which theme to be used. If you are not intending to use the commercial theme, then it is better to opt for WordPress dot org theme which is released every year. These are free of cost and does update from time to time within specific intervals. Out of all these plugins released from time to time, I have found twenty twelve of them to be the best among the lot. If you wish to use any other theme than also you could find plenty of theme customization for it. I used to customize twenty twelve themes a lot and this article is solely based on it.

Show excerpts in tag, categories, pages and posts

Basically, I am not fond of using a child theme. So, I prepare to edit and customize them. With every update, all of these customizations go away. I usually go on to edit and customize theme again so that usually this remains a regular procedure. First and the foremost procedure is to attach read more or show excerpts in tag, categories, pages and posts show that in every page of website entire article could be shortened further.

I use cloud flare as a content delivery network and I have seen most of third party themes loads very slowly with Cloudflare when flexible SSL options are enabled. Most of WordPress dot org themes loads quickly and that makes using these themes in nature. That is why I prefer to use WordPress dot org theme which loads faster.

Next part is to attach the advertisements. I use Google Adsense advertisements on my sites. It is one of the best revenue generation program for a single writer like myself. I use three advertisements. I first install the main ad in header dot php and then the second ad in content dot php. One needs to pay attention that while installing ad in content dot php that adds will show at the front page and with each article.

READ  How to create a free self-hosted Wordpress Website with free Domain Name

That is why I enable only two articles on the front page from the WordPress administration. The ad code for the header would show up in pages and in every post, pages, tags. The ad code inside content dot php would show up in the front page but in the post page, it would show only once.

This means in the post, page, tag, category and search pages of the advertisements would show twice and I need to add another ad that would show in the post page. So that there would be the maximum permissible advertisement limit would be three in total. I opened single dot php from WordPress hosting and then add the code that would show the ad at the end of the article just below the author’s column. I would show ads in single posts only. You would have to repeat this for page dot php, search dot php, tag dot php and category dot php to further show that ad in those single pages, posts, categories, tags and search forms.

This means that now three ads would show up in front page of blog one from header and two from content dot php and inside post pages the header and would show up followed by one content dot php and we have later added, ads to the single dot php in order to show third ads inside single post pages. The size of the side bar is minimal and I do not want to edit to widen it as I would want the ads to load from all these destinations.

Next is to change the footer signs which show ‘proudly powered by wordpress’ to your own copyright. If you want to show the current year with a copyright symbol than simple editing of footer dot php would suffice. It is a good idea to use functions dot php code and then call that function to footer to show the beginning of blog to continuation of blog and that would also bring about yours copyright information and that should be changing each and every year automatically and that should have been the basis of showing the blog. This should be a good idea of contacting functions dot php and then call the functions to footer dot php.

READ  How to create best WordPress SEO Permalink Structure?

From time to time I have seen for exclusive functions dot php hacks into the theme I could use a separate functionality plugins so that it should stay separate irrespective of theme updates. For functions that have been included for calling up functions from other php files such as footer dot php for copyright attribution then we should use these for functions dot php files.

Always use exclusive functions in functionality plugins and in those areas where you would like to call back the function from another source of WordPress then it is better to use functions rather than functionality plugin. Functionality plugins do offer standoff functions and it is a great idea to understand the differences between standalone functionalities and functions of functions dot php files. Then move to WordPress administration login and from there move to the menu and add above the folding menu structure out there. This would show menus just below the header.

If you have developed the header logo or logo of the website, then it is the best idea to upload it from WordPress administration. I generally do not prefer to do any sort of customization in terms of CSS but if you would have the attraction of doing this then you could find many such resources within the internet and then implement it from hosting. It is important always to back up php files in the case of some misconfiguration happens then you could slowly revert back to its original settings.

There are various plugins to provide related posts and popular posts. I am not that sort of webmaster who likes to use it day in and day out. I only use plugins whenever they are an absolute necessity. Otherwise, I would like to use php codes so that these could provide absolute correct information all at one go. There are various ways out where you could show related posts and popular posts while showing simple codes. Then put these codes wherever you would be deemed to like it and that would show the related posts by category or by tags and popular posts by post count and ultimately this would end up providing more and more possible visitor’s retention to your website.

READ  How to create your own Android Virtual Device in order to test your app created with Android Studio?

There could have been many such ideas and new and innovative ways to understand the entire processes associated with the proper functioning of the website. It is important to understand what should have been the best for your site considering the speed of loading of websites and other configurations. While customizing the theme it is also vastly important to learn about the speed of the website, as it is loved by Google as well as by people. Most of these codings and customizations should come in the content dot php area and you should be doing trial and error methods to find out what should have been the best options for this.

With due course of time as a web administrator, you would find various ways to apply codings to php files instead of using plugins and that should be providing an additional level of customizations considering and maintaining the speed of the website.

Sources & References:


Related Posts:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.