Orin
Forum Replies Created
-
Forum: Plugins
In reply to: [ANN] Enhanced Views pluginAnyone looking for this plugin should now refer to this page:
Forum: Plugins
In reply to: Enhanced post management pluginAnyone looking for that particular plugin should now refer to this page:
Forum: Plugins
In reply to: Calendar -> Mark todays dateMy best guess would be that the CSS is fine, but the “random-image” theme’s calender lacks the code for that style. You would need to insert the proper “class: this-is-today” type attribute in the html of the calendar. Now, I don’t really use the calendar, but I can tell you what I did…
I wanted it such that if the latest post on my blog was posted the same day, the date should read “Today”, and if not, to display the date. I did this with php:
<?php $postdate=get_the_time("mdy");
//what is the date of the post
$today=date("mdy");
//what is today
if ($postdate==$today) echo "Today";
else echo the_date('l, F jS') ?></h2>You could very similarly apply this to the code of the calendar, by saying something like, “if this date is today, apply “class: wp-calendar-today”. I can’t, unfortunately, give you that exact code.
Forum: Fixing WordPress
In reply to: Gaps in post numbering—How to restore?Well, I didn’t think I’d be able to do it but it worked. Thank you kindly, Mr. pizdin_dim.
I went to wrdp1 » wp_posts » browse, then edited the ID value of a newer post (33) to be an empty post (7). Worked fine although now I guess I have a new hole to plug. Oh well.
Forum: Fixing WordPress
In reply to: Setting up Skippy’s VhostsAlright. So, I talked with my host. They don’t seem to be much help, as they can’t seem to figure out what I want. From my research what I *believe* I need is a mod_rewrite rule in the .htaccess file of my root public directory. In order for vhosts to function, this rule should direct all requests for a subdomain, blue.color.info, to the WordPress install (following the example: purple.color.info). To the visitor, it will appear as a seperate domain, but will be working off the same installation.
Here’s what I have:
RewriteEngine on
Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_HOST} blue.color.info/?(.*)
RewriteRule ^purple.color.info/$1All well and good, except I have no clue what I’m doing so it doesn’t work. Normally, I create a subdomain in my Cpanel and that makes a folder in public_html. I’m renting server space from Lunarpages.com and they have a shared IP address, which I assume uses httpd.conf to route requests to the various sites on the machine. What I also read was there needs to be an entry _somewhere_, either DNS entry or an http.conf ServerAlias rule, or something, that has *.homepie.org pointing to homepie.org.
Now the actual question: am I barking up the right tree?
Forum: Fixing WordPress
In reply to: Setting up Skippy’s VhostsOk, so yes… apparently I’ve had this set up wrong. I created a real subdomain, whereas I should have been using a mod_rewrite rule of some sort. Just emailed my host and they’re going to turn on URL mapping.
Thanks for the fast response, skippy, you deserved to win that competition ??
Forum: Fixing WordPress
In reply to: Um, I think I have it working…You have to go to yourblogdirectory/wp-admin/install.php to set it up.
Forum: Fixing WordPress
In reply to: IE CSS MaxWidthUnfortunately, IE just doesn’t support some properties. One of those is max-width. Another is clip, as I discovered. Not much can be done about it.
Forum: Fixing WordPress
In reply to: invisible javascript?If you’re calling an external javascript, it’s best to place it inside the <head> element. But remember all you’re doing is telling the browser to go get it. The code has to be executed as a behavior, meaning you’ll be calling an event somewhere.
Say you want to execute the whole code when a page loads. You’d type <body onload=”exchange.js”> For a list of common event handlers, look here. I’m not quite sure what your script does, but there is also a way to execute only one function in any code you have imported.
Forum: Requests and Feedback
In reply to: Custom sorting of posts in a categoryMy dear condolences, Lorelle… from someone who had the same idea and went ‘pfft I don’t care I can do that later.’
??
Forum: Plugins
In reply to: Most recent post emphatizedA way to do this is to make the first post have its own unique class and modify it with CSS rules. I called mine ‘post-first’, where normally it is just ‘post’. In your main template you’ll find the line:
<div class="post">
If you replace that with this:
<div class="post<?php if(!is_single() && $post==$posts[0]) echo '-first';?>">
The first post will be .post-first. I discovered this method in this thread.
Forum: Your WordPress
In reply to: Effervescent ReflectionsI personally like the color split halfway down the ‘fold’, as it were. I also like the overall design and especially the color scheme. The very top title doesn’t really catch my eye, however. The thing that does is the grapic of mist collecting on pine needles; very nice. From a grapic design point of view I’d say that is more important.
Forum: Requests and Feedback
In reply to: Custom sorting of posts in a categoryI’m not really a code guru so I can’t just give you a chunk of code that will work, but there might be a way to do this with conditional tags.
In your archive template there will be a series of loop tags starting with <?php if (is_category()) { ?>. Let’s say I wanted to have a different loop on archive pages for category 7.
Now, I *think* it would be something like this:
<?php if ( (in_category('7')) ) { ?>
(code for only category 7 here)
<?php elseif ( !(in_category('7')) ) { ?>
(code for all other catagory pages here)
Problem is, I don’t know what you would put for that specific code even if this does work. You could try leaving a comment at the developer’s site. The inspiration for this solution comes from this post.
Forum: Fixing WordPress
In reply to: how do I change this?Try going into Presentation > Theme Editor > Sidebar Template
Forum: Fixing WordPress
In reply to: No Images on Category PagesWorked perfectly!
Thank you very much!