Category Archives: Homeschool

Easiest Way To Drag-Drop & Arrange Your WordPress Posts And Custom Post Types

WordPress displays your post in the order you publish them and if you need to rearrange them you have to change their publishing dates. Changing post dates creates dead links and you lost your post’s back links. So rather than changing post dates you can use this new and easy technique for rearranging your WordPress blog posts.

Continue reading Easiest Way To Drag-Drop & Arrange Your WordPress Posts And Custom Post Types

Best Plugin For Auto Tweeting Your WordPress Blog Posts

Tweetily – Tweet Your Posts Automatically! is the best plugin for auto tweeting your WordPress posts. Easy to install, easy to connect with twitter, automatically promotes your posts and pages on Twitter, keep your content alive and drive traffic to your site. Works better than Tweet Old Post Plugin. Set it and forget it!

Continue reading Best Plugin For Auto Tweeting Your WordPress Blog Posts

How to Restrict Certain Usernames in Your WordPress Site ?

If your are using WordPress Mutisite or BuddyPress and you have kept user registration open for public (via Settings -> General -> Membership (“Anyone can register”) sometimes creates problems. By default all usernames (if they already not already registered) are allowed during WordPress user registration process.

If you like to restrict certain usernames from getting registered on your site then first of all install and activate Restrict Usernames plugin. If you are using WordPress Multisite then network activate it and follow these steps:

  • If you are using single WordPress install then visit Dashboard->Users -> Name Restrictions admin settings page and specify username restrictions.
  • If you are using WordPress Multisite then visit Dashboard->My Sites -> Network Admin -> Users -> Name Restrictions and specify username restrictions.

Now anyone attempting to register on your site chooses any restricted username will be seeing this message:

“ERROR: This username is invalid. Please enter a valid username.”

Remember: This plugin doesn’t put any restrictions on usernames chosen by admin himself while creating user accounts from within the WP admin dashboard.

Continue reading How to Restrict Certain Usernames in Your WordPress Site ?

How To Check Unread Gmails From Linux Command Line Without Opening Any Browser ?

Here’s a command, if you use Gmail and like to check for unread email without having to opening up a browser. This command makes use of: curl, tr, awk, andsed and looks like:

curl -u GMAIL_ADDRESS:GMAIL_PASSWORD –silent “https://mail.google.com/mail/feed/atom” | tr -d ‘n’ | awk -F ‘<entry>’ ‘{for (i=2; i<=NF; i++) {print $i}}’ | sed -n “s/<title>(.*)</title.*name>(.*)</name>.*/2 – 1/p”

Where GMAIL_ADDRESS is your actual gmail address and GMAIL_PASSWORD is your gmail password. After successful authentication the sender and subject of your unread Gmail will be printed out.

How To Lock User Accounts In Your WordPress Site ?

Sometimes we require locking user accounts may be after given number of incorrect login attempts, because of dictionary attacks, when any author becomes inactive or when you want to ban any user.

I use a plugin User Locker. It lets you lock or deactivate any user account. After you install and activate it, a new menu option appears in Dashboard->Settings->User Locker which shows some default settings.

Limited Number of Login Attempts

Default WordPress installation is vulnerable to dictionary attacks as there is no limit on how many times user can use invalid password and attempt to login again and again. User Locker closes this security flaw by introducing maximum number of invalid login attempts. When someone exceeds this number, the account gets locked, which can be unlocked only by requesting new password (using Lost Password option) or by asking for Admin Support. This makes brute force and dictionary attacks nearly impossible.

Banning Certain User Accounts

 

 

It also allows you to disable selected user accounts which restricts user log in even if they know password. This feature is good for banning certain user accounts.

It also allows you to add lock/disable reason, only for your future reference. When account is automatically blocked, plugin can itself add lock reason (this is configurable). By default reason text is displayed on User List only but you can also display it for user after blocked login attempt. You have also option to keep some of them private – just start the reason text with ‘@’ (AT sign).

How to Extend Native WordPress Image Gallery With Optimized Support For iPhone & iPad Users ?

Extend native WordPress image gallery with optimized support for iPhone and iPad users.

WpJaipho plugin embeds Jaipho Javascript gallery in your WordPress Site. It replaces WordPress native media library image gallery using shortcode gallery with Jaipho gallery template for iPad and iPhone users.

How To Post From Twitter To WordPress ?

You can easily post your Tweets as individual WordPress posts. Twitter Tools was the famous WordPress Plugin for doing this but now its outdated. It was having certain limitations like you can add one Twitter account on one site not one account per author. Another thing was that it prompts you to create Twitter app and you need to do lot of configuration settings before using this  plugin.

So here I am discussing about a different plugin that post Tweets as WordPress posts in an easy way. It is the most easiest plugin for doing this. If you post more to Twitter and want your Tweets automatically appear in your WordPress blog as individual blog posts under specific categories like Tweets, Twitter Updates, News, Status etc then First thing you need to do is download and activate this Tweet As Posts Plugin.

After you complete with installation, follow theses steps:

  1. Visit Your Dashboard->Settings->Tweet As Posts.
  2. Enter Hashtag(s) in which you post more. Its all up to you which Hashtag you choose.
  3. Enter your Twitter username.
  4. Check the option Add Tweets as Posts.
  5. Select Post Category in which you want your Tweets to apppear.
  6. Select the default author for your Tweets.

How To Keep Track Of Your Site Plugins Deleted From WordPress Plugin Repository ?

Keep tract of installed plugins in your WordPress site that no longer exists in WordPress Plugin Repository.

WordPress provides no notification to users before removing any plugin from its repository. Plugins can be removed for the following reasons:

  • There is a security vulnerability
  • They are found to break the GPL
  • The author asks for it to be closed
  • They are found to break the directory rules
  • It is being investigated after non-specific complaints
  • Other plugins by the author are found to be a problem and all are removed pending investigation
  • The author asks for it to be closed because they are re-releasing under a different name

Create Your Own WordPress Theme Without Knowing PHP, CSS, HTML, JS

Using WordPress Online Theme Generator you can easily create your own Theme Styles. Without any need for HTML, JS, PHP, or CSS knowledge.

Visit Online Theme Generator and create your own theme ads your colors, settings, layout etc. Click preview live, click “save” and download your unique WordPress theme zip-file.

Continue reading Create Your Own WordPress Theme Without Knowing PHP, CSS, HTML, JS

25 Best Python Programming Books Now Available For Free

What Is Python ?

Python is a high-level general purpose programming language. As code is automatically compiled to byte code and executed, Python is suitable as a scripting language, Web application implementation language, etc.

Python can be extended in C and C++, Python can provide the speed needed for even compute intensive tasks.

Some Important Features of Python:

  • Python is built-in high level data types like strings, lists, dictionaries, etc.
  • Python has usual control structures like  if, if-else, if-elif-else, while, plus a powerful collection iterator (for).
  • It has multiple levels of organizational structure: functions, classes, modules, and packages which assist in organizing code.
  • Compile on the fly to byte code where source code is compiled to byte code without a separate compile step.
  • Source code modules can also be “pre-compiled” to byte code files.
  • Extensions in C and C++ — Extension modules and extension types can be written by hand or tools.