JeanPaulH
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Sociable] fails XHTML validationThis is not the plugin’s fault. Sociable outputs a <div> element, and you probably have the Sociable code inside a span, p or any other elements where a <div> is not allowed ( I know the W3C Validator error is vague, but this is what it means). Could you try move it outside the <span> or <p> and see if the error disappears?
Forum: Plugins
In reply to: 3.) How do I include a Css file only when I am on the homepage of my blog?<?php if(is_home()) { ?> <link media="screen" href="https://example.com/style.css" type="text/css" rel="stylesheet" /> <?php } ?>
Forum: Plugins
In reply to: [Plugin: Google News Sitemap Generator] Category keywordsHi Chris. Thanks for the fix. However, there’s an error in the plugin. Your check for the WordPress version is the other way around (line 53 in google-news-sitemap.php).
if ( get_bloginfo('version') > 2.3 )
This needs to be:
if ( get_bloginfo('version') < 2.3 )
I guess the admin menu didn’t make it in version 1.1? I can’t seem to find it in the Dashboard or in the plugin file.
Forum: Fixing WordPress
In reply to: Image caption in WP 2.6Thanks Otto. Unfortunately, WP still inserts the caption code in the post and (after saving) in the preview ??
Forum: Fixing WordPress
In reply to: unable to write posts, or pages.Clear your browsers cache and make sure to hard refresh (Ctrl-F5 for Windows, Cmd-R for Apple) so all javascript files are refreshed.
And make sure to read this (older) topic: https://tinymce.moxiecode.com/punbb/viewtopic.php?id=5152
Forum: Fixing WordPress
In reply to: How can I fix this pleaseOr just search the plugin directory for SEO.
Forum: Fixing WordPress
In reply to: Image Caption – Null?Addendum 2: This doesn’t seem to work, see more on this topic in this support topic.
Forum: Fixing WordPress
In reply to: Image caption in WP 2.6Hi Otto,
Your code seems to throw errors when added to my theme’s functions.php (Cleaker 2 theme)
Parse error: parse error, unexpected '}' in /var/www/vhosts/example.com/httpdocs/wp-content/themes/Cleaker2/functions.php on line 10
The only other code in functions.php is for the widgetized sidebar.
I tried several modifications of your code block, but it either gives me other errors or the caption is still inserted. Any help would be kindly appreciated.
Forum: Fixing WordPress
In reply to: Image Caption – Null?Is there a way to stop WP from adding captions all together, while keeping the alt tag? (for valid XHTML). We have no use for image captions, but since WP 2.6 we have to remove the caption code everytime and move the image float class inside the <img> tag (since the new system puts it in the caption tag). I noticed there are hooks to completely disable the caption creation, but nobody has made this into a plugin yet (and my PHP is way too rusty to do it myself).
Would appreciate if this would be made into a new plugin or made optional in a new version of WordPress. Thanks.
Edit: Sorry, found it here ??
Forum: Plugins
In reply to: Category Posts Widget – Broken in WP 2.6Found it (I think). After disabling Simply Exclude your plugin Category Posts Widget starts to display the correct category again. Maybe they’re both doing the same thing? Unfortunately I need both plugins, so hopefully you’re able to work out some magic ??
Forum: Plugins
In reply to: [Plugin: WordPress Admin Bar] Role Manager supportThis is my current code, but it probably breaks for other who haven’t got Role Manager installed. The ‘iPhone’ part is to disable AB when viewing the blog on my iPhone ??
// Everything this plugin does is only for logged in users $role = get_role('administrator'); if( !$role->has_cap('adminbar') ) { $role->add_cap('adminbar'); } if ( !current_user_can('adminbar') OR (preg_match('/iPhone/i', $_SERVER['HTTP_USER_AGENT'], $match)) ) return;
Forum: Plugins
In reply to: [Plugin: Dashboard: Draft Posts] Pending (for review) postsMe again. I fixed this with your new 1.01 version and the new post query ??
Forum: Plugins
In reply to: Ajaxified Expand NowThe website works for me, but just in case I have the plugin (and archived webpage [PDF]) mirrored on my webspace: Ajaxified Expand Now
Forum: Plugins
In reply to: how to have just some widgets just in the pages or post-pages?Widget Logic does what you want.
Forum: Plugins
In reply to: Featured Content plugin hides drop down menusEdit the z-index in the css file. The higher the z-index, the more important it is in the “stack”. See here for more info: https://developer.mozilla.org/en/docs/Understanding_CSS_z-index