Updraft Plus – Yet another good and reliable wordpress backup and restore plugin

I recently installed this backup and restore plugin called Updraft Plus. Its not that this was my first backup plugin installed or I did not have any other backup plugin installed on my site, its just that I wanted 2 backups plugin to be working on my site. The second backup plugin that I have been using for over 2-3 years now is WordPress Backup to Dropbox. I have been using this plugin for quite some time now and have never experienced any problems with it, I had configured it just once when I had installed it years back and it works great, even after every update.

Updraft Plus. The reason I added this additional backup plugin was that I have stopped using Dropbox and have moved to Google Drive. Updraft Plus promises to backup all your WordPress data (theme/plugin/db/uploads/others) all neatly and separately into one of these storage providers – S3, Dropbox, Google Drive, Rackspace, FTP, SFTP, email + others.

One of the good feature I liked here was the “retain this many backups:” feature. Where all other backup plugin will keep on taking n number of backups, this plugin does it a little different. Updraft-backups-options

I have set to retain 2 backups, and here is how my backup structure looks like:

Updraft-backups-googledrive

The only thing I didn’t like about this plugin was that it was a little difficult to setup. But with help of this document an average wordpress user should easily be able to set this up.

To know more about Updraft plugin, head right here and get started : https://wordpress.org/plugins/updraftplus/

Update: I forgot to mention that this plugin is free, However a premium version of this plugin was also available with many additional features that the time of writing this post.

How to get current page URL in PHP WordPress ?

I have been working on my new site called careerbaba.in, its a PHP WordPress based site. On one of my pages I have installed this very interesting Q & A plugin called DW Question and Answer, here is how the page looks like after configuring it.

So to get the current page URL in PHP, I used the below line of code and it worked for me. Noting it down here so that I don’t have to Google it out again, Surprisingly I couldn’t get this easily when I Googled this “How to get current page URL in PHP WordPress ?

<?php the_permalink(); ?>

A list of top and most useful WordPress Plugins

This post has a list of some of the best WordPress Plugins out there. I have been using each of these plugins on this blog for over 2 years, please feel free to share and add plugins I may have missed out using the comment section. Cheers !

Essentials

  • Akismet : Akismet checks your comments against the Akismet web service to see if they look like spam or not.

  • WP-Markdown : Allows Markdown to be enabled in posts, comments and bbPress forums.

  • Disqus Comment System : The Disqus comment system replaces your WordPress comment system with your comments hosted and powered by Disqus.

  • W3 Total Cache : Easy Web Performance Optimization (WPO) using caching: browser, page, object, database, minify and content delivery network support.

  • WordPress Backup to Dropbox : Keep your valuable WordPress website, its media and database backed up to Dropbox in minutes with this sleek, easy to use plugin.

  • WordPress SEO by YOAST : Improve your WordPress SEO: Write better content and have a fully optimized WordPress site using the WordPress SEO plugin by Yoast.

  • Contact Form 7 : Just another contact form plugin. Simple but flexible.

  • Flare : Flare is a simple yet eye-catching social sharing bar that gets you followed and lets your content get shared via posts, pages, and media types..

Analytics and Adsense

  • Google Analytics for WordPress : Track your WordPress site easily and with lots of metadata: views per author & category, automatic tracking of outbound clicks and pageviews.

  • Woopra : This plugin adds Woopra’s real-time analytics to any WordPress installation.

  • Feedjit Live Traffic Feed : Feedjit lets you see friends and visitors as they arrive on your blog or website. Know when your best friends read about your latest adventure. Be alerted when your most important clients view your latest product offering. Feedjit lets you know, right now, who is visiting your site. Simply add the Live Traffic Feed and instantly start seeing who is visiting your site as they arrive.

  • Traffic Counter Widget : TCW lets your users know how much traffic you have on your blog. It counts pages visited, hits and unique IPs on your blog and shows it in a widget.

Others

  • Executable PHP widget : Like the Text widget, but also allows working PHP code to be inserted.

  • WP Easy Uploader : Easily upload any type of content without the need for FTP. You can even upload plugin and theme archives, and the files will be extracted for you.

  • WPtouch : WPtouch: A simple, powerful & elegant mobile theme for your website.

  • Yet Another Related Posts Plugin : Display a list of related entries on your site and feeds based on a unique algorithm. Now with thumbnail support built-in!

  • Broken Link Checker : This plugin will check your posts, comments and other content for broken links and missing images, and notify you if any are found.

  • Bottom of Every Post : This plugin adds some content to the bottom of every post. That is all. No extra crap.

  • Smart Archives Reloaded : Easily display posts grouped by year and month, in one or more elegant formats

Further Reading : Tips And Tricks HQ : List of the Best and Must Use WordPress Plugins

How to embed Youtube videos in WP Markdown Editor ?

I have been using this awesome WordPress plugin called WP-Markdown for over a year on this blog. So today again I came across this neatly explained tutorial on “Javascript Closures” by Mark Dalgleish which I decided to add as a post on my blog, but the default youtube embed code just wont work.

 So after reading a little bit, I found this question asked 

here and the solution was to used the embed tags. Solution : Hope this helps :)

Keyboard Shortcuts for WordPress HTML Editor

I always use HTML editor mode to writing each of my post, and below are the list of the shortcuts that I use.

Blockquote : Alt + SHIFT + q
Bold : Alt + SHIFT + b
Code : Alt + SHIFT + c
Insert date/time : Alt + SHIFT + s
Insert IMG URL : ALT-SHIFT-m
Italics : Alt + SHIFT + i
Line Break : SHIFT + Enter
Link : Alt + SHIFT + a
List Item (li) : Alt + SHIFT + l
Ordered List (ol) : Alt + SHIFT + o
Publish the Post : Alt + SHIFT + p
Read More : Alt + SHIFT + t
Redo : CTRL + y
Strikethrough : Alt + SHIFT + d
Undo : CTRL + z
Unordered List (ul) : Alt + SHIFT + u

Have I missed out something ? If that’s the case please let me know using the comment section.

Hope this helps.

Backup your WordPress site using Dropbox !

WordPress is undoubtedly the most used blogging engine. Like many others I too use WordPress (for this blog). WordPress itself is a very secure and stable platform, but, there are literally thousands & thousands of third party themes and plugins available to further extend WordPress and this is where sometimes problems arise and data gets lost, sites get hacked etc.

How often do you back up your WordPress blog?
Weekly ? Monthly? Never ? Do you even have a backup plan ? No ?
Because I want you to make one today. And I can help you with that :) and believe me its very very easy !

One of the best methods I have found for backing up your data is by using the WordPress Backup to Dropbox plugin. If you have never heard of Dropbox, don’t worry read this.

WordPress Backup to Dropbox

WordPress Backup to Dropbox is a free plugin that allows you to backup your WordPress website on a regular basis. The plugin’s simple interface lets you setup your backup cycle in minutes giving you peace of mind that your precious blog posts, media files and template changes are backed up.

In order to use the plugin you will need a Dropbox account. Dropbox is a free service that lets you bring your photos, docs, and videos anywhere and share them easily.

How to use WordPress Backup to Dropbox ?
Automatically Backup WordPress Sites to Dropbox : This article has a step by step detailed explanation on how to setup the plugin and how to get started with your first backup. Here is a list of faq’s for this plugin.

Why to use WordPress Backup to Dropbox ?

  • It’s Free
  • Automatic : Just choose a day, time and how often you wish your backup to be performed and kick back and wait for your backup to be dropped in your Dropbox!
  • It’s Open source ( Github ) and has excellent Support ( WordPress / Github )

Are there any similar alternatives ?
Yes there are plenty of other plugins that do this job, below are few of them…

and the list goes on and on…

I don’t like Dropbox, can I backup to SkyDrive or Google Drive instead ?
Yes, there a few plugins that offer similarly functionality to back up your site to Microsoft’s SkyDrive, Google Drive or Amazon S3. I have not tried them though, the most popular I could find are…

Conclusion
I love Dropbox, so I was excited when I found this plugin – testing it out, I found it extremely easy to use. Im going to be moving my sites over to this plugin and Dropbox as my backup solution from now on.

Is there any Markdown editor like stackoverflow for WordPress ?

Short answer : WP – Markdown

I was kind of addicted to stackoverflow’s markdown editor and I was wondering if there is a plugin in WordPress that does the same job.

Enter WP – Markdown !!

This plug-in allows you to write posts (of any post type) using the Markdown syntax. The plug-in converts the Markdown into HTML prior to saving the post. When editing a post, the plug-in converts it back into Markdown syntax.

The plug-in also allows you to enable Markdown in comments and BBPress forums. In these instances the plug-in adds a toolbar, and preview of the processed Markdown with Prettify syntax highlighter applied (similiar to that used in the Stack Exchange websites such as WordPress Stack Exchange).

WP-Markdown stores the processed HTML, so deactivating the plug-in will not affect your posts, comments or bbPress forums.

Screen 1 : Markdown for Add / Edit Post
enter image description here

Screen 2 : Settings
enter image description here

Screen 3 : Markdown for Comments
enter image description here

How to Display Total Posts Published Count in WordPress using PHP ?

Today, I wanted to display on my homepage, a total post published count, so after searching for this, I found a very interesting piece of code that does this job, check out the code below…

<?php echo wp_count_posts()->publish; ?>

Below is a cut off from my homepage, where I am displaying a total number of posts published using this very code.

Hope this helps you too