Pippins Plugins
  • Email
  • Facebook
  • Feedburner
  • Github
  • Google
  • Twitter
  • Vimeo
  • Youtube
  • Rss
  • About
  • News
  • Join the Site
    • Member Benefits
    • Member Plugins
    • Email Notifications
  • Plugin Store
    • Affiliate Area
    • Checkout
  • Plugins
    • Plugin Portfolio
      • Plugin Portfolio – List View
    • Free
    • Premium
    • Member Plugins
    • Coding Standards
    • Get Plugin Support
  • Tutorials
    • Series
      • Plugin Development 101
      • Creating a User Follow System Plugin
      • Customizing Restrict Content Pro
      • Displaying Content with Easy Content Types
      • Writing Your First WordPress Plugins, Basic to Advanced
      • Working with Widgets
      • User Submitted Image Galleries
      • Plugin Thoughts
      • Integrating Stripe.com with WordPress
      • WordPress Rewrite API
    • Member Exclusive
      • Free Members
      • Subscriber Only
    • Difficulty
      • Beginner
      • Intermediate
      • Advanced
    • Action and Filter Hooks
    • Ajax
    • Custom Post Types
    • External APIs
    • Short Codes
    • Taxonomies
    • Video Tutorials
    • Widget Tutorials
    • WordPress Admin / Dashboard
    • Working with jQuery
    • WordPress Database
    • Writing Plugins
    • Tag Index
  • Reviews
  • Support Forum
  • Contact
    • Support the Site
    • Request Code Review
    • Plugin Support

Short Codes

Home» Tutorials » Short Codes (Page 2)

Image Gallery Short Code Using Post Attachments

Posted on December 12, 2011 by Pippin in Intermediate, Quick Tips, Short Codes, Tutorials, Working with Attachments 18 Comments

The built-in WordPress gallery systems leaves much to be desired. It works well if a theme supports it, but it can be difficult to customize, especially if you have any special markup you’d like with the gallery. While working on a client’s theme, I wrote up a quick short code function that can be used [...]

View Post attachments, images, short code

Listing Custom Post Type Entries with a Short Code

Posted on September 20, 2011 by Pippin in Custom Post Types, Intermediate, Short Codes, Taxonomies, Tutorials 20 Comments

Once you have created a custom post type with Easy Content Types, you will want to begin displaying entries from that post type. There are a variety of ways to do it, but one of the easiest by far is using the [ecpt_query] short code included with the plugin. This short code will let you [...]

View Post custom post type, post types, recent posts, taxonomies, taxonomy

Show Message to Logged In User with a Short Code

Posted on September 18, 2011 by Pippin in Intermediate, Plugins, Quick Tips, Short Codes, Tutorials, Video Tutorials 3 Comments
video-poster

Being able to restrict certain content to logged in members only is a very useful function, especially for membership based websites, whether free or premium. This quick tutorial shows you the basics of how to write a short code function that will allow you to limit blocks of content to logged in users only.

View Post is_user_Logged_in()

Show Posts with a Short Code and Display Posts in Any Page

Posted on September 15, 2011 by Pippin in Free Members, Intermediate, Member Restricted, Short Codes, Taxonomies, Tutorials, Video Tutorials 2 Comments

Being able to display a list of posts within a page (or other post) is very useful. In this tutorial I’m going to show you how to write a simple post query short code that will allow you to display a list of posts from any category, tag, or custom taxonomy.

View Post query_posts, short code, shortcode

Load Scripts if Post has Short Code

Posted on July 15, 2011 by Pippin in Advanced, Intermediate, Short Codes, Tutorials, Working with jQuery, Writing Plugins 16 Comments

This is a really handy trick that I just learned today. Whenever we can, it is always best to only load styles and scripts for our plugins when they are needed. This tutorial will show you how to load stylesheets and scripts only when a post contains the short code that the styles / scripts [...]

View Post Scripts. styles, short codes, shortcodes

WordPress Login Form Short Code

Posted on May 27, 2011 by Pippin in Beginner, Free, Plugins, Quick Tips, Short Codes, Short Codes, Tutorials, Utilities 55 Comments
video-poster

A lot of people want the ability to display the WordPress login form within the content of one of the site’s pages. By default, WordPress does not provide any way to do this, so we are going to write a really quick, simple short code to display the login form.

View Post login, shortcode

Sliding Login Form Plugin

Posted on May 23, 2011 by Pippin in Free Members, Member Restricted, Plugins, Short Codes, Utilities 20 Comments
video-poster

This plugin, based on my Sliding Contact Form Plugin, places a simple, elegant, sliding login form for your website that will allow users to login without every leaving the page. Once a user is logged in, they are redirected back to the current page, or any custom URL defined in the plugins options page.

View Post jquery, login

Create an Ajaxified Contact Form Short Code

Posted on May 7, 2011 by Pippin in Ajax, Contact Forms Tutorials, Intermediate, Short Codes, Tutorials 23 Comments

A very popular feature of many themes is an Ajaxified contact form, often inserted through a shortcode. So I’m going to show you how to create one from scratch as a plugin that can be dropped into any WordPress theme.

View Post Ajax, contact form, short code

Add a Short Code to Your Plugin

Posted on May 6, 2011 by Pippin in Beginner, Quick Tips, Short Codes, Tutorials, Writing Plugins 5 Comments

Short Codes are everywhere; they are one of the main features that theme authors advertise, and they are tremendous tools for plugin developers. Adding a short code to your plugin is quite simple, actually.

View Post short codes
  • 1
  • 2
  • Login

Lost your password?

Please enter your username or e-mail address. You will receive a new password via e-mail.

  • Facebook Become a Fan Like

  • Twitter Subscribe on Twitter Follow

  • YouTube Follow my Videos Subscribe

  • RSS Feed Subscribe with RSS Subscribe

Easy Digital Downloads

Most Loved

  • Love It Pro for WordPress
  • Write a “Love It” Plugin with Ajax to Let Users Love Their Favorite Posts / Pages
  • Simple Notices Pro Plugin for WordPress
  • User Bookmarks for WordPress
  • Front End Registration and Login Forms Plugin

Latest Premium Content

  • Plugin Development 101 – Introduction to Adding Dashboard Menus
  • Plugin Development 101 – Intro to Loading Scripts and Styles
  • User Follow System – Part 5
  • Plugin Development 101 – Intro to Short Codes

Latest Tutorials

  • Storing Session Data in WordPress without $_SESSION (19)

    The term Session in web development refers to...

  • Test Your Plugins with RTL (1)

    Right-To-Left languages are those that...

  • Submitting Your First Pull Request to a WordPress Plugin on Github (5)

    Github is an extremely popular tool for managing WordPress plugins, and one...

Enter your email to receive automated updates when new posts are published

WP Core Contributions

  • [24316]

View the ticket on Trac.

WP Codex Contributions

  • Function: shortcode exists
  • Function: has shortcode
  • Function: shortcode exists
  • Function: shortcode exists
  • Function: has shortcode

View all 41 changes in the Codex.

Latest Tweets

  • Could not fetch Twitter RSS feed.

Topics

contextual help campaign monitor add_shortcode Rémi Corson meta box Sugar Event Calendar featured the_content wp_enqueue_script add_options_page shortcodes Tom McFarlin get_user_meta do_action mail chimp login forms authors short codes attachment Related posts image plugin recent posts apply_filters post types comments taxonomies short code bbpress custom post type images gallery Ajax Stripe taxonomy jquery widgets users add_filter easy content types add_action widget restrict content pro easy digital downloads

Weekly Newsletter

Useful Links

  • Join the Site
  • Plugin Store
  • Affiliate Area
  • Tag Index
  • Support the Site
  • Suggest a Tutorial
  • Random Post
  • Contact

Monthly Archives

(c) 2013 Pippin's Plugins