Check if its tag page or category page in WordPress

As we have seen in our previous post “How to display WordPress Categories on home page of website” we added Category index into our home page, and we added subcategories into Category archive page, but while doing it started showing category index onto our tag pages also, hence we now needed to distingush whether we … Read more

Check if page opened is home page in wordpress

Sometimes we want to display certain things only on certain category of pages, for example, on this website we wanted to display list of categories only on home page and for all other pages it shouldn’t display anything. To achieve this wordpress provides certain API’s to check whether we are on home page or blog … Read more

How to display WordPress Categories on home page of website

If we have a website which is largely text based, something like this website which shows mostly text posts then its always better to have a home page which lists all the categories so user can choose the category they want and we display the posts under that category on next category pages. For getting … Read more

Free AMP Themes for WordPress and how to setup AMP theme

As we have seen in our another post “How to setup Accelerated Mobile Pages (AMP) for WordPress” we can convert our existing website to make it AMP compatible for faster loading but since our theme was not actually AMP compatible, the performance still varies depending upon the theme. Hence, it is always better to have … Read more

How to setup Accelerated Mobile Pages (AMP) for WordPress ?

AMP is a simple and robust format to ensure your website is fast, user-first, and makes money. AMP provides long-term success for your web strategy with distribution across popular platforms and reduced operating and development costs. Watch below video to understand how AMP makes the page loading faster For setting up AMP with WordPress for … Read more

How to add category cloud in single post / page in WordPress

Category cloud can be added by using the taxonomy argument to cause a cloud of categories to display. You can either modify wp-content/yourtheme/single.php from ssh or using ftp OR you can login to wordpress dashboard, and go to “Appearance -> Editor -> ad click “single.php” Post below line, After, So, the final change could look … Read more

How to fix wordpress pages / posts 404 error OR How to fix “404 Not Found error was encountered while trying to use an ErrorDocument to handle the request”

If by some reason you are not able to access your wordpress based websites pages / posts and you are getting an error like, “Not Found” “The requested URL /page_or_post_name/ was not found on this server.” “Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.” even … Read more