Alan’s Personal Techy Website

  • How to find out what theme you are using in WordPress

    Finding what theme is useful in some wordpress functions, if you are creating a bespoke system based on wordpress [php] $obj=wp_get_theme(); [/php] gets an aobject [php] $obj->template [/php] is the directory name that the theme is installed in

  • When working out what is going on in WordPress

      it is sometimes useful to be able to see what globals exist. This snippet of code shows globals and excludes a couple of the big wordpress objects that probably are not of any use [php] foreach ($GLOBALS as $key => $value) { if (($key!=’GLOBALS’) && ($key!=’wp_object_cache’) && ($key!=’wp_filter’)){ if ((!is_object($value)) && (!is_array($value))) { echo…

  • How to make a website

    In this post I try to cover how to make a website. Creating a website can be daunting for a new user or a start-up businesses that has no experience and no idea where to get a website. First you need to understand what a website is see here. If you want to create a website then there…

  • Cheap links are dead, Google Disavow Tool come online

    On 17th October Google released their disavow links tool. Webmasters now can tell Google which links to ignore. this is much needed since Google annouced that links can actually harm you and spurned a whole new industry of negative SEO (and less straight ‘reputation management’ companies). Google’s  Disavow Links Tool allows any webmaster  or site…

  • Is AOL e-mail unreliable

    I keep getting [code]retry time not reached for any host after a long failure period[/code] or [code]retry timeout exceeded[/code] when e-mailing  aol.com. I have done some research and it seems that aol e-mail has been pretty shakey in the past, but I am concerned it might be something to do with my server set-up. But…

  • Extracting data from tar.gz

    cpanel creates backups in tar.gz format, sometimes you want to recover a single file  from the tar gz file. If on linux you can extract everything into a spare directory and work from there using the following command suitably edited tar -zxvf mybackup.tar.gz -C /home/myrecovery   If you need to see what is in the…