We must understand theme thumbnails sizes before I tell you about changing thumbnail sizes without using a plugin.Featured image and thumbnail are just the same in WordPress. The Thumbnails sizes are defined in WordPress Settings->Media . The smallest thumbnail out there is used as thumbnail in the archive pages,search and category post listings.This may be Continue Reading …
Category: Web Design
Enable syntax highlighter evolved in comments in wordpress
If you would like to enable syntax higlighter evolved by alex gorbatchev wordpress plugin to also do syntax higlighting in the comments then you will have to add enable shortcodes in your comments.Here is how to to enable syntax higlighter in comments.Add the following code to your theme’s function.php Continue Reading …
WordPress Excerpt Showing First image of Post as Thumbnail if exists
In my own site I wanted a thumbnail to be shown in the excerpt with the thumbnail images being picked up from the first image of the post.It was also desired that no default image should be shown when the post does not have an image.So here we are avoiding a default image display. to Continue Reading …
Setup a new domain name to work with web host
If you have just purchased a new domain name name and you want to setup with the web hosting server then this article will tell you how to configure and setup your new domain name to work with your hosting server as also the settings required to be done at your hosting server. When you Continue Reading …
Adding widget areas in wordpress header
To add a header widget areas,first in your theme’s function.php add the following code to register a sidebar. This is assuming that you want to add 2 header widgets Next you will need to insert the following code in your theme’s header.php above or below the navigation menu as you prefer where the widgets should Continue Reading …
WordPress : Add Text or Content To Bottom Of Post without plugin programmatically
This article will describe in detail adding text or any other content at the bottom of all posts programatically at run time without any changes to the wordpress database.The article will discuss 7 different requirements all done without a plugin through theme’s functions.php file as follows :- Adding simple text or any content as Ads Continue Reading …
WordPress : Execute external php file
If you have created a folder within your word press directory and have placed a php file there and you would like to execute this php file then this article will tell you in detail how to run php files external to your theme.There are 3 Methods explained in this article.You will not require a Continue Reading …
WordPress : Using syntaxighlighter plugin with gutenberg editor causes error
Do you use Syntaxhighlighter Evolved Plugin to highlight code in gutenberg block editor and it creates error in the form of replacing the code with funny characters while publishing or updating the post ? If yes then this article will describe exactly how to fix this error from occurring and breaking the code. If you Continue Reading …