How To Remove Custom Post Type Slug From Permalinks

Remove Custom Post Type Slug

WordPress lets you use only the post name slug (or custom) in permalinks, but in case of custom post types, the slug gets prepend to the post name. This is probably to avoid conflict with a public post that has a same name. However, the custom post type slug can also be removed for the sake of SEO, if you need it. Here's how you can remove custom post type slug from permalinks. Just to let you know, removing slug from custom post type permalinks are case dependent and you may need to tweak … [Read more...]

How To Display Image Captions Only On Hover

Display Image Captions Only On Hover

Image captions are probably the most neglected part for an attached image in WordPress. Most of the blogs I follow either do not use captions or style them to display underneath the image. Though it doesn’t have any impact on ranking the image in search engines (alt tag does) but, if used, captions can be useful to increase keyword density as well as optimize the content for a better search engine visibility. I normally don’t use image captions here in this blog (which I should, and you too) … [Read more...]

4 Ways To Convert Partial RSS To Full Text RSS Feed

rss feed

Truncated (or Summery) RSS feeds can be a low down if you are using RSS readers to read updates from your favorite blogs or news services. Truncated RSS feeds are those which show only the headline and an excerpt from the content with a link to the full article. From a reader’s point of view, this is really a bad user experience and from a webmaster’s view serving truncated feed, this may help you to lose some loyal readers. However, it is possible to convert those feeds into full text RSS feed … [Read more...]

WooCommerce Google Analytics Integration Giude

WooCommerce Google Analytics Integration

WooCommerce itself offers some nice sales tracking, but when integrated with Google Analytics, you get every possible tracking data in your Analytics dashboard. Setting up the funnel to track WooCommerce sales using Google analytics may seem somewhat complex, but not if you know where to start. Here is the simple guide to WooCommerce Google Analytics Integration. The first thing you need is verify your domain in Google Analytics (obviously) and a Thank You page setup in WooCommerce settings. … [Read more...]

Custom Submenu in CPT Admin Menu

Custom Submenu in CPT Admin Menu

If you need to add some extra settings, specifically for a custom post type, you might want to add it as the custom submenu in CPT Admin menu. Though linked custom taxonomies are automatically added to the custom pot type admin menu, but in case of custom content, you need to add it manually. WordPress lets users to add submenu pages using the add_submenu_page function that accepts six parameters and each parameter has its own purpose. The first parameter is the 'Parent Menu Slug', which in … [Read more...]

How To Create A Simple WordPress AJAX Contact Form

WordPress AJAX Contact Form

There are so many beautiful contact form plugins available for WordPress, mainly Contact form 7 and Gravity forms (paid), but most of them adds unnecessary codes and JavaScripts to your blog making it slower and lower. Well, by unnecessary, I mean features you’ll never need. What about a simple and lightweight WordPress AJAX contact form built using native WordPress scripts and codes and serves its purpose? Here is how you can create a simple yet effective WordPress AJAX contact form plugin for … [Read more...]