WordPress Shortcode To Display Logged In Author Posts

In this tutorial we're going to build a WordPress shortcode that will allow us to only show the posts of the logged in user. This is useful if you have a website which allows authors to post their own...

Stop WordPress Automatically Adding br

WordPress uses a function called wpautop to automatically add paragraphs and line breaks to your content from the content editor. This will change double line breaks and convert them into a HTML parag...

WordPress Recent Posts Shortcode

On WordPress.com you automatically get are a large number of shortcodes that you can use on your blog. Here you can view all the default shortcodes on WordPress.com. One of these shortcodes is to disp...

Add Scripts To Shortcode Only When Used

Since version 2.5 WordPress introduced a new way of developers to provide dynamic content for the content author of the website with the use of Shortcodes. What Is A Shortcode? A shortcode allows the...

Remove Automatic Paragraphs In Shortcodes

This post is an extension to the post I wrote some time ago about displaying code snippets on a WordPress site. This post showed how you can create a WordPress plugin which makes a shortcode for a num...

Create A Embed Github Gists Shortcode

Github is a popular open source code hosting website, that will use Git to allow you to push code on into their repositories. A sister site of Github is Gist which allows you to store code snippets on...

Get List Of All Available Shortcodes

Wordpress shortcodes allow you to run a small function of code must by placing the name of the function inside a tag, such as [shortcode]. The best thing about Wordpress shortcodes is that you can use...

Add Paypal Donate Wordpress Shortcode

In a previous post we had a snippet on how you can make money on your Wordpress blog by placing Google Adsense on your website. This snippet was a shortcode so you can add the Google Adsense anywhere...

WordPress Google Adsense Shortcode

Wordpress allows you to add shortcodes in your functions.php file. Shortcodes a bits of code you add to your content box and Wordpress will run a piece of code in this spot. A previous example of sho...

Create Private Content With WordPress Shortcode

As Wordpress is used most of the time for blogs, it is possible to make Wordpress into a members only website. This can be as private members or for a paying membership website. You can even provide...

Create Wordpress Shortcode To View PDFs

If your website has some PDF documents which you would like to display to your visitors then it will be usful to the user if they can open it using Google Docs. In the article I will explain how you...