When working on some sites, you might want to hide or show content in your articles based on user meta.Read More
Find Unused Shortcodes in WordPress with Code
When going through various themes and plugins, you might use various shortcodes on your site or on a client site. When making the transition from one theme to another or from one plugin to another something might happen. You could forget a page or post where you have used a shortcode. Such unused shortcode could break your site. Let’s see how to find those pages and posts.
Using the WordPress Shortcode to Restrict the Content
Restricting content is pretty popular when it comes to membership sites. With a WordPress shortcode, we can restrict access to the content. We don’t have to restrict access to the whole site, we can just restrict one part of the content. In this tutorial, we will create a WordPress shortcode that will do just that.
Simple WordPress Advertising Plugin: Widget and Shortcode
Creating a simple WordPress advertising plugin can be fun and also challenging. In this last part of our tutorial series, we will create a widget and a shortcode that can be used inside posts and pages.