zoion
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Sidebar WidgetsOh! Yep, removing the default widgets was what I needed to do.
Forum: Themes and Templates
In reply to: referencing theme directory from custom functionIn random.inc.php I’d like to not hardcode the local path to random.txt, but I don’t quite know how.
Forum: Themes and Templates
In reply to: referencing theme directory from custom functionThis is my setup.
In theme:
<?php include(TEMPLATEPATH . '/includes/random.inc.php'); ?>
<?php if (function_exists('randomWit')) echo randomWit(); ?>In random.inc.php:
<?
function randomWit (
$textfile = "long local path to/random.txt" ){;
if ($quotes = @file("$textfile")) {
$quote = rand(0, sizeof($quotes)-1);
echo $quotes[$quote];
echo ("");
}};
?>Forum: Themes and Templates
In reply to: referencing theme directory from custom functionI can’t use an absolute path, I need a local path.
Forum: Everything else WordPress
In reply to: tags for blogrollLike regular ol’ web 2.0 tags.
Forum: Everything else WordPress
In reply to: import del.icio.us to wordpressI guess not…
Forum: Themes and Templates
In reply to: wp_query?Yep, that did it. Thanks!
Forum: Themes and Templates
In reply to: wp_query?Oops, I dug a little deeper and found out that this only appears to be working on the surface. My “previous” and “next” links don’t work correctly using this method of setting the category. Can anyone offer an alternative?
Forum: Themes and Templates
In reply to: wp_query?Yep, that works perfect. Thanks!
Forum: Plugins
In reply to: wp-slimstat-ex slipped under radar?Also, this one was last updated on December while WP-Slimstat hasn’t seen any updates since April.
Forum: Plugins
In reply to: wp-slimstat-ex slipped under radar?It has “Pins”, some kind of extension mechanism like Mint’s Peppers. There is a list of features on the linked page, I don’t think WP-Slimstat supports external tracking or has ajax based modules.
Forum: Fixing WordPress
In reply to: can’t create new pagesIt looks like the permalink structure only works for the pages from the old database that I imported.
Forum: Fixing WordPress
In reply to: can’t create new pages(I’ve checked the above links.)
I’ve completely re-installed wordpress, which did not help.
I’ve determined that if I use the default permalink structure I can get to a new page just fine, but if I use anything else I get a 404 error when I try to view a new page (I can get to posts and older pages just fine, regardless of the permalink structure).
I’ve fiddled with the .htaccess and tried updating it every way possible, but it seems just fine.
This is really really really getting on my nerves, can anyone offer a suggestion?
Forum: Themes and Templates
In reply to: its late and I’m tiredWorked perfect, thanks!
Forum: Themes and Templates
In reply to: its late and I’m tired
<?php if (is_home()) {
echo "this is the house of milk and tar
"; }
else {
echo '<a (href) ="<?php echo get_settings('home'); ?>">this is the house of milk and tar</a>'; } ?>
It didn’t paste right the first time, for some reason. (So that explains the double quote issue, and miklb’s solution didn’t work either.)
The href isn’t really in like that in my code, I did that so it shows up.