WordPress: Delete unused shortcodes in blog posts

Once you stop using a plugin or the shortcode, you will still have it littered across blog posts and pages. This means you will have [shortcode] visible in posts and hurting the website’s aesthetics. Deleting unused shortcodes from each blog post is a long and tedious process.

Read more

WordPress: Show admin bar only to admin users

When you log in to WordPress, you get an admin bar at the top. This admin bar is useful mainly for the blog administrators. If you have multiple authors and contributors for your WordPress website, you might want to hide this admin bar.

Read more

WordPress: Add simple breadcrumb without plugin

Breadcrumbs are used by most big websites. It helps in navigation as well as search engine optimization or SEO. WordPress has a several plug-ins to show breadcrumbs in blogs and websites. How to add a simple breadcrumb to your WordPress website without using a plug-in?

Read more

WordPress: Add dynamic footer copyright text with links

Do you want to add a copyright link in the footer of your WordPress website? You can edit the footer.php file of the theme and add the text by wrapping it within a paragraph, division or span HTML tag. However, it will be a static text. You can add an auto-updating footer text that can be used for any website.

Read more

WordPress: Add code to header via functions.php

Do you want to add any code such as Google Analytics within head tag in your WordPress website or blog? You can easily add codes in the header of your WordPress website without editing the header.php file and by adding the same in the functions.php file of the theme.

Read more

WordPress: Add code to the theme footer

Do you want to add any code or HTML to the footer of your WordPress website without editing the theme file? You can easily add Google Analytics or other code in the WordPress footer by editing the functions.php file of the theme.

Read more