I was working out in theory and on paper my first complete Wordpress theme. I modify and edit and add to and subtract from themes. But this one would be completely from scratch. I wanted my own customizable features, header images, logos, placement and functions. All in one theme that I could also change the theme of this theme for holidays. So this would be the be all end all theme.
And I started to over analyze (it’s better that way) about this whole process in general.
I always tend to jump ahead sometimes it just takes a leap of a faith that tells me that it is able and available to be done, but people just don’t do it. I know that I have seen defaults in themes. Where do they come from? How do they link in to a theme? Can I create my own default? Why not. Someone out ther had done this before me. I just have to find out what the steps are and do it also.
I began to wonder why I had to create entire pages of code. CSS can place and format any item on a web page. Why do themes contain pages at all?
It seems to me there should be an id for each part of what can display on a Wordpress site and that #id should have #names and each name could be assigned lower classes also. So, again what is with the pages of any kind of HTML whatsoever. I always said that I would not use CSS until I was ready to give up almost completely on using any kind of HTML at all. If my data is dynamic, and I can completely format with CSS why would I need anything else.
Well, Wordpress may just be the push I need. I would like to say that theme designers around the world need to agree on some standard #ids for components. We know that we use #container, #content, #post, #comments, #sidebar etc. so why not take these basics and develop themes that consist only of style-sheets and a theme settings page the active file being set up by Wordpress itself?
example:
If you have a #comment tag your theme settings can say show comments or not. the <#id> would then be hidden or not. With CSS and the settings of the theme that would be it. no need for the extra files to even exist.
Wordpress itself lets you borrow from other themes with their CSS setting Template: option. So why is it not used more often. Why are there not more strong bases to use as default templates. Kubrick is ok but I want more…lot’s more…
The template option is there for a reason.
Anyway, I just had to get that off my back. Redundancy really bugs me.
Related Posts On Other Sites:
first I edited the file wp-includes/formatting.php
search for <br> then it will find where it does a string replace of
$content = str_replace('<br>', '<br/>', $content); this is for xhtml to display properly and with the correct syntax. Change it to
$content = str_replace('<br>', '<br clear="none"/>', $content);
Then go into the settings/writing section of your WordPress admin. Check if you are after all allowing XML-RPC (this will affect your ability to publish from programs like Windows Live Writer). If you don’t want it or don’t know what it is un-check the box. This way you can really be sure that no reformatting for XML should occur.
Of course the annoying thing is that you will have to re-edit the formatting.php file if you upgrade your WordPress install.
I am not sure how this is enabled. It may be because of some plugin that I have installed or it may be a feature built into WordPress itself. But whatever this makes life so much easier.
I was creating custom fields for shortened URL to each post (ie: bitlyurl = bit.ly/1234 tinyurl = tinyurl.com/1234 etc.etc.)
How labor intensive to add each one into the custom WP field of each post. I first had to go the the shortener site and create the URL then copy paste it and update the post. Pain in the neck. but I wanted to display the short URL so…
Then I was playing with the code and discovered that when I used this snippet
view the txt here
But It must be linked to one of the like idk 85 plugins I have installed and also I tweaked them all so they are not original anymore.
I was also thinking that it could be linked to the Ping or Trackback features in WP.
Who know what happened but the URLs pour in from all of the shortening services automatically after they are created by anyone. Love it!!!!
BUT and there is almost always a but with new code snippets. It does not seem to work consistently.
It works here http://www.juanitachronowski.com/jdcblog/?p=1835
but not here (on this page) http://www.juanitachronowski.com/jdcblog/?p=2056 at least not at the time of posting this.
I am not sure what the factor is that turns it on..
If anyone knows what could cause this let me know. Otherwise I chalk it up to a happy happenstance where it works and not worry too much about it when it doesn’t.
If you try it on your site and it works let me know (comment here I dofollow back) also
I was at the store with my hubby when all of a sudden it came to me. I was having a problem with some CSS on a site I was working on. What could be the problem? I knew it had something to do with my nested DIVs but which one and where?
Using separate files for each part of the site and each part of each page on each site can be confusing sometimes. I customize any applications and websites that I code and this was no exception. I was changing things to spec on the fly and lost track of one stray tag.
I had designed my own theme to match an old design that was completely in ASP. I had to migrate it to WordPress and convert the database to fit into the WPbase MySQL and rewrite all the ASP to PHP. And also make it function the same. That meant hacking about 20 plugins, modifying and creating my own functions and really getting into the deep end of CSS because I was using a multi-column design and did not want to resort to tables within WordPress.
So I am going over each line of code in my head while shopping (What better time to do that?) then about 60 lines of code in I screamed out loud. “OhMyGaad! I put that DIV in the wrong file, I have it in two places!” I could not wait to get home. I had put a div in the main file and in the head by mistake.
I somehow think that my nerdy/geek husband was not too happy with my revelation. Or maybe it was the public outburst? It was a eureka moment what can I say. When inspiration hit – it hits.
Anyway — Fixed. I slept well that night.
Yes, I am geekgrrl and proud of it
I was a nerd before nerds were multi-billionaires.
Now about that website job you need done. give me a call.





![The Girl with the Dragon Tattoo [Unabridged 13-CD Set] (AUDIO CD/AUDIO BOOK)](http://ecx.images-amazon.com/images/I/41KMRFnEQSL._SL160_.jpg)


