Archive for the ‘WordPress Plugin’ Category
WordPress Facebook Like Plugin Pages Hack »
Written by Zain on March 27th, 2011
{ 5 comments }
I’ve recently been building my own NLP Life Coach site. And yes, I’ve been using all the WordPress skills I’ve acquired from building sites for other people the last few years. Very handy! It’s been quite a task, mainly as I probably know too much and spend far too much time tweaking things so they’re just right rather than getting any content together… Anyway, I’ve just published my very first NLP Life Coach podcast called “2011: A Retrospective Of A Wonderful Year Ahead”. (Have a listen – it’s pretty bloody good. Even if I do say so myself… and I do!).
As I sat and admired my handiwork, I noticed something missing. Yes, I’m using the all the SEO tricks I possibly can. I even found this nifty little WordPress Facebook Like plugin (by AJ Batac) to use on the site. I like it. It has those pictures of people you know appearing under the “Like” button – not like the one I’m using on this site. Cool.
…but, here’s the problem:
“The WordPress Facebook Like plugin doesn’t work with Pages!”
Not good. I’m quite proud of the jQuery tabs on my NLP Life Coach Contact page on my new site. It would be nice if people “Liked” it. Or had the option to! For some reason, this option isn’t built into the plugin.
Nuts.
But it’s okay folks… I got another WordPress Hack to fix this page issue. And it’s simple too! So here it is:
The WordPress Facebook Like Plugin Pages Hack
Important: Always remember to make a backup of any files you edit! You have been warned.
- In WordPress, click on Plugins / Editor.
- For “Select plugin to edit:“, choose the WordPress Facebook Like plugin and click Select.
Alternatively,
you can use your favourite editor and open:
/wp-content/plugins/wordpress-facebook-like-plugin/Wordpress-Facebook-Like-Plugin.php
- Look for the following on line 198:
if( !is_feed() && !is_page() && !is_archive() && !is_search() && !is_404() )
- Change it to read:
if( !is_feed() && !is_archive() && !is_search() && !is_404() )
- Click the blue “Update File” button and save the file.
- You’re done!
All that’s really been done here is to remove the !is_page() function so the plugin doesn’t look to exclude it from Pages.
When you check your Pages, you should now see that you have the WordPress Facebook Like plugin working on Pages!
Improving the WordPress Facebook Like plugin
Having looked at the code, it wouldn’t take much to add something like this:
<h2>Posts & Pages Setting</h2>
<div>The Post Type of the plugin (Default: Posts)</div>
<select name=”wp_fb_like_posttype” id=”wp_fb_like_posttype”>
<option value=”post” <?php if (get_option(“wp_fb_like_posttype”) == “post”) echo ‘selected’; ?>>Posts</option>
<option value=”pages” <?php if (get_option(“wp_fb_like_posttype”) == “pages”) echo ‘selected’; ?>>Pages</option>
<option value=”both” <?php if (get_option(“wp_fb_like_posttype”) == “both”) echo ‘selected’; ?>>Both</option>
</select>
to make another option, then have a few conditional statements so people could select what they’d prefer to output.
…but I’ll leave that to AJ Batac to update!
For the moment, it’s worthwhile checking out the WordPress Facebook Like plugin. Even if you do need to use it on Pages, a slight code tweak and it can be easily done.
Enjoy!
I’ve recently been building my own NLP Life Coach site. And yes, I’ve been using all the WordPress skills I’ve acquired from building sites for other people the last few years. Very handy! It’s been quite a task, mainly as I probably know too much and spend far too much time tweaking things so they’re just right rather than getting any content together… Anyway, I’ve just published my very first NLP Life Coach podcast called “2011: A Retrospective Of A Wonderful Year Ahead”. (Have a listen – it’s pretty bloody good. Even if I do say so myself… and I do!).
As I sat and admired my handiwork, I noticed something missing. Yes, I’m using the all the SEO tricks I possibly can. I even found this nifty little WordPress Facebook Like plugin (by AJ Batac) to use on the site. I like it. It has those pictures of people you know appearing under the “Like” button – not like the one I’m using on this site. Cool.
…but, here’s the problem:
“The WordPress Facebook Like plugin doesn’t work with Pages!”
Not good. I’m quite proud of the jQuery tabs on my NLP Life Coach Contact page on my new site. It would be nice if people “Liked” it. Or had the option to! For some reason, this option isn’t built into the plugin.
Nuts.
But it’s okay folks… I got another WordPress Hack to fix this page issue. And it’s simple too! So here it is:
The WordPress Facebook Like Plugin Pages Hack
Important: Always remember to make a backup of any files you edit! You have been warned.
- In WordPress, click on Plugins / Editor.
- For “Select plugin to edit:“, choose the WordPress Facebook Like plugin and click Select.
Alternatively,
you can use your favourite editor and open:
/wp-content/plugins/wordpress-facebook-like-plugin/Wordpress-Facebook-Like-Plugin.php - Look for the following on line 198:
if( !is_feed() && !is_page() && !is_archive() && !is_search() && !is_404() )
- Change it to read:
if( !is_feed() && !is_archive() && !is_search() && !is_404() )
- Click the blue “Update File” button and save the file.
- You’re done!
All that’s really been done here is to remove the !is_page() function so the plugin doesn’t look to exclude it from Pages.
When you check your Pages, you should now see that you have the WordPress Facebook Like plugin working on Pages!
Improving the WordPress Facebook Like plugin
Having looked at the code, it wouldn’t take much to add something like this:
<h2>Posts & Pages Setting</h2>
<div>The Post Type of the plugin (Default: Posts)</div>
<select name=”wp_fb_like_posttype” id=”wp_fb_like_posttype”>
<option value=”post” <?php if (get_option(“wp_fb_like_posttype”) == “post”) echo ‘selected’; ?>>Posts</option>
<option value=”pages” <?php if (get_option(“wp_fb_like_posttype”) == “pages”) echo ‘selected’; ?>>Pages</option>
<option value=”both” <?php if (get_option(“wp_fb_like_posttype”) == “both”) echo ‘selected’; ?>>Both</option>
</select>
to make another option, then have a few conditional statements so people could select what they’d prefer to output.
…but I’ll leave that to AJ Batac to update!
For the moment, it’s worthwhile checking out the WordPress Facebook Like plugin. Even if you do need to use it on Pages, a slight code tweak and it can be easily done.
Enjoy!
WordPress Plugin Review: WP LinkSync (aka WP BlogrollSync) by DCoda »
Written by Zain on May 29th, 2008{ 66 comments }
Are you a professional WordPress Web Developer looking to sync your blogroll from one source to multiple WodPress blogs? Or maybe you’ve got some great links on one blog that you just want to transfer to another? Perhaps you’re a WordPress SEO professional looking to create a continuously growing list of links on your various WordPress blogs just by updating 1 source blog?
If you are, then you may want to try out the WP LinkSync plugin by DCoda Ltd (previously named WP BlogrollSync).
I’m going to admit, that it’s not perfect (yet). However, in this post, as well as reviewing this WordPress plugin, I’ll be outlining how the WP LinkSync plugin can be hacked to get it to do what you need. (I’ve also left a comment on the DCoda WP LinkSync page, so hopefully, they might implement these changes without you having to hack the files like I’m about to show you!).
This post will also look at the relatively undocumented WordPress OPML feature that can be used for importing existing blogroll links into a new site. Did you even know that you could do this?
WP LinkSync Review & Extending WordPress OPML Data For Improved Blogroll Imports »
WordPress 2.5: Changing Saved Page Slugs »
Written by Zain on April 26th, 2008{ 124 comments }
Okay. I’ve had a couple of emails and comments from some Internet Marketers/WordPress SEO types worried about WordPress 2.5 (Brecker) and SAVED page slugs. Everyone seems to be fretting about how you can’t edit these!
“OMFG The Sky Is Falling!”
Chill.
Lighten up.
It’s possible.
Yet again, I’m here to the rescue and will be showing you with a quick and easy, step-by-step, easy how-to guide on changing your saved page slugs.
Firstly, let me reassure you that you’re not mad – I can’t change those saved Page Slugs either in WordPress 2.5! It’s okay though because I’m full of solutions – that’s why people hire me to build their sites!
Let me say that once again – this is for Posts/Pages that have already been saved – if you’re looking for how you edit them in the first place, then read my original post on How To Change WordPress 2.5 Page Slugs. The original article will show you how it’s done in the first place – this post will show you what to when you mess it up but don’t want to delete your entire post and go through all of that nonsense of copying and pasting the old stuff into a new post etc.
So are you ready? How To Change Saved WordPress 2.5 "Saved" Page Slugs, Step By Step. Read More »
Internet Marketing: FAQ-Tastic 1.0.6 Product Launch Outline »
Written by Zain on April 26th, 2008{ 12 comments }
Firstly, apologies for the delay on FAQ-Tastic 1.0.6. It’s been a really busy 2 weeks and it’s not been helped by school half term; having kids about; unexpected guests; cleaning the flat for unexpected guests; assisting on an NLP Practitioner training course; recovering my NLP breakthrough coach client’s hijacked WordPress website (now there’s a blog post case study…); doing NLP allergy interventions (I happen to be a fully qualified NLP Master Practitioner, Time Line Therapist and Hypnotherapist btw) and helping out on the official Skindred website (excellent RaggaMetal band well worth checking out – I’m also happen to be the admin for the Skindred Facebook group and we’ve now got more members than Sherman Hu‘s “Friends of Sherman Hu” and “Beginners Guide to Mastering Web Basics” Facebook groups put together since I became the Skindred Facebook Admin! Sorry Sherman… and I’m not even a Facebook specialist!
). Woah… that’s a load of link love!
As you can see, I’ve been a little busy and every moment has been a great learning experience. So now that I’m more on top of things, FAQ-Tastic Lite 1.0.6 will be coming very shortly.
If you check out the new FAQ-Tastic website, you can see how much high quality stuff I’ve been doing – like designing new product shots and putting together the new user manual for the Lite version. There’s still a whole load more to do – like adding the tell a friend scripts and the standard Aweber name captures to be done. It’s not been easy and yes, I did everything from setting up the site to the designs all by myself – I’m not just a pretty face
Why email captures? Well, you Internet Marketers out there will probably get the feeling that I’m gearing up for a proper product launch for FAQ-Tastic Pro. And I am.
For all you newbie Internet Marketers out there you might want to read on, I’ll be detailing the 8 things I’ll be doing for this launch so you can get a better idea of what’s involved and things to do. It’s going to be quite a ride, with all the ups and downs, as I’ve never done a product launch before. There’s going to be quite a lot of things to learn and at the end of the process you’ll be able to gain the experience from my mistakes.
(Oh… and just to be clear: there are NO affiliate links in this post, just pure value!)
FAQ-Tastic Lite 1.0.6 & User Manual: Coming soon »
Written by Zain on April 8th, 2008{ 3 comments }
I’ve not been well the last 4 days. Despite the shivers; aches; hot and cold flushes; runny nose and sore eyes, I’ve still been doing whatever I can to get this latest version of our WordPress FAQ plugin out.
Not just that. I’ve also been working hard on completing a new user manual for it. It’s nearly done except I just have to create some supporting pages and add those links to it.
The FAQ-Tastic User Manual is also Fa(q)ntastic – even if I do say so myself. Why? Because this 30 page, PDF user guide been lovingly crafted and taken just over 6 days to complete to include:
- screengrabs of every page in the WordPress administration needed to use plugin (and images of how it would appear on your site)
- a step by step guide showing exactly what to do – from installation, activation to using the plugin.
- a detailed explanation of the difference between Simple and Paged FAQs.
- an explanation of Paged FAQs and their real purpose.
- bookmark links to easily jump to the section you need.
- and best of all… it’s FREE!
WordPress FAQ-Tastic Lite version 1.0.6 User Manual and plugin - read more »
WordPress SEO: Top 7 Optimization Areas For Beginners (Part 2) »
Written by Zain on December 18th, 2007{ 47 comments }
In Part 1 of WordPress SEO: Top 7 Optimization Areas For Beginners I promised you that I would reveal the 1 WordPress plugin that I use to optimize at least 5 of the 7 areas that I outlined in the last article.
In this article I’ll tell you exactly what the WordPress plugin is, explain why it’s an all in one SEO plugin packed into a neat bundle and even show you how you use it.
Up until now, most people have been using several plugins to achieve the same job. Truth be told, you’re wasting time if you are having to handle several plugins.
In this post we’ll look at:
- 7 Key Optimization Area: A Summary
- How this WordPress all in one SEO management plugin can optimize 5 of the 7 key SEO areas.
- How can an all in one SEO management plugin save you time?
- Tips on Permalinks for SEO in WordPress.
Google Analytics Code Update »
Written by Zain on December 15th, 2007{ 2 comments }
Looks like Google has just updated their Analytics code from the legacy “urchin.js” file to a new file called “ga.js”.
Apparently, according to the Analytics website, this new tracking code will enable you to “to gain access to a wide range of exciting new features as they become available“.
Anyone have any ideas what the new features might be?
Whatever it is, just remember not to put *both* codes into your pages!
Looks like a few WordPress plugins might need a bit of a code revamp to ensure these changes are up to date… (naming no names – Mr Godley!
).
Reminder: Free Aweber Segmentation Script »
Written by Zain on November 18th, 2007{ 3 comments }
Just a reminder for those of you who read my post on the Free Aweber Segmentation Script but *didn’t* sign-up or download the script – I will be taking the script down from the system tomorrow (Monday) so this is your last chance to grab it. [note: sorry - that should read "Wednesday" - the original post was delayed by 3 days and I forgot to update this follow up! Durrr...]
If you want it that is!
The reason why I’m taking this script down is that it’s just “a script” – the aim of this is to determine whether or not there is enough interest out there (you lot) for a WordPress plugin that would enable you to easily create a simultaneous Opt-in box and WordPress sign-up form for your pages.
That’s right – a “single sign-on” system that has a double whammy of registering users while getting them into your auto-responder sequence!
Anyway… if that interests you, then let us know you are interested by taking action and signing up now.
Go to the previous post on the Free Aweber Segmentation Script, scroll down, add your name and email and be counted!
Free Aweber Segmentation Script »
Written by Zain on November 16th, 2007{ 17 comments }
Today’s tip is on how you Internet Marketer’s can “pre-segment” your customers even *before* they’ve managed to get into your Aweber email list. In this post, I will be showing you a live example of this Aweber script working and also giving you the opportunity to download the script and give you an installation guide showing you how to use it.
The script that I will be providing today *could be* modified to be used on other systems – however, this tutorial will focus on integrating an Aweber auto-responder list with WordPress. Get the FREE Aweber Segmentation Script Now! »
Semi-Static WordPress Homepages: Yogi I’ve Found A Boo Boo »
Written by Zain on October 13th, 2007{ 13 comments }
Okay. I’ll admit it… I completely messed up. Regular readers may know that I recently wrote this pretty excellent guide on how to set up the Semi-Static WordPress homepage but no-one noticed the *huge* error that I had in the instruction.
No-one noticed *except* from a really amazing Texan Liberty Lady (Carol) who describes herself as *green, green, green* when it comes to WordPress and yet still attempted to take on the Semi-Static homepage. Now that’s really ballsy if you ask me – it’s quite an advanced technique.
Anyway, she emailed me and let me know that she’d followed the instructions and it wasn’t working.
That’s right people. I had a boo boo on my semi (I’ll let you imagination run with that one).
So she kindly let me have access to her site and I had a look around. And you know what? Completely my fault – my “how-to” guide was more of a “how-not-to” guide. DOH! A Homer moment – that’s what happens when you post just before bedtime… (never again!)
Well, guess what? Now that sent her new instructions, she’s successfully implemented it on her Ron Paul website (I was like “Ron Paul Who?“, as I don’t read newspapers and haven’t done for several years now and shy away from any type of political discussion as I find it really messes with my inner wellbeing, man…).
Also – credit where credit’s due – Carol also sent me a tip on updating the code I sent her. Yes, she even spent the time looking up the WordPress Codex to find out more about how to do this. Now, if someone this green spends this much time making sure her website is high quality when it comes to WordPress, then some of you other political bloggers should probably watch out – she’s determined and will probably be spending a lot more time promoting her candidate of choice!
Me… I’m staying out of the fray. I’m all for Democracy and freedom of speech, yada, yada, blah, blah, blah… but the last time Bush got in, so that’s that say about the so-called Democratic system. More of this to come – I’m currently re-writing a blog post that doesn’t make me sound an ideological fascist (cause I’m not! I’m politically apathetic with a tendancy to dislike the masses for their inability to differentiate between what sucks and what doesn’t).
I digress. As usual. Because it’s my blog and I’m tangential…
So… anyone up for a 3rd draft of the Semi for WordPress? Here’s proper instructions this time. An Updated How-To Guide for WordPress Semi-Static Homepages



