Title: conflict within WP if hacking function.php
Last modified: August 24, 2016

---

# conflict within WP if hacking function.php

 *  Resolved anonymized-14293447
 * (@anonymized-14293447)
 * [11 years ago](https://wordpress.org/support/topic/conflict-within-wp-if-hacking-functionphp/)
 * Hello, you might remember some time ago I had an issue concerning Postman wizard
   in my installation, which wasn’t working. You then suggested me to add this code
   to function.php:
 *     ```
       // DEQUE GLOBO SCRIPTS FROM THE ADMNISTRATION PAGES
       function postman_fix_globo_jquerymap() {
       	// these first two resources present a conflict for Postman
       	wp_dequeue_script ( 'jquerymap' );
       	wp_dequeue_style ( 'bootstrap-css' );
       	// the rest may cause conflicts with other plugins
       	wp_dequeue_script ( 'google-maps' );
       	wp_dequeue_script ( 'gmaps' );
       	wp_dequeue_script ( 'angular' );
       	wp_dequeue_script ( 'angular-strap' );
       	wp_dequeue_script ( 'angular-bootstrap' );
       	wp_dequeue_script ( 'angular-strap-tpl' );
       	wp_dequeue_script ( 'angular-custom' );
       	wp_dequeue_script ( 'sortable' );
       	wp_dequeue_style ( 'fontawesome' );
       }
       // add a hook for the Globo admin script fix
       add_action ( 'admin_enqueue_scripts', 'postman_fix_globo_jquerymap', 100 );
       ```
   
 * I have nailed down a conflict between this code and one particular feature of
   the theme I’m using. If I delete that code then the feature works, but the wizard
   won’t. Is there a way around this?
 * [https://wordpress.org/plugins/postman-smtp/](https://wordpress.org/plugins/postman-smtp/)

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

 *  Plugin Author [Jason Hendriks](https://wordpress.org/support/users/jasonhendriks/)
 * (@jasonhendriks)
 * [11 years ago](https://wordpress.org/support/topic/conflict-within-wp-if-hacking-functionphp/#post-6155625)
 * Yes, [I remember](https://wordpress.org/support/topic/setup-wizard-not-working?replies=16).
 * I don’t know what theme feature breaks, so I can’t tel you how to fix it. I assume
   it’s something to do with administration, since the change we made only runs 
   when an administrator is logged in.
 * Have you [told Globo](http://themeforest.net/item/globo-directory-listings-html-template/9321666/comments)
   about this problem? While I don’t mind helping you figure out Globo’s code, **
   I** haven’t made $5000 selling Globo either 😉
 * Anyway, once Postman is configured you really shouldn’t need to run the Wizard
   again. Why not just delete the fix?
 *  Thread Starter anonymized-14293447
 * (@anonymized-14293447)
 * [11 years ago](https://wordpress.org/support/topic/conflict-within-wp-if-hacking-functionphp/#post-6155630)
 * Yep, for now I deleted the fix. I just like to have all features working **🙂**
   Globo’s feature is a subscription plugin hardcoded in the theme. I have been 
   mentioning it to them, and then I discovered it was caused by the fix for Postman.
   The problem actually came about when WP upgraded to newest version, so you might
   also consider this in your future updates (which I’m glad to see they come almost
   daily). Cheers
 *  Plugin Author [Jason Hendriks](https://wordpress.org/support/users/jasonhendriks/)
 * (@jasonhendriks)
 * [11 years ago](https://wordpress.org/support/topic/conflict-within-wp-if-hacking-functionphp/#post-6155647)
 * > so you might also consider this in your future updates
 * Huh? Consider what for future updates? I’m not coding a fix for Globo into my
   plugin.
 *  Thread Starter anonymized-14293447
 * (@anonymized-14293447)
 * [11 years ago](https://wordpress.org/support/topic/conflict-within-wp-if-hacking-functionphp/#post-6155718)
 * 🙂
    I meant that sometimes solid plugins stop working when WP releases new versions(
   of course this was not the case).

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

The topic ‘conflict within WP if hacking function.php’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/postman-smtp_7c7b78.svg)
 * [Postman SMTP Mailer/Email Log](https://wordpress.org/plugins/postman-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/postman-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/postman-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/postman-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/postman-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/postman-smtp/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: anonymized-14293447
 * Last activity: [11 years ago](https://wordpress.org/support/topic/conflict-within-wp-if-hacking-functionphp/#post-6155718)
 * Status: resolved