klklaser
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Line Spacing – no controlI’ve been thinking more about my prior message for some reason, and px are, I believe, based upon screen resolution. Because of that, perhaps px is more like em and % than pt.
One nice thing I’ve noticed is that a font size set in px seems more consistent from font to font on the same computer, whereas, fonts given in pt seems to vary in size from font to font.
I’m sure it’s a lot more involved than I’m personally willing to dive into. A more accurate way of stating my prior message’s, “expansion and contraction”, which was poorly phrased, is that they’re sized relative to something else.
Forum: Themes and Templates
In reply to: Line Spacing – no controlpx and pt are fixed in size. ems and % expand and contract. When I looked at what you had, they seemed reversed to me. Perhaps the most logical is to consistently use either fixed for both, or expandable for both.
You might try searching for other instances of “line-height”.
Forum: Themes and Templates
In reply to: Lowering banner positionTry playing with margins and padding in the relevant section of CSS.
Forum: Themes and Templates
In reply to: How to wordpress 2.1 not show child categories?Don’t know if it’s related, but when I added child categories, I had to adjust the CSS (it was a pain), to get them to indent in the sidebar area. Anyway, I suppose you could use CSS to hide certain ones, but not sure if that would be acceptable as a global solution or not.
Forum: Themes and Templates
In reply to: Line Spacing – no controlWith CSS, there’s the likely possibility that another command is overriding the line-height. On a number of CSS files I’ve seen duplicates and or “overlapping” issues that cause line-height not to work as expected. I personally like to use em for line-height. px works good for font-size.
I’m not personally familiar with the KISS template, so can’t offer a specific solution.
Forum: Themes and Templates
In reply to: Ygosimpli: 3 column wordpress themeI notice that I have a horizontal scroll at the bottom of the browser. I’ve noted that on a LOT of pages. Not sure if it’s a feature, or a page wrap missing.
Perhaps you intended a fixed template.
Forum: Themes and Templates
In reply to: Making a customised front page using categoriesIt occurred to me that what you need is a mini-loop within the loop. My thought was that if you used another “for” loop, and incremented a variable, you could assign the last post a specific variable (perhaps 0), and not have any printing functions in that mini-loop. All other numbered variables would print. I’m not certain php supports for-next with variable creation, or not. (another thing to search for!)
Then, it occurred to me to search for whether anyone had done that already, and with the proper keywords, I found this. It seems the “offset” thing (whatever it’s called) might be adaptable.
The Template Tags page, referenced on the above page, appears to have what you’re looking for.
Good luck!
Forum: Fixing WordPress
In reply to: subscriber profileForum: Fixing WordPress
In reply to: subscriber profile“It is important to know that $curauth is not a WordPress variable, but a variable generated by PHP code and sent via a link as a query. Therefore, the author.php file must be requested via a link to the author page, which specifies an author. If you request the author.php page directly, you’ll end up with no data.“
Forum: Themes and Templates
In reply to: Making a customised front page using categoriesI believe you want to restrict the loop. Keep in mind the “!” before a function logically means “not” or “not this”. Here’s another set of references. Follow the links on those pages, I think it’s all there.
Forum: Fixing WordPress
In reply to: subscriber profileRegistration seems to give admin some control over spammers. See “Users must be registered and logged in to comment” option.
I’m largely unfamiliar with the newer 2.x+ versions, so can’t really help with other questions. Roles came with 2.0, if I recall correctly.
Forum: Fixing WordPress
In reply to: Enable Sending Referrers my assI edited edit-form-advanced.php (v.1.5.2) to include a small reminder (as text) right before the “save and continue editing” button. Maybe that will help without affecting security.
Forum: Installing WordPress
In reply to: How to get theme built for 2.0.1-2.0.5 to work with 2.1.2?The one time I upgraded ‘a play blog’ from 2.0.5 to 2.1.1 then 2.1.2, the the theme I had worked fine.
That theme was made a couple of years ago. Originally it was for version 1.2, if I recall correctly. There were only a few minor changes made along the way, I think around version 1.5 or thereabouts.
Sometimes the browser cache needs clearing.
I recall there being something about some (maybe only one) of the template functions changing in 2.1 somewhere.
Do you have a link?
Forum: Installing WordPress
In reply to: Do I need to setup a DB name in MYSQL before installing?Some instructions:
https://codex.www.ads-software.com/Installing_WordPressIf you scroll down, there’s a detailed instructions section.
Forum: Installing WordPress
In reply to: Error establishing a database connectionYou’ve deleted all the files? The function that appears to create that error page is in /wp-includes/ and the file name is wp-db.php, the function name is wpdb()
Anyway, it looks to me like you still have at least some WP files there.
If it was me, I’d put all the files back and contact your host.