Matthew left me a message earlier today asking me how I worked out the placement of my PayPerPost buttons at the base of each post. After checking out Cleaker 2.1 (Matthew's theme) I noted two places for the code that might work nicely. Using some of the code from my previous post on using CSS to float images I worked out the following possible setups.
Read the Rest of this post
Daniel, from Daily Blog Tips, found an interesting plugin called WP-Chunk which can truncate long URLS which may occasionally turn up in comments.
For Example,
A URL like:
http://www.domain.com/test/subfolder/x=123/article=id8A133F52D0FD71AB86256C
would become
http://www.domain.com/test/...86C
If you're interested in truncating these long URLs, and don't mind adding a new plugin to your WordPress installation it looks quite handy.
I did want to share a quick CSS related alternative to anyone who wanted to avoid adding to their WordPress install. As you can see both here and on Daniel's post concerning WP-Chunk, the code box allows for scrolling when a URL is too long to fit in it. This is accomplished by adding a small line of code to your CSS stylesheet. You can do something similar for comments.
Simply find the identifier which represents comments and add "overflow:auto" this instructs the browser to turn any element containing long strings to scroll instead of pass beyond the boundaries. Alternately you can also use "overflow:hidden" like I do in my comment section. This allows the long URL to exist but hides it from displaying on the page.
It's not as good a solution as WP-Chunk but it can certainly work for you.
I've been working on a template for a new site and recently had to add a special function to the sidebar.
Because I expect this site to see a lot of traffic in the archives I wanted a way to promote the new posts when visitors were looking at old ones. Something I've done in the past, which has always worked nicely, has been the inclusion of a list of the most recent posts in the sidebar. Using a WordPress conditional tag and the WordPress Loop we can setup an item to show off the recent posts and hopefully push traffic through some of the newer sections of the post.
This post is part of a series which will outline the steps you can use to get your recent posts listed in your sidebar. With a little bit of playing around you can also use these methods to accomplish some other goals - but I'll leave that up to you for now. In this post we'll cover the basics of the is_single Conditional Tag.
Read the Rest of this post
Up until last night I was very happy with my hosting provider. Last month I even signed up for a two year package because the everything was going so smoothly.
Last night everything went south. Pages were loading slowly and ultimately not at all. Then, out of the blue, I started getting error messages telling me that the MySQL server was basically going AWOL. For whatever reason the MySQL server decided that it couldn't handle the load that this site was putting on it.
I contacted my host and discovered that according to them "WordPress is not an ideal solution for most users." They went on to tell me that I needed to find better blogging software.
Obviously I expressed my dissatisfaction with this and explained to them it was time for me to find a new hosting provider. For two years WordPress has run fine on their servers. They even recommend using WordPress!
Suddenly Sunday night, though, their server just quit. So here I am, searching for a new host. Anyone have any suggestions?
I've been reviewing and writing for most of this week. I'm really interested in posting on WordPress Theme Design but the problem is that there really are an infinite number of paths that I could travel down.
As I've said in the past WordPress theme design isn't so difficult that you need to be intimidated by it. It's certainly challenging but it can also be a relatively fun endeavor to set out on. So, as I continue working on a few posts about WordPress I thought I could start out by offering up some shorter posts for interested readers.
If you have any specific questions about WordPress Theme Design, including any questions about WordPress tags you might be struggling with, leave them in the comments here. I'll answer them as best I can OR I'll be set out to find the resources to answer your questions.
This is kind of an experiment for now but feel free to jump in,
thanks.