sozot
Forum Replies Created
-
Forum: Plugins
In reply to: [Restrict Usernames] No support for this plugin. Not working right.I describe one method of doing this without a plugin on my blog: WordPress – Restrict Usernames Without a Plugin. At Wayne’s suggestion, if there is general interest I could throw that functionality into a plugin with an option box allowing you to specify which usernames are undesirable. Please +1 reply to this post or contact me directly to vote for this and I will pursue it.
Forum: Hacks
In reply to: How do you deal with Featured Image & Media QueriesWordPress doesn’t do this natively, you’ll need to roll your own responsive image mechanism. Google around and you’ll find a few apache/php solutions to this.
Forum: Hacks
In reply to: Adding rich text editor to my pluginForum: Hacks
In reply to: [wp_update_user hook]$old_user_data has the WP_User object and it looks like you’re already appending that to the $message. It looks to me like you’re already including the old and new data.
Forum: Hacks
In reply to: hide specific pages from users below to administrator levelGroups plugin would do the trick: http://wordpress.org/extend/plugins/groups/
Forum: Fixing WordPress
In reply to: Custom permalinks broken for portion of siteDon’t you mean %postname% ?
Sounds like a job for some custom programming. WordPress is great as a basic website or blogging platform, but you’re describing a specialized application for logging detailed metadata with a reporting mechanism, well outside the scope of the baseline blog.
Forum: Fixing WordPress
In reply to: Add blog excerpts to static home pageYou probably want to add an independent WP_Query that will execute for that page only.
1. Make sure your home page is running with its own template file.
2. Within that file, add something like the following:
<?php $excerpts = new WP_Query( array( 'post_type' => 'posts', 'post_status' => 'publish', 'posts_per_page' => 5 ) ); if ( $excerpts->have_posts() ) : ?> <ul> <?php while ( $excerpts->have_posts() ) : $excerpts->the_post(); ?><li><?php the_excerpt(); ?></li><?php endwhile; wp_reset_postdata(); ?></ul><?php endif; ?>Untested, but that’s the general idea. Hope it helps!
Forum: Themes and Templates
In reply to: [Max Magazine] moving carousel below loopThis depends on your theme. Look for footer.php?
Forum: Installing WordPress
In reply to: 2 domains on one hosting accountMove each Website to its own subdirectory and adjust your Apache configuration using two virtualhost directives, one for each site, pointing the documentroot at the appropriate subdirectory.
Forum: Fixing WordPress
In reply to: Multi language support web siteCheck out the Codex: http://codex.wordpress.org/Multilingual_WordPress
IMO, the best option for having multiple languages is to go the premium plugin route with WPML: http://wpml.org/purchase/
Forum: Hacks
In reply to: Insert Media HackI think you’re looking for: http://wordpress.org/extend/plugins/query-multiple-taxonomies/
Forum: Fixing WordPress
In reply to: Keeping Robots OutAdd a Captcha plugin: http://wordpress.org/extend/plugins/captcha/
Forum: Fixing WordPress
In reply to: having trouble with site showing upCould be a number of things.
First off, it’s a good thing that your site not run on both naked domain and www. It’s much better for SEO. You should set up one of them to 301 redirect to the other.
Make sure the www. is properly set up within DNS and is pointing with an A record to the IP address of your server. Also, verify that Apache is configured within a virtualhost or whatever your setup is to recognize your domain. Hope that helps.
Forum: Themes and Templates
In reply to: specific color to category link depending on category IDYou should stick to CSS classes and ids for styles on the front end rather than digging through the PHP code to add color. CSS is for presentation.
Also, what you’re doing in with your code is putting the list of categories within a style tag, which means they won’t show up unless you view source on the page. You could add a class to each different $catid and then add your styles in your stylesheet (or, embedded <style> but that’s not ideal.