cron
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: 403 Error PagesYou could define the 403 page in your .htacess
Forum: Fixing WordPress
In reply to: Can I style one category with CSS?Event Calender is a plugin that will allow future dated posts to show up in the calender as long as they are in the “event” category as well.
I forget the name but there is also a plugin that will allow you to see future dated posts if you link to them directly. These two plugins work perfectly together.
Forum: Fixing WordPress
In reply to: Can I style one category with CSS?Yep, just put it in the loop on the main page. As for what you want, what you can do is set it so that it does not display posts in the events category on the main page using:
$cat ="-29";
require('./wp-blog-header.php');
include(ABSPATH . '/wp-header.php');
Then you eather create a new page and install a plugin that will let you use PHP or make a new page template and use that. Then use loop comands in the page to show those entries.
It would be eiser however just to use the category pages that wordpress generates automaticly and style that.
Forum: Fixing WordPress
In reply to: Can I style one category with CSS?Yep sure you can. You just need this code:
<?php if (in_category('29') ) { ?>
post stile for cat #29
<?php } else { ?>
For all other posts
<?php } ?>
Forum: Fixing WordPress
In reply to: Dazed and Confused over .htaccess and permalinksMake sure that the .htacess file is in the right folder. This may sound stupid but I know that people do this…..
Forum: Your WordPress
In reply to: New Workingbath DesignAwsome site. It is so simple and ellegent. ??
You plan on relesing the theme?
Anyway, once again it is an awsome site!Forum: Fixing WordPress
In reply to: Redirecting Feed from Blogger to WordPressAs previously said just change the url in your feedburner profile. As for people acessing your feed directly just use a slimple mod_rewrite command in your .htacess to redirect people from the old URL to the new URL (be that atom or RSS) It would look something like this:
RewriteRule ^blog/atom.xml$ wordpressblog/wp-atom.php [R]
That way it will redirect from your old feed to your new feed for you. The [R] on the end means that it will show people the change of adress. To use it, (I know what you said but try this) just paste it in a text editor and then save the file as .htacess After that just upload it.
As for feedburner just give them the link to /wp-rss2.php if that still does not work and you figure out the .htacess problem then just give them a /feed/ and use .htacess to redirect them.
Hope that helps,
CronForum: Fixing WordPress
In reply to: Placing latest post on non-wp index.phpHere is some slightly modified code from a chaitgear plugin
<?phprequire('yourthinghere/wp-blog-header.php');$comment_author = htmlspecialchars(stripslashes(trim($_GET['author'])));$page = intval($_GET['page']);function get_recentposts($limit = 5) { global $wpdb, $post; $recentposts = $wpdb->get_results("SELECT $wpdb->posts.ID as post_id, post_title, post_name, post_date, user_nickname FROM $wpdb->posts LEFT JOIN $wpdb->users ON $wpdb->users.ID = $wpdb->posts.post_author WHERE post_date_gmt < '".gmdate("Y-m-d H:i:s")."' AND post_status = 'publish' AND post_password = '' ORDER BY post_date DESC LIMIT $limit"); foreach ($recentposts as $post) { $post_title = htmlspecialchars(stripslashes($post->post_title)); $post_date = mysql2date('d.m.Y', $post->post_date); $user_nickname = htmlspecialchars(stripslashes($post->user_nickname)); echo "
<li><a>$post_title</a></li>
"; }}?><?phpif(empty($comment_author)) {?>
<ul><?php get_recentposts(); ?></ul> <?php}?>
Just change the ‘yourthinghere/wp-blog-header.php’ to the location of your wp-blog-header.php (the “yourthinghere” will be the directory where wordpress is installed.
If you are using your own plugin to display the last posts then just include a <?php include(‘yourthinghere/wp-blog-header.php’); ?> before you make a call to the plugin.
I hope that helps.
Forum: Fixing WordPress
In reply to: Page takes long to loadYou should disable them all at once and then re-enabler them one by one. That way you will know straight off if it is the plugin’s fault.
Forum: Fixing WordPress
In reply to: wp-content/themes/default????Or just go to the presentation tab >> theme editor. You can change all the code there as long as your files CHMOD is 666 or above.
Forum: Fixing WordPress
In reply to: Emergency: DB error>> You said “I remember”, how can you forget something like that?
Anyway, even if you do not have a backup check with your hosting, sometimes they make automatic backups.
Forum: Fixing WordPress
In reply to: Creating a print.css fileBTW. The web developer toolbar for Firefox lets you veiw CSS by media type. It makes it alot eaiser than doing the print preview stuff.
Forum: Requests and Feedback
In reply to: Bug?Try using
<div align="center">
instead of<center>
Forum: Fixing WordPress
In reply to: Better way to do a user newsletter?I know that I would like to be able to do this with wordpress…..If anyone out there can recomend a plugin….
Forum: Plugins
In reply to: new plugin – weighted wordsLooks cool. Just a sugestion, can you make it work with nice URLs for the search string? using mod_rewrite? That would be awsome