Add a default image to Jetpack if no image present in a post

Here is a code snippet to add a default image to Jetpack if no image present in our post and we wish that image to be used by Jetpack to publicize our post.
Jetpack crawls the post and looks for images that can be used when sharing that post on Facebook, on Twitter. It starts by looking for a featured image.

Read More

WordPress custom breadcrumbs without plugin

Breadcrumbs are the important part of every website for easy navigation. Here is a simple WordPress custom breadcrumbs without plugin code which you can copy paste and paste to `functions.php` file of your active theme.

More ever you will also find some easily configurable options to modify breadcrumbs to match your site’s look in this WordPress custom breadcrumbs.

Read More

Removing unused shortcodes from the post content

In WordPress, we use plenty of plugins, Some of these plugins require us to place a shortcode in the post, like [favourite_posts]. Shortcode may be a good way to add functionality on our site, but when we deactivate the plugin, the shortcode in the post content don’t get removed.

Read More

Removing shortcodes from the post content

Wordpress users use shortcodes in the post content for integrating PHP or other type of code between the content and may be a good way to add functionality to the site. But sometimes we need for removing shortcodes from the post content from a specific page or specific post.

Read More

using PHP code into WordPress widget

Sometime we need to insert PHP code into Wordpress text widget but by default, Wordpress ignore PHP code into widget. People use plugin for getting this but we can achieve it by using below given code into theme’s function.php.

Read More

Most commented posts

In wordpress blog, wordpress provide the option to comment on the post and that would be posted on the blog after admin approval. Many of us will be using any number of plugins or the database query that’s been doing the rounds recently to display your most commented posts. But we can achieve it simply by using Wordpress’s query_posts or WP_query().

Read More

Page Not Found Except Home Page Error

WordPress is a powerful CMS. Sometimes a slight tweak can make your website inaccessible. A common problem that most WordPress users face at some point is WordPress posts returning a Page Not Found Error. This may even occur after some updates in theme/plugins or settings. In this article we will show you how to deal with WordPress page not found except home page error.

Read More

[ Page 5 of 6 ]