Title: jloft's Replies | WordPress.org

---

# jloft

  [  ](https://wordpress.org/support/users/jloft/)

 *   [Profile](https://wordpress.org/support/users/jloft/)
 *   [Topics Started](https://wordpress.org/support/users/jloft/topics/)
 *   [Replies Created](https://wordpress.org/support/users/jloft/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/jloft/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/jloft/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/jloft/engagements/)
 *   [Favorites](https://wordpress.org/support/users/jloft/favorites/)

 Search replies:

## Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[MP6] override WP's default toolbar top margin](https://wordpress.org/support/topic/override-wps-default-toolbar-top-margin/)
 *  Thread Starter [jloft](https://wordpress.org/support/users/jloft/)
 * (@jloft)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/override-wps-default-toolbar-top-margin/#post-3624056)
 * Interesting. It seems you solved the issue a different way.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[MP6] override WP's default toolbar top margin](https://wordpress.org/support/topic/override-wps-default-toolbar-top-margin/)
 *  Thread Starter [jloft](https://wordpress.org/support/users/jloft/)
 * (@jloft)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/override-wps-default-toolbar-top-margin/#post-3624055)
 * In the WordPress Codex, I found the is_admin_bar_showing(); function.
    [http://codex.wordpress.org/Function_Reference/is_admin_bar_showing](http://codex.wordpress.org/Function_Reference/is_admin_bar_showing)
 * Adding it as a conditional to the mp6_override_toolbar_margin function seems 
   to fix the issue I reported.
 *     ```
       add_action( 'wp_head', 'mp6_override_toolbar_margin', 11 );
       function mp6_override_toolbar_margin() {
       	if ( is_admin_bar_showing() ) { ?>
       		<style type="text/css" media="screen">
       			html { margin-top: 32px !important; }
       			* html body { margin-top: 32px !important; }
       		</style>
       	<?php }
       }
       ```
   
 * If what I’ve done is correct, then I recommend including this edit to the function
   in MP6 6.0 this Friday.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PB Responsive Images] wp_register_script was called incorrectly](https://wordpress.org/support/topic/wp_register_script-was-called-incorrectly-1/)
 *  Thread Starter [jloft](https://wordpress.org/support/users/jloft/)
 * (@jloft)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/wp_register_script-was-called-incorrectly-1/#post-3518954)
 * Good call. It was the debug mode. I often develop with debugging set to true.
   The error notices are just minor annoyances for the most part, but the “header
   already sent” warning is a bigger problem because it results in a white screen
   and does not save changes to the settings. Thus, plugin settings cannot be edited
   and saved with debug mode active.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PB Responsive Images] wp_register_script was called incorrectly](https://wordpress.org/support/topic/wp_register_script-was-called-incorrectly-1/)
 *  Thread Starter [jloft](https://wordpress.org/support/users/jloft/)
 * (@jloft)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/wp_register_script-was-called-incorrectly-1/#post-3518936)
 * I just started over with a fresh WP install. Installing and activating PB Responsive
   did not result in the error messages this time. Not sure what the difference 
   is between the two installs, but clearly, it is not a consistent error.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PB Responsive Images] Retina / High DPI Displays](https://wordpress.org/support/topic/retina-high-dpi-displays/)
 *  Thread Starter [jloft](https://wordpress.org/support/users/jloft/)
 * (@jloft)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/retina-high-dpi-displays/#post-3518914)
 * Aha! Thank you. I was overlooking that I could insert something like (min-device-
   pixel-ratio:2) in the “media” field.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PB Responsive Images] wp_register_script was called incorrectly](https://wordpress.org/support/topic/wp_register_script-was-called-incorrectly-1/)
 *  Thread Starter [jloft](https://wordpress.org/support/users/jloft/)
 * (@jloft)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/wp_register_script-was-called-incorrectly-1/#post-3518907)
 * Thank you. I appreciate your help.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PB Responsive Images] wp_register_script was called incorrectly](https://wordpress.org/support/topic/wp_register_script-was-called-incorrectly-1/)
 *  Thread Starter [jloft](https://wordpress.org/support/users/jloft/)
 * (@jloft)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/wp_register_script-was-called-incorrectly-1/#post-3518880)
 * I see now that the plugin is designated as only compatible up to 3.4.2. Perhaps
   that’s why I’m experiencing these errors.
 * Is the plugin still in active development? Will it be compatible with 3.5.1, 
   3.6, etc. in the future?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Display Linkable Posts for each Custom Taxonomy Term](https://wordpress.org/support/topic/display-linkable-posts-for-each-custom-taxonomy-term/)
 *  [jloft](https://wordpress.org/support/users/jloft/)
 * (@jloft)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/display-linkable-posts-for-each-custom-taxonomy-term/#post-1572548)
 * vtxyzzy,
 * Any thoughts on how one might modify your code to generate “related posts” in
   the sidebar of a single.php template? Is there a way to dynamically populate 
   the first line of your code with the taxonomy associated with the main post being
   displayed by the single template?
 * `$terms = get_terms('taxonomy-of-main-post');`
 * I know how to do this with the get_the_category(); function, but I can’t figure
   out how to do it when using custom posts with a custom taxonomy. I’ve posted 
   about this in my forum entry here:
 * [http://wordpress.org/support/topic/custom-taxonomy-related-posts-query](http://wordpress.org/support/topic/custom-taxonomy-related-posts-query)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Most efficient way of looping through custom taxonomies](https://wordpress.org/support/topic/most-efficient-way-of-looping-through-custom-taxonomies/)
 *  [jloft](https://wordpress.org/support/users/jloft/)
 * (@jloft)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/most-efficient-way-of-looping-through-custom-taxonomies/#post-1605143)
 * I think this is a similar question to what I’m asking in this newer forum entry:
 * [http://wordpress.org/support/topic/custom-taxonomy-related-posts](http://wordpress.org/support/topic/custom-taxonomy-related-posts)
 * Can anyone help us out? We need help figuring out how to code the same functions
   we typically do with the default post type and taxonomies but with our **custom**
   post types and **custom** taxonomies.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Custom Taxonomy – Related Posts Query](https://wordpress.org/support/topic/custom-taxonomy-related-posts-query/)
 *  Thread Starter [jloft](https://wordpress.org/support/users/jloft/)
 * (@jloft)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/custom-taxonomy-related-posts-query/#post-1628876)
 * I’d like to note that I originally got the code for displaying related posts 
   by category from Binny VA’s blog. I’ve implemented it on other WordPress sites,
   so I know it works.
 * [http://www.bin-co.com/blog/2009/04/show-related-post-in-wordpress-without-a-plugin/](http://www.bin-co.com/blog/2009/04/show-related-post-in-wordpress-without-a-plugin/)

Viewing 10 replies - 1 through 10 (of 10 total)