zompus
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Twitter feed and Javascript/CSSWhat is your website with it on that isn’t working?
Also, Javascript… really? I’d recommend a method like this.
Forum: Hacks
In reply to: remove class from the_post_thumbnailVery bad case of OCD.
I do not use them and like to keep my code as tidy as a nuns buttocks.
Any hint?
Forum: Plugins
In reply to: Pulling dc:date from a feedAnybody? Please :'(
Forum: Plugins
In reply to: Rewriting logout URL to /logout/[id]Forum: Plugins
In reply to: Rewriting logout URL to /logout/[id]Anyone? 🙁
Forum: Plugins
In reply to: How to bridge multiple wordpress installs? – NOT WP MU!Okay, I doubt anyone is going to reply.
I’ll probably write my own console for this. 🙂
Thanks anyway.
Forum: Plugins
In reply to: Renaming “wp-content” directory?Well I couldn’t be arsed hacking up the code to rename the directory, so I used mod-rewrite to change the files I wanted.
This will get you started, place the code in your root htaccess files.
# Rewrites the stylesheet to root RewriteRule ^style.css$ /wp-content/themes/[INSERT.YOUR.THEME.NAME.HERE]/style.css [L]Now visit http://yoursite.com/style.css —it’ll be the same as /wp-content/themes/[INSERT.YOUR.THEME.NAME.HERE]/style.css xD
Use as you will.
Forum: Plugins
In reply to: How to show logged in as?Sorted, found a way.
<?php if (is_user_logged_in()){ global $current_user; ?> Hello, <strong><?php echo $current_user->first_name; ?></strong>! <?php } endif; ?>Forum: Plugins
In reply to: Showing the latest 5 posts on author.phpGah, silly me. I worked it out moments after making this thread.
<?php query_posts($query_string . '&posts_per_page=5'); ?>Putting that, the line above the “<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>” line does the trick. 🙂
Forum: Developing with WordPress
In reply to: adjust wp_title to remove spaceStick the following in your functions.php file, located within your theme folder.
// Removes the white spaces from wp_title function af_titledespacer($title) { return trim($title); } add_filter('wp_title', 'af_titledespacer');Hope that helps. 🙂