“Text File Widget” is live on WordPress.Org

My first plugin – “Text File Widget” is now live on the WordPress Plugins Repository.
It’s a proper job – complete Readme.Txt file, Banner, and Icon.
Looks great!

tfw-listed

Here’s the link: https://wordpress.org/plugins/text-file-widget/

It’s a very simple plugin, all it does is display the contents of a text file as a widget. I couldn’t believe that there wasn’t already a plugin for this, so I wrote one..

It replaces end-of-line characters with a “
” for clarity.

Here’s the plugin page: https://www.q292u.com/plugins/text-file-widget

Any problems with it, contact me via WordPress.Org (hit the plugin’s “support” link) – let’s do everything properly!

I’ve just created my first WordPress plugin!

I've just created my first WordPress plugin! Click To Tweet
I found that no existing plugin did exactly what I wanted to do: display the contents of a text file as a sidebar widget, so I made my own, from scratch.
[There was a plugin that displayed the contents of a text file whenever a shortcode was inserted, which was ok for inside pages and posts, but not widgets.]
While I was at it, I realised how easy it would be to add a shortcode handler as well, so I did.
It’s a pretty specific plugin, only for my “bashthebookies.net” site – not for general release, but it’s a start. (Look for the “Basher’s Daily Tip” widget in the RH sidebar..)

I could easily create a generic “display text file as widget” plugin, though. I’ll think about it.

I also think it would be useful to have an online “plugin boilerplate generator” that did all the boring stuff leaving only the custom code bits to do..
I may do that, too..

Any comments or suggestions gratefully accepted as usual:

Essential WordPress Plugins (Updated)

Why Use Plugins?

WordPress is immensely powerful straight out of the box, but it’s possible to add pretty much ANY functionality you want, and it’s usually for free.

OUR Favourites

This is a list of the TOP Plugins we use at q292u.com. Others may not agree.
They are in no particular order.

Right Now..

This is an UPDATED version of an updated version of an earlier post. There are SIGNIFICANT changes, as WordPress is such a moving target.

Here’s The List:


AKISMET

ESSENTIAL anti-spam system. Free to non-commercial users.
Filters out unwanted (spam) comments automatically, and provides stats on what it’s doing. ESSENTIAL.

WORDPRESS SEO (YOAST)

We now use this in preference to All-In-One-SEO-PACK. Allows us to tailor in-post SEO far better. Also handles Sitemaps. ESSENTIAL

BETTER WP SECURITY

Plugs all the holes we could find. Also handles backups. Excellent! ESSENTIAL

ADROTATE

Handles advertising on your site. Very comprehensive. Individual ads are created and then made into groups. You can then position the groups as widgets, in posts and on pages. Ads have start and end dates, and tracking can be switched on or off. Better than maxbannerads. ** The latest version has had features removed due to a “premium” version. Avoid this version. STRONGLY RECOMMENDED

WP AUTO TAGGER

Automatically adds relevant tags to your posts as you create them, based on post content. It’ll find tags you hadn’t thought of. STRONGLY RECOMMENDED.

AUTO POST THUMBNAIL

Automatically sets the “Featured Image” attribute of the post, based on the content. STRONGLY RECOMMENDED

HYPERCACHE

Excellent caching plugin, creates static version of all your posts and pages as they are created. Far better than SUPERCACHE. ESSENTIAL if you use a lot of plugins, or have a lot of visitors.
Get the “Clear Cache” Button plugin as well.

EXCLUDE FROM NAVIGATION

Some themes automatically add all pages to navigation menus. This is how to stop it. Adds a checkbox in the editor. ESSENTIAL.

SMART 404

Attempts to redirect 404 errors to relevant pages based on search query, and URL requested. Reduces bounce-rates. ESSENTIAL

Google Analytics (YOAST)

This adds Google Analytics tracking code to all your pages and posts, so you can keep tabs on everything. You need an analytics account. ESSENTIAL.

YARRP (Yet Another Related POsts Plugin)

Thsi is the best of it’s kind- Adds related posts links to your posts. Essential for internal links. ESSENTIAL

STOP SPAMMERS REGISTRATION

Blocks spammers from ever registering. Uses blacklists, etc so they can’t post. Nice. STRONGLY RECOMMENDED

COVERT SOCIAL CONTENT

We use this instead of FEEDWORDPRESS, due to performance issues. NOT FREE!
Strongly Recommended

COVERT SOCIAL BUZZ

Generates Likes/Tweets/etc. Not Free. Strongly Recommended.

WP SOCIAL POPUP

Pops up Social Links on accessing the site. Generates Likes/Tweets/etc. Strongly Recommended.

SOCIAL LOCKER (FREE Version)

Excellent! – Locks up content until the user tweets, likes, g+1 or whatever. STRONGLY RECOMMENDED.

Feedwordpress / links rss error fixed.

We had an error with epn rss feeds with feedwordpress. Nothing was Coming through.
Obvious solution was to replace the rss feeds. So we did, using the “links” manager as it’s quicker than fwp. And we got back unfiltered rss based on keywords only. It turns out that link manager chops the ends off the urls! Took a week to work that out.. had to re-enter all urls using fwp..

Posted from WordPress for Android

Feedwordpress Issue Solved

We’ve had trouble re-activating feedwordpress after maintenance twice this week. It turns out that the plugin tries to revalidate ALL it’s feeds..
We have a LOT of feeds!
Our solution is to change the link category for the rss feeds to an empty one, then activate fwp, and tell fwp to use the new link category. Simples!

New Site Launched: www.motorbikes4sale.net

That’s right, another q292u site was launched this week, called Motorbikes4Sale.net. It does exactly what it says on the tin.

This site raised a bit of a problem: although it’s fed by RSS feeds, there is only ONE feed per manufacturer. So how to create tags for keywords that are NOT a category? Model Names, for example..

After extensive searching, and at one point even considering writing a cronjob plugin to do the job, we found “WP Auto Tagger”. This uses the Yahoo API to find suitable tags based on the post title and content. It works like a dream!


New Site Launched: www.motorbikes4sale.net

That’s right, another q292u site was launched this week, called Motorbikes4Sale.net. It does exactly what it says on the tin.

This site raised a bit of a problem: although it’s fed by RSS feeds, there is only ONE feed per manufacturer. So how to create tags for keywords that are NOT a category? Model Names, for example..

After extensive searching, and at one point even considering writing a cronjob plugin to do the job, we found “WP Auto Tagger”. This uses the Yahoo API to find suitable tags based on the post title and content. It works like a dream!


Site Revamp

We’ve had a bit of a spruce-up.
The new theme is “greyzed” by “the forge”.
It includes feedburner RSS, Feedburner e-mail, amd social media integration as standard, and looks amazing.
Let us know what YOU think..

WORDPRESS: How to disable all active plugins, without access to the dashboard..

See my earlier post as to why I needed to do this:

WP-Supercache Ate My Website

My site was down. Dead. No access to the admin functions. The problem was a plugin gone bad (when I tried to disable it).

So, I needed to disable plugins, but couldn’t get into the admin panel.

The excellent support guys at Unlimited Web Hosting came up with this ingenious solution:

Here’s what you do: use CPANEL or PLESK to access the WordPress database of your site directly. It’ll be something like phpmyadmin. Details vary with web hosting firms. If in doubt, ask yours.

Browse the WP_OPTIONS table. Look for a record called “active_plugins”.
Copy the contents of this field into notepad, and save it, just in case.
Now go back to the database, and EMPTY the contents of “active plugins”, and save it. (you can always restore it from the copy you made).

Now access your site. It should come back up, but with no plugins running, so it’ll be weird. Now go into admin as usual, and re-enable all plugins one-by-one, EXCEPT the one that caused the problem.
I’d DELETE that one..

** DISCLAIMER. If you try this solution, and it messes things up, that’s your problem. I take no responsibility for it. It worked for me. **

** If it all goes wrong, simply restore the database from your backup. You DO have a backup, right? **

Related External Links

WORDPRESS: How to disable all active plugins, without access to the dashboard..

See my earlier post as to why I needed to do this..

My site was down. Dead. No access to the admin functions. The problem was a plugin gone bad (when I tried to disable it).

So, I needed to disable plugins, but couldn’t get into the admin panel.

The excellent support guys at Unlimited Web Hosting came up with this ingenious solution:

Here’s what you do: use CPANEL or PLESK to access the WordPress database of your site directly. It’ll be something like phpmyadmin. Details vary with web hosting firms. If in doubt, ask yours.

Browse the WP_OPTIONS table. Look for a record called “active_plugins”.
Copy the contents of this field into notepad, and save it, just in case.
Now go back to the database, and EMPTY the contents of “active plugins”, and save it. (you can always restore it from the copy you made).

Now access your site. It should come back up, but with no plugins running, so it’ll be weird. Now go into admin as usual, and re-enable all plugins one-by-one, EXCEPT the one that caused the problem.
I’d DELETE that one..

** DISCLAIMER. If you try this solution, and it messes things up, that’s your problem. I take no responsibility for it. It worked for me. **

** If it all goes wrong, simply restore the database from your backup. You DO have a backup, right? **