ReflectionMedia
Forum Replies Created
Viewing 7 replies - 1 through 7 (of 7 total)
-
Forum: Hacks
In reply to: Radom Link from one categoryThis should do the trick.
<?php $args = array( 'numberposts' => 1, 'orderby' => 'rand', 'category' =>21 ); $rand_posts = get_posts( $args ); foreach( $rand_posts as $post ) : ?> <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a> <?php endforeach; ?>Figured it out eventually. Wrote a blog post about it:
http://www.cozmoslabs.com/2011/04/14/svn-eol-and-the-wordpress-org-repository/So apparently the ww.wp.xz.cn svn converts my EOL from Windows to Mac and because of that you get “The plugin does not have a valid header.”
Anyone has any ideas on what to do about it?
Forum: Fixing WordPress
In reply to: How to get list custom taxonomy terms for specific taxonomyI think that the function you need is called get_terms()
Forum: Fixing WordPress
In reply to: redirect after first login onlytry replacing the plus sign with a minus 🙂
Forum: Plugins
In reply to: [Plugin: Yet Another Related Posts Plugin] YARPP and my page number?yup! there are clearly some pagination issues for this plugin. i’m using the thematic theme.
Forum: Fixing WordPress
In reply to: No automatic plugin update since 2.8, even at 2.8.1Yes, I also get this problem.
But if a retry a couple dozen of times, it eventually works, I think maybe some servers are overworked… I dunno…
Gabriel
Viewing 7 replies - 1 through 7 (of 7 total)