How to: Create a fbshare.me shortcode
Social
Eventbrite Attendees Shortcode Plugin
Announcing my first “released” plugin. Very simple, as I’ve even gone over it in the last few published posts.
But I decided to release it in plugin form!
Download the plugin from WordPress.com!
Click here to continue readingTurn your RSS feed into a shortcode
Last week I wrote how to “Use WordPress to print a RSS feed for Eventbrite attendees“. It was pretty popular, but then I found myself in a place that was more annoying. Trying to incorporate that into a blog post or page.
Without having to download a plugin that will allow PHP to be executed inside a post, I would have to create a template file and use that. Which is what I did, and it works just fine. But for some reason I forgot all about shortcodes! With a
Click here to continue readingLooking to hide content to non members?
Are you looking for a better way to hide content to non-members? You may want to check this out: Using shortcodes to show members-only content
Click here to continue reading
Add a shortcode
This is a simple one.
/** * Your Blog title * */ function my_blog_title() { $blogname = get_bloginfo('name'); return '<span class="blog-title">' . $blogname . '</span>'; } add_shortcode('blog-title', 'my_blog_title');Just add this to your functions.php file and then add [blog-title] in any post or page and it will return your Blog Title.
Click here to continue reading
