willshouse
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Remove the div and ul tags from wp_nav_menu() functionActually the container is not really the
<ul>, it is the<div>that wraps the<ul>. So if you set the container to false or ” you are just getting rid of the <div> but not the<ul>.Emil is on the right track, but I had trouble getting the
add_filter( 'wp_nav_menu', 'remove_ul' )to actually work.So, I think this code will actually work for you:
$options = array( 'echo' => false ,'container' => false ); $menu = wp_nav_menu($options); echo preg_replace( array( '#^<ul[^>]*>#', '#</ul>$#' ), '', $menu );I put a more detailed explanation on my blog: How to Remove ul from wp_nav_menu
Forum: Fixing WordPress
In reply to: New post problem in version 3.0I was having the problem after disabling all plugins, caching, and even permalinks. I ended up realizing it was a mod_security issue. I wrote a blog post talking about the WordPress post error with mod security and how to test for it. Hope that helps.
Forum: Alpha/Beta/RC
In reply to: Custom Post Type and Taxonomy Permalinks Brokenok, i found the solution. you have to flush out the taxonomy. instructions here
Forum: Alpha/Beta/RC
In reply to: Custom Post Type and Taxonomy Permalinks Broken@ronbme, that does work for custom post types, but for regular posts (like blog entries) i would still like to keep the date format /Y/m/d/title structure
anybody else having that issue or trying to do custom rewrites for the custom post types?
Forum: Themes and Templates
In reply to: Add browse button to a custom fieldWe are all looking for the same thing:
It has to be out there.
Forum: Fixing WordPress
In reply to: Insert image – In custom fieldWe are all looking for the same thing:
It has to be out there.
Forum: Plugins
In reply to: Custom field with media libraryI’m also looking for the same thing. I think the custom field images plugin is a bit misleading. It may be a good starting point for writing a plugin to do this, but I’m pretty sure one already exists.
I want to find it, too! π
We are all looking for the same thing:
It has to be out there.
Forum: Fixing WordPress
In reply to: how do I create a subdirectory for members pageswhy not set the blog and allow people to register, or register with moderation, and mark the pages and posts you want “members only” to “private?”
that could effectively add new nav menu items that only show up when people are logged in.
Forum: Plugins
In reply to: WordPress 2.8 RC breaks post types in More Fields pluginI posted an updated version of the plugin on my blog, based on the changes mentioned above. Feel free to download it
It was having some trouble showing / hiding the meta boxes on the “edit page” screen. Also, I feel like if you add a custom type, say “events,” when you click on that you should view all events instead of editing a new one (like how posts and pages work). I fixed that, too.
I may have made a few other minor tweaks, too, but I didn’t spend too much time documenting my changes. Sorry. Anyhow, it seems to be working pretty well now. I wish we could get the original authors back on board. It’s such an awesome plugin.
Oh yeah, and it’d be nice if there was a way to have “previous versions” for the other fields, but doing that would require some significant changes to the way the wordpress database is set up, which I think would be a bad idea.
Cheers.
Forum: Fixing WordPress
In reply to: TinyMCE tiny_mce_config.php file missingi think wordpress did away with this file somewhere around 2.7
Forum: Fixing WordPress
In reply to: TinyMCE Format Options, remove h1, h2, prethere should be a way to write a plugin which modifies the “theme_advanced_blockformats” variable. by using a plugin with a hook / loop setup, you wouldn’t have to change any of the wordpress core files and thus would be OK for use with upgraded and future versions.
Also, I believe that the code above is allowing wordpress to use the compressed version of tinymce which should load faster (see: http://wiki.moxiecode.com/index.php/TinyMCE:Compressor/PHP)
by changing that code you are forcing the editor to load as the uncompressed version.
changing the block formats is something I’d like to do as well, but I want to do it the “right” way. i’ll post the solution here when I find it, but it may be a while as this isn’t at the top of my priorities right now π