Playing with embedded Fonts

<!– –> p1 { font-family: “Times New Roman”, Times, serif; font-size: 20px; } p2 { font-family: “Courier New”, monospace; color: green; } p3 { font-family: “Lucida Console”, “Courier New”, monospace; } p4 { font-family: Tahoma, sans-serif; color:red; } p5 { font-family: beynoregular; font-size: 20px; color:red; } choc { font-family: logger; font-size: 30px; color:#805a46; } choc1 { font-family: logger; font-size: 30px; color:#d2691e; } choc2 { font-family: “logger”; font-size: 30px; color:#35281E; } choc3 { font-family: “logger”; font-size: 30px; color:#7b3f00; } p7 { font-family: “beynoregular”; font-size: 40px; color:black; } p8 { font-family: “faster_oneregular”; font-size: 40px; color:violet; } p9 { font-family: ‘Caveat’; font-size: 30px; color:blue; }

The Web Font Test Page is located here.

======
This is new text I added using p1 Times New Roman. ====
This is new text I added using p2 Courier New. ====
This is new text I added using p3 Lucida Console. ====
This is new text I added using p4 Tahoma. ====

h I Non specified font.

h II Non specified font.

h III Non specified font.

This is new text I added using p (only).

This is new text I added using pV Beyno. él? tippmix eredmények

====
THIS IS Beyno. This doesn’t work.

THIS IS LOGGER. color:#805a46

THIS IS LOGGER. color:#d2691e

THIS IS LOGGER. color:#35281E

THIS IS LOGGER. Best color:#7b3f00

FASTER ONE THIS DOESN’T WORK

This is Caveat! This Works!

=====

This is new text I added inside a plain div statement. But it seems no div is required.

Now this is “Blog-Worthy”

Sometimes it is the simple things in life that can give the most pleasure! I have been using WordPress for years now. I just looked at the archives and it appears the first post was October 30, 2005. However since in that entry I wrote about adding an RSS feed to the blog I have to believe there were a few earlier posts also, they must have been lost. I vaguely remember a great crash that took out the blog at one point early on so unless they are cached somewhere on the web, they are gone forever. But that is not what this was about. . . I digress.

Ah yes, simple things and pleasure, now I remember.

Ah yes, simple things and pleasure, now I remember. During the last five years of using WordPress I have gone through many core upgrades. (Replacing the WordPress code on the server with updated code.) The early ones were stressful, delete these files, add these files, change the text in some files, update everything and hope to heck it works when you are done. The early loss mentioned above was traumatic, but since it was very early on in the life of the blog it wasn’t enough to where I would say “To hell with it, I am not going to try and recreate all that”… plus it was early on in the life of the blog and I was full of spirit yet. Then the WordPress team cam came along with “Automatic” updates where all you had to do was press a button and TA-DA, the script ran and the core, plug-in etc. was updated without the user having to do anything… other than push that button that is. ‘cept… there is always a ‘cept or “But” you know… always. For me and my WordPress it seemed to never work. On a rare occasion a plug-in would actually update when I pushed the button, but that was rare, very rare. So for several years I developed a routine.
A) Go to Admin panel
B) See there are updates available for a plug-in, (and yes back “in the day” you were not notified when there were updates, you just sort of checked frequently to see there there were any issued.)
C) click on the “Automatic Upgrade” button.
D) Watch the program automatically download the Zip file containing the upgrade
E) Watch as it quit doing anything useful and sit there until I lost patience and shut down the web page.
F) Go to the plug-in page on WordPress.org using the link in the blog plugin page.
G) Manually download the plug-in
H) Create a new directory on local drive
I) Unzip the plug-in to the new directory
J) Open an FTP session
K) Turn off the plug in in WordPress control panel
L) Delete the plug-in directory on the server
M) Copy the new plug-in directory to the server
N) Go back to the WordPress control panel and activate the plug-in
O) Hope it did not crash the system.
P) Repeat C through O for each of the new updates

This week I decided to take the risk and stress to update to the latest version of WordPress 3.0.1. So as always I clicked on the automatic upgrade button, and low and behold but what do you think happened? Of course, it crashed the system. Okay, reset everything, go through the manual install… following steps A through P above. The actual program update went pretty well, but then I got to the plugins and restarting them. Boom – the “500” error. Okay, deactivate all the plug-ins by renaming all of them. Now restart WordPress, now rename all the plug-ins back again. Now re-activate them one at a time until the “500” error comes back. Mark down that plug-in in, rename it, then go on to the next one…. one after the other after the other. VERY time consuming.

After I got everything working again, minus a few of the plug-ins that were causing the 500 error where the author has not updated the plug-in yet, I took a break from everything WordPress. Not upset, just “Head clearing time”.

As I did other things I thought, “I am not going to keep doing this for the next X number of years!”. So I started searching the WordPress forums for an answer. The first observation is that MANY people have this issue. So the automatic upgrading in not all that automatic for many people. The next observation is that the 1 & 1 hosting service seems to be a big offender. Now for observation one, I know from other issues most people write when they have a problem, not when things go right, so it always looks like everyone is having a problem.. same with computer or other hardware issues…. As for observation two, well 1 & 1 is a large hosting service so they probably do have a lot of people with the same issue. Also since it is large trying to get them to change something to make it work for a certain group of users (WordPress) may not be that easy so the people with problems just multiplies.

Then I started finding different “fixes” for the issue. From cross your fingers and pray, to “it isn’t hard to do a manual upgrade, so just do it”, to “I did a complete reinstall of WordPress and it .. nope, didn’t fix it!

Then I noticed a number of threads with the same basic fix, a few lines of code/text to put into the “.htaccess” file, which I also found out stands for “HyperTextAccess” a small routine which the host server reads when it looks at the directory which contains it. (or it could be in the root directory and pointing to the WordPress directory…)

There were actually a couple different entries suggested, but the one that seemed to help most people was a very simple two lines of text:

AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php

I decided it was worth a try, and really it can’t hurt since the .htaccess file can just be deleted if something goes wrong. (If you do this, you may want to save a copy of the original just to be safe.)
I opened up the .htaccess file in Notepad (or any ascii/text editor) and typed in those two little lines, copied the file back to the WordPress root directory and fired up the browser!

In the WP Control panel there were two themes which it was saying there were updates for. (A new feature in 3.01?) I had tried the automatic update before, and it did the usual “Downloading XXXX.zip” and then complete stop……………….
I went back to the same place and clicked on the update button… Well, what do you know… it downloaded those suckers in a few seconds, installed them and told me everything was okay in a matter of a few seconds! I went out to the web page and back to the control panel just to make sure I did not get a 500 error or “System in maintenance” error, and everything seems to now be working perfectly! Now I can hardly wait for a few plugin updates to come out so I can try it on them…. Maybe, just maybe even the full core code update will work next time!

Apparently the two lines of code above tell the server to use PHP version 5 which is what works with WordPress. I don’t know the technical detail even though I read about it on the web, and I don’t know that I care. I do know it seems to have fixed my problem and that is what I do care about.

Enjoy,
George

Adding a “Teaser” to the Archived Post Listing.

Well, since I could not get the “the_excerpt” function to work properly, apparently there is a conflict with one of my other plugins. I do not want to deactivate any of the others I am using, but it was giving me the full post contents everytime including pictures, etc. so it was creating a HUGE page!

it was giving me the full post contents everytime including pictures, etc. so it was creating a HUGE page

I have now activated the excerpt and added them to the archives page. I think it adds to it, so you can see a little bit about the post rather than just the title the “Teaser” if you will. I would like to get the formatting to not skip a line (using <br>) which would condense it a little further. Also need to add some page breaks. But overall I am happy with the results.

This seems like the best way to let a user browse the old postings without resorting to a search… since they may not know what they are searching for. Hopefully a good excerpt will pique the readers interest enough to go to the post and read it. We’ll see what happens.

Expect an excerpt until the exceptions are resolved,

  

Gadget Overload Pending!

A number of years back I did a lot of woodworking. I made a variety of things from large items such as bookcases to small toys, the closest I came to a speciality was musical instruments having made a number of dulcimers of the courting type (two dulcimers merged into one so spooning couples could play “knee to knee”) hammered, mini, and normal. Also Hurdy-Gurdy and a banji-mer (a dulcimer built on a banjo body)…. anyway I made a lot of things. (past tense). Often as I was working in the shop I found that getting ready to make a project was a huge part of the satisfaction, it was not always in the making. Sure I liked the finished product, but making a fixture here, a jig there, rearranging the shop layout to be more efficient… those were the things that I spent more time in tinkering with than actually making things. I guess that is why I enjoy tinkering with WordPress and the variety of themes, plugins, widgets and general overall flexibility it possesses. I enjoy tweaking, occasionally breaking and fixing, and just “messing around” with WP in general.

[jalbum_iframe_album:https://www.kasdorf.net/GSlideShows/Woodwork/index.html,100%,600px]

And that brings me to the topic of this post. . . a fantastic new plugin crafted by Janek Niefeldt called “my custom widgets” UPDATE 21/14/2015 this link no longer appears to work so I have removed it. I had tried another plugin that was supposed to let you turn things into a sidebar widget but I was having problems with it. This one was just created and so I gave it a spin. It is really great. There are more options than I know what to do with right now, but hopefully I will learn them as I go and discover the full range of capability in this plugin. I like I can create a widget using PHP or HTML code. The HTML code was used for the Dilbert Cartoon strip, simple copy and paste. I also used it for the link to Technorati (glad I am not in this for money or the back links would be really disappointing!). The other neat feature is you can specify exactly which pages you want the widget to appear on. So for Dilbert I flagged it as “Home” only so it only appears on the page listed as home in the set up. Then when you go to other postings it is not there slowing things down with having to load it again. I see where you could have different content on pages this way also. Other choices are page, single, search, all, archive and tag. I give it my “Cool Tool” award!

Now, not unlike my woodworking projects, all I have to do is keep myself from endless tweaking or additions making the pages so crowded as to become annoying.

Until the final widget blows up the blog,