A lot of geek-hours went into this site that you’re looking at right now.
* – Guess the Geek… I mean the Keyword lol – *
When I first started customising my blog theme; it had a standard footer and a standard header. To cut a long story short, by the time I’d finished with it I had the following: –
I customised the original header and created the rest of them.
The geek goes on though…
I’d also created a number of additional footers too: –
I customised the existing standard footer and the footer for post pages . The rest I created.
The blank footer template is in fact very useful: You see due to the design of WordPress you can’t have ‘no footer’ as such. – The footer file contains essential codes that the theme, and most of the plugins too, require to properly function.
But in circumstances where you don’t want to show a footer on a particular page – for instance on a squeeze-page, on which said footer would become a distraction, then you might imagine that would cause a problem. – Well no in fact; because although you need the essential codes contained in the footer; those essential codes don’t display anything in the footer themselves.- So if you include a footer file that only contains the essential codes, but no codes that display anything else; then you can make the page appear as if the footer were absent, as if a footer file was not used – even though it was.
Yes it’s geek – unique: –
Geek – fantastique even…
Moving on. – Since we’re listing; let’s list the other various templates too: –
Slightly Unusual Theme
This theme is a little different to standard – it was originally created like this by the WordPress Team, before I started hacking it – in that it loads the required page or post template which calls the appropriate header, as is normal, but the page or post template creates only a framework between the header and the footer or the author-bio. It then calls the relevant content file from within the loop, and adds the content accordingly…
This is an OK way to do it; but I don’t see it as all that advantageous. – However it causes the need for lots more template files in the form of content-template files… So when I create a new page template I often have to create an appropriate content-template to go with it; hence the amount of building work was increased considerably, as was the necessary amount of debugging.
Is it any wonder that the site took me so long to build and tweak to how it is today: I had to create and debug 26 templates; plus edit and debug the 19 existing templates too. – That was quite a feat; but I was determined to end up with a theme that did everything I wanted it to do, in exactly the way I desired it to perform.
There were a couple or three things that I wanted which were beyond possibility due to shortcomings in the theme I’d chosen to hack, along with my not-yet-fully-developed web-designers skills.
All the same – although it took me almost 18 months in total to code and debug everything – I did it: Mission accomplished.
The Index (Tags) Page
The Index (Tags) page was an idea inspired by David Risley; owner of Blog Marketing Academy. David has a massive website full of hundreds of valuable written, audio, and video training materials. It’s of course protected by a firewall that allows only members access to most of it; but as I say it’s a huge site, and it’s a learning resource, an information database, rather than just a compendium of articles like a blog was originally intended to be.
WordPress indexes and tags subjects by keyword rather well; but its a rather difficult listing to get hold of by default from WordPress as it’s currently built. – Therefore it’s necessary – if you want to create an index-listing by keyword for the use of readers – to create a template that calls the keyword tags and links them up to the appropriate articles.
David Risley actually created and debugged a whole PHP routine for this very purpose, and he shared it in Blog Marketing Academy. Unfortunately his routine wasn’t compatible with my theme; though it works very well with Thrive Themes, so I had to either create my own variation of David’s PHP routine that was compatible with my theme, or look to a third-party for an answer.
(As I’d done with the PHP routine included in the posts-content template which creates the Blog Page: It works, very basically, something like: –
* if (is_post) then create post framework and use post-content template.
* else if (is-Blog_Page) then create extended post framework and use certain parts of post-content template to repeatedly list abbreviated posts until no more posts to list.
Fortunately there is a very useful little WordPress plugin for this very purpose by Hona Skypala called simply “Tags Page”.
That plugin saved me no end of PHP writing and debugging: Instead I wrote a template which incorporated the plugin’s output into it. – Again: Problem solved, target neutralised.
There are other geek – tastically thought-up and created templates mentioned above that I could talk about in this article – and I may well do so when I create future updates to the piece.
The cherry on the geek – cake
Today, as a final tweak to the site’s latest colour scheme. I wanted to change the shading of the tiny sidebar displaying with the page with no menu template, the page with no comment and no menu template, and the page with no comment and no menu and blank footer template – but not the page with no comment template – from the standard website colour denoted as ‘baotv’, to a mahogany shade as used in the page and the post headers.
I worked out that to do this I’d have to create yet another header file; a copy of the original header file as used previously with said page templates, but the only difference being that the css class for the colour of that particular div would be mahogany coloured rather than the original colour.
Having done that it was simply a case of editing the 3 said template files to call the new header that I’d just created rather than the original header.
So I got that sorted.. It was no major operation; ‘fairly simple really – and I’m pleased with the result.
Who’s geek – boasting?
Yes I know; I’m keyword-stuffing, and this is a ”look what I did” post. I wrote it because nobody has any idea of the the amount of toil and work-hours that went into making this website what it is now. All anyone saw was the bits I got wrong initially, and they tweeted it out and laughed about it, and had ‘look at the incompetent web-designer’ parties, at which they ripped the piss out of me because I made errors in my coding, or I failed to debug lines properly first time round…
…And I’m happy in my paranoia. – But seriously now; a Hell of a lot of work went into it, and hardly anybody has any idea how many geek-hours and sleepless nights went into this site.
No it’s not perfect: I don’t do perfect. – Nobody does. – But I’m proud of it.
If you like it too in whatever way; perhaps you’d consider allowing me to keep you in the loop by email? – There’s a free 1/2 hour mix on offer just to say thank you.
– – – – –
If you like my spiel, or my music, or both - even my geekiness; then I'd like you to come back some time. - In fact I'd like to stay in touch with you, and have you come back here to this site sometime.
The only way I can think of to achieve this is to ask you to leave me an email address on which I can contact you... So I'll tell you what I'll do: I'll give you almost 30 minutes of my self-composed mix in exchange for your email address. - 'Good deal yeah? - 'Great, we're singing from the same lyric-sheet here, as it were.
When you enter your email address below and click "Get It Now", you'll be taken to my "Thank You" page, where you can download your music, and click on links to more of my stuff if you're interested too.
Since I will then have your email address I'll send you email from time to time; like when I have something interesting to say, or when I release something, or even when I think there's something I've found that you'd be interested in.
You can unsubscribe from these emails at any time if you get fed up with getting them, and I won't complain about it. - And you won't hear from me again; unless you re-subscribe.
'Sound good to you? OK let's do this: 'See the inset below? Follow the instructions - it's really easy - and we're away.
'See you there.
*Opt-in for Sharron-Idol's emailing list - stay connected with this great new site...