colosimo
Forum Replies Created
-
Forum: Hacks
In reply to: how to get an admin theme to only load for 'author'?If anyone interested, add this code to your functions.php.
Just adjust the user level for your needs.
This example uses admin.css in your template folder for all users and editor.css just for editors.function custom_admin_style() { printf('<link rel="stylesheet" type="text/css" href="%s/admin.css" />',get_bloginfo('template_url')); global $current_user; get_currentuserinfo(); if ( $current_user->user_level < 9 ) { printf('<link rel="stylesheet" type="text/css" href="%s/editor.css" />',get_bloginfo('template_url'));} } add_action('admin_head', 'custom_admin_style');
Forum: Plugins
In reply to: [Register Plus Redux] [Plugin: Register Plus Redux] Dependent Custom Fieldsi’d like this one too!
thank you scribu!
but i found a new bug…if i query just one term i get posts for all partners
<?php query_posts("cat=5&partner="bill");?>
i found a workaround adding a fake partner in the query
<?php query_posts("cat=5&partner="bill,fakepartner");?>
but it’s a bit hacky.thank you for your work, i’m definitely going to donate. =)
hi scribu,
it’s fixed but there is a new issue:if i query multiple terms for one taxonomy, it shows again ALL my posts, from every tag and category.
<?php query_posts("cat=5&partner="bill,robert,john");?>
if i query one term works fine:
<?php query_posts("cat=5&partner="bill");?>
if i query multiple taxonomies and multiple terms works fine again!
<?php query_posts("cat=1&brand=ford&partner=bill,robert,john");?>
Forum: Plugins
In reply to: Query Multiple Taxonomies Plugin – error if no matchsame error for me and another guy with wp 3.0.1 and query multiple taxonomies both 1.2 and 1.3.
thank you scribu for your plugin and your help. =)
same issue here, wp 3.0.1 and query multiple taxonomies 1.2
here is my code (works fine when matches, shows everything when not)<?php query_posts("partner=bill&brand=ford"); ?> <?php while (have_posts()) : the_post(); ?> <a href="<?php the_permalink() ?>"><?php the_title(); ?></a> <?php endwhile; ?> <?php wp_reset_query(); ?>
Forum: Fixing WordPress
In reply to: echo Category Slug?thank you very much!
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] How can I display thumbs and big image in a divhello, i need that clicking on the image in the
big_image_container
it opens even bigger in a lightbox/thickbox/shutter/whatever…i tried like that, just adding the
class="shutter"
and it works only with the default image. if i click on another image the link opens the image in the browser normally.function custom_effect(img, div, attr) { if(img != 'undefined' && div != 'undefined' && div != '') { var d = document.getElementById(div); var html = '<a class="shutter" href="' + img + '"'; html += '>'; html += '<img src="' + img + '"'; html += ' /></a>'; d.innerHTML = html; } return false; }
you sure know what i have to do ??
please tell me!
thank youForum: Plugins
In reply to: [Plugin: NextGEN Gallery] How can I display thumbs and big image in a divany news about the “Undefined” description issue?
Forum: Installing WordPress
In reply to: Syntax Error in 2.8Same problem and same solution after upgrading to 2.8.1.
It was My Category Order.
Just enter the plugin settings and update the order, that’s it.Thank you waschlabor for finding it out.
Forum: Plugins
In reply to: Multiple Category Selection Widget interfering with linksStill broken with WordPress 2.8, I get again all my posts.
Any hint?Thank you!
Forum: Fixing WordPress
In reply to: [Plugin: NextGEN Gallery] Show thumbnails on image browserI’m interested in the same. =)
Forum: Plugins
In reply to: Nextgen Imagebrowser simple editYou should edit the template:
plugins/nextgen-gallery/view/imagebrowser.phpForum: Plugins
In reply to: [Plugin: NextGEN Gallery] imagebrowser, links to single imagesThis is probably not so difficult, but I really can’t get it, I’m not a programmer, I’m a snippet-paster…
Pleeeeease, anyone?
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] ImageBrowser Page ReloadSame here.
Is there anyone able to code this modification and share it?