Using CSS 3 @font-face for font rendering
There are multiple methods of creating custom fonts for web pages, Cúfon, sIFR, Google Web Fonts, etc… None of these have been a good fit for my projects until I looked into the CSS3 @font-face method. It’s simple to use and SEO friendly.
All you have to do is go to urbanfont.com, fontsquirrel.com or another good source of appropriate licensed fonts and pick out what you want.
Once you have the font files, use the @font-face generator at fontsquirrel.com to create a kit that includes all of the font files you need for browser support. Put the fonts and sample code in the appropriate places and update your CSS to use the new fonts. Walla, shiny new fonts on your web page.
Using Akismet with Contact Form 7 (CF7)
This is an issue I’ve run into multiple times, and I have to search for it every time, so thought I would share it here. You can use the AWESOME Akismet to filter spam on contact forms in WordPress that use Contact Form 7.
Next, add the following Akismet-related options into the appropriate fields in your form.
akismet:author
Add this option to the field that accepts the name of the sender.
Example: [text* your-name akismet:author]
akismet:author_email
Add this option to the field that accepts the email address of the sender.
Example: [email* your-email akismet:author_email]
akismet:author_url
Add this option to the field that accepts the URL of the sender.
Example: [text your-url akismet:author_url]
And the most important tip:
If Akismet judges the submission as spam, Contact Form 7 cancels the sending of mails and shows a message that says, “it failed to send the message.” You’ll see an orange border around the response message when it has been judged as spam.
Visit the Contact Form 7 blog for more info.
Redirect issues with WordPress Multi-site
So, for my first post on this new tech blog, wanted to give out a link to fix an issue I had setting this site up.
This blog is running under WordPress Multisite and after parking the domain and completing the domain mapping I got a redirect loop error. Did some searching and found this post, complete with video
I’ll give you a hint, the domains need to be lower case.
