Default post thumbnail

I wanted to add a default thumbnail to my homepage wiki style site to liven it up a bit but the usual plugins didn’t work, they posted double pictures and the like so I found a plugin called Automatic post thumb bit there were some errors in there that I had to sort first.

Add thumbnail call to loop

<span style=”float: left”>
<?php post_thumb(); ?>

On my theme WikiWP theme this is entered on the index page loop after

div class = ‘summary’ /div

Unfortunately this plugin had an error in the file so you will need to edit it

wp-content/plugins/post_thumb/default image  is incorrect ( this at the end of the edit plugins file) and you must change that url to one that works like the homepage/default-image.png and upload it there

Alternatively if yoy just want the same image you can use

<a href=”<?php the_permalink() ?>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”>
<img src=”world.png” alt=”<?php the_title(); ?>” width=”75″ height=”75″/></a>

in place of <?php post_thumb(); ?> and that wil give you a static thumbnail for every post but has good alt and title values.

Change world.png to any file you want in your root directory

Remember wordpress alters ”  in any code represented here so change before you insert!

Bloginfo url to subpage

If you want to put a link in a footer for a theme that you may want to use again you can hard code links but that means extra editing when you try to use the theme again so what you need is a code that call the wordpress url and the subpage. Such things such as the privacy policy or contact pages are good to be shown in the footer.

As we previously discussed <?php bloginfo(‘url’) ?> is the call for the blog url so in my case this is

So instead of hard coding  <a href=””>Privacy Policy</a>

we would use

<a href="<?php bloginfo('url') ?>/privacy-policy">Privacy Policy</a>

In which the call for url is executed in the <? ?> brackets followed by the hard code as normal (don’t forget the slash) and the rest is identical to the standard href code.

<?php bloginfo(‘url’) ?> .. your friend can be used to call and file or image for your templates to make them cross compatible  with any place you want to take your theme design.

Complete footer code
<br>Copyright &copy; <?php echo date(‘Y’); ?>  All Rights Reserved.<br><a href=”<?php bloginfo(‘url’); ?>” title=”<?php bloginfo(‘name’); ?>”> <b><?php bloginfo(‘name’); ?> </b></a> <?php bloginfo(‘name’); ?>.<br><a href=”feed:<?php bloginfo(‘rss2_url’); ?>”>Entries (RSS)</a>
and <a href=”feed:<?php bloginfo(‘comments_rss2_url’); ?>”>Comments (RSS)</a>.<br>     <a href=”<?php bloginfo(‘url’) ?>/privacy-policy”>Privacy Policy</a> <a href=”<?php bloginfo(‘url’) ?>/contact-us”>Contact Us</a>

Untar database backup errors

The biggest problem with Untar database backup errors  is that the archive is broken or corrupt is that the user has downloaded the file to their desktop via ftp standalone software. For this type of file you must use your ftp function in cpanel and as well as this you can explore remotely. When you explore of expand this you can either drag and drop to your desktop (mozilla) or download (right click -download file)

This will ensure that the file will be downloaded in the correct manner (ASCII formatting issues) that you can use to upload into you mysql database easily.

If your original database is damages then it might have to be deleted and alternatively a better option for wordpress is to start a brand new database from cpanel and edit wp config to the appropriate setting

// ** MySQL settings – You can get this info from your web host ** //

/** The name of the database for WordPress */

define(‘DB_NAME’, ‘xxxx_xxx’);

/** MySQL database username */


/** MySQL database password */

define(‘DB_PASSWORD’, ‘xxxxxxxxxxxxxx’);

Having done this go to phpmyadmin connect to database with your password above and the name of the database will be displayed , and reclick on the name and then import. Do not import from the function that is displayed on first entry even though it will depict the name of the database in the left corner it it not selected . You must select the database name a second time ( there should be no further writing below it in the left column.

For Jill

Now stop bugging me!

Footer code for copyright and homepage link wordpress correct

I found this code on Lorrelle site that was incorrect and I commented to correct it but Lorelle didn’t understand what I said , the code was errored and I tried to comment that it was wrong but the site stops embed of code in comments basically

<p><a href="<?php bloginfo('name'); ?>" title="<?php bloginfo('name'); ?>">
<?php bloginfo('name'); ?>
</a> is dedicated to blogging about blogging.</p>

Should be

<p><a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>">
<?php bloginfo('name'); ?>
</a> is dedicated to blogging about blogging.</p>

As the call for url is bloginfo url not bloginfo name as that is the call for the name of the site

The code you probably are looking for ( if you have edited a scripted footer to remove links) is

<br>Copyright &copy; <?php echo date('Y'); ?> <a href=”<?php bloginfo('url') ?>”><b><?php bloginfo('name'); ?></b></a>. All Rights Reserved.<br><a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>"> <?php bloginfo('name'); ?> </a> is dedicated to blogging about blogging.<br><a href="feed:<?php bloginfo('rss2_url'); ?>">Entries (RSS)</a>
and <a href="feed:<?php bloginfo('comments_rss2_url'); ?>">Comments (RSS)</a>.<br>

It is in the footer below between the ||| markers!

Could not connect to facebook chat at this time an unexpected error occurred please try again

facebook chat problems

If you have had this error “could not connect to facebook chat at this time. an unexpected error occurred. please try again.” chances are you are using ie7 ie8 or ie9.

You may have had a go with the firefox and unfortunately facebook does not work well with that browser!

IE7,8,9 are very unreliable,slow and dogged with errors that often trip the operating system into loops and waiting that should overridden.The problem is more with the Microsoft interpretation engine and rule setting requirements.Often this is the case with “as soon as i type a message in facebook chat it says the person is offline

What to do?

Is this you? ...facebook chat problems

Is this you?

There is only one way to guarantee that the browser always works with chat and all things facebook and that is the browser Opera ….Download here

  • chat works perfectly and much quicker ( I have tested this)
  • all pages load faster
  • when you close the browser the browser restarts at the pages where you left them
  • It does not reload the previous pages on the back button so aids the speed of browsing pages and decreases waiting time and bandwidth usage (even at peak times)
  • has the best, easy password manager (you must save a password before the icon shows up!)
  • never crashes
  • errors on page are loaded and shown with an error icon so at least the page is there and can be scrolled
  • easier upload and download for images
  • Very low system resources, great if you do not have a dual core processor!


  • will no show attacked pages from google registry unless google toolbar installed (recommended)

Even if you use Opera just for Facebook to avoid the “facebook could not connect to facebook chat at this time. an unexpected error occurred. please try a” you will not be disappointed and I guarantee you will never stop using it!

PS you may know opera from the Number 1 best mobile search browser for mobiles…