5 ways to do remote publishing in wordpress

Have you ever thought how cool it would be to have the ability to write WordPress posts without having to go on-line and login to your dashboard? This is a question that pops up often especially among WordPress owners who have to write multiple blogs. It would also be great to have a local back up of your posts or having to upload photos faster. In this article we will examine different ways to login remotely and perform admin functions.

A major Pre-requisite

To manage any aspect of WordPress remotely, there is a fancy API called XML-RPC that MUST be turned on. All Weblogs (Blogging software that run on your local machine) post to your blog via XML-RPC.

According to the official WordPress Site , XML-RPC functionality is turned on by default since WordPress 3.5. However if you are still attached to older stable versions you can still enjoy the functionality of XML-RPC. To enable this, simply login to your site’s dashboard, go to Settings > Writing > and check the checkbox. Now you have the green light to work remotely.

1.    Your favourite Email Client

post-by-mail-cover

Indeed it’s that simple! Your email client whether in your desktop or mobile device can write posts to your WordPress site. All that is needed is a unique email on your wordpress site that will Serve as a recipient of post content. WordPress will frequently check that email address via POP protocol for new messages. For every email message, the Subject is assumed to be the post title while the body is assumed to be the content for the title.

The built-in WordPress functionality to post via email is deprecated and will be removed in future wordpress versions. But all hope is not lost thanks to good old plugin methods. There are 3 popular plugins that achieve this:

We may not review all these plugins in this article since there are other remote publishing techniques that am dying to tell you about. For now lets use Post by Mail in Jetpack as a case study. After installing it go to Profile > Your Profile page, and enable Post by Email. A unique email address will be generated and this will serve as the recipient where you will send the post.

CAUTION: Let this recipient email remain private. Don’t CC anyone else when writing to the unique email.

Now let’s go to your favourite Email client (Outlook, Thunderbird or Apple Mail) and send a post to the unique email address. You can add other aspects of the post using shortcodes in the body. Assume we are writing this article from an email client. Here’s what we would have:

New Picture

Screen shot

 

2.    Windows Live Writer for Windows users

This is a great app that comes as a feature of Windows live essentials. In addition to the post writing functionalities that are readily available in Microsoft word, one can crop and resize images and attach maps from virtual Earth. There is even a custom Custom WordPress sidebar for easy navigation to your dashboard.

What do you need to run Windows Live writer?

  • Any 32 or 64-bit version of Windows 7, Windows 8 or Windows Server 2008 R2.
  • Processor:6 GHz or higher with SSE2 support.
  • Memory: 1 GB of RAM or higher.(You are better off with at least 2GB)
  • Resolution: 1024 × 576
  • A fast and reliable Internet connection: Don’t blame this application when you find it hanging frequently. It has to synchronize with your site server constantly so ensure your internet connection is nothing short of ‘good’.

Here is a detailed user guide to using Windows Live writer. If you like it you can download it here. But what if you’r not a Windows user?

3.    Gnomeblog

gnome-blogThis is desktop blogging application for Linux and Unix that connects seamlessly with WordPress based sites. It comes with an easy and quick to use interface to write posts. As the name suggests it works on Gnome based linux flavours (Ubuntu and the likes). It has a WYSIWYG styled text support with Spell checking linked to the dictionaries in your linux box. Oh! And the drag and drop support for images is relatively faster than other Weblog clients. You can crop, caption and resize them just as you want the article to appear on your website. Head over to the official site and grab it for free.

4.    SmartxBlog

smartx-blog-win-macWe haven’t forgotten you Mac users! SmartxBlog is to you, what GnomeBlog is to Linux fanatics. In addition, you can preview the articles in a browser before publishing them. I like the fact that you can also add multiple castegories, tags and even create an RSS feed. SmartXBlog has built-in Image Editor so you don’t have to bother using third party Image Editors. Think of this app as a local wordpress version that syncs to your live site.

To enjoy all these features make sure you have Adobe AIR runtime installed on your computer. Then head over to http://smartxblog.com/ and download the app. You will get a 30 days trial period after which you part with $9.9 for a 5-user licence and lifetime updates. There is a windows version too.

5.    WordPress app By Automattic for Android and IOS

wordpress-android-loginWordPress is now mobile thanks to this great app. You can now leave your laptop when going on holiday. With a tablet or smart phone you can now write posts and publish them instantly. You can even login to multiple WordPress sites you own and approve and reply to comments on your articles. It may seem abit confusing that the whole power of your dashboard has been brought down to an app. Even the icons that you are used to have changed. However after using it several times you get the hang of it.

Well, that  covers most of the devices. Hopefully by now you can do remote publishing in wordpree.But just in case you don’t find an app for your Operating System check out this list. Have fun and remember: The security of your devices will determine the security of your wordpress site.

What is the difference between the hierarchical and Non-Hierarchical Taxonomies?

When I was using a plugin to create and , I came across following situation.

After creating custom taxonomy, I was hoping for was a simple option where I could uses the check box UI for selecting categories on each post.

checkbox UI

check box UI

Instead of that I got comma-separated text input.

text box

text box

I did some research and found out that, that plugin use a setting “Hierarchical ==>> false” when registering custom taxonomy.
‘hierarchical’=>false you get the metabox   format WordPress uses for Post Tags:

hierarchical=>false

hierarchical=>false

‘hierarchical’=>true you get the meta box format that WordPress uses for Categories:

hierarchical=>true

A Guide to WordPress Custom Fields

When you write a post/content on your blog, in you post writing page you will see the fields for entering  title and body content. If you take a look at the WordPress post writing page you’ll notice a section below the post content text area is titled Custom Fields.

custom fields

custom fields

What if I don’t see Custom Fields section in post writing page?

There’s a chance you won’t see this feature. If not, look to the top right of your window and click Screen Options.

Screen Options

Screen Options

From there make sure the Custom Fields option is selected.

select custom fields

select custom fields

Once selected you should see it at the bottom of your screen like I have above.

Custom fields

Custom fields allow you to add little bits of data to posts. The custom fields section contains two input fields labelled Name and Value. The key identifies the specific field and the value is the information that will be displayed.

For examples if you are writing a post about a tourist place you can add Custom field like “Today’s Weather”, and then add the value “Sunny”.

custom fields

custom fields

This extra information is known as meta-data. Now this information related to your post can be displayed anywhere within your WordPress theme.

Make your Theme ready with Custom Fields

Custom fields don’t display by default unless your theme has been customized to do so. In order to get these values to display we need to add a small amount of PHP to our WordPress loop function inside our theme’s code. Let’s do that now.

To start you’ll need a code editor and access to your theme directory which is located at wp-content/themes/themename.

Open single.php file inside a code editor. Find where your main WordPress Loop starts.

WordPress Loop  starts

WordPress Loop starts

Add this code inside the WordPress loop to display all custom fields associated with that post.

Call the_meta()

the_meta()

the_meta” function will display all fields associated with that post.If you have 10 different fields that you want to display at 10 different locations, then we will have to use “get_post_meta” function.

 use get_post_meta hook

use get_post_meta function