Title: Change priority
Last modified: February 25, 2025

---

# Change priority

 *  Resolved [Egl](https://wordpress.org/support/users/egletiere/)
 * (@egletiere)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/change-priority/)
 * Hi!
 * We noticed in our website’s source that the plugins’ css in right at the begining
   of head.
 * Is there any way to move this lower?

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

 *  Plugin Support [Laszlo](https://wordpress.org/support/users/laszloszalvak/)
 * (@laszloszalvak)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/change-priority/#post-18326786)
 * Hi [@egletiere](https://wordpress.org/support/users/egletiere/)
 * I am sorry, we don’t have an option to do that, we output our styles on the wp_head:
 *     ```wp-block-code
       add_action('wp_head', 'NextendSocialLogin::styles', 100);
       ```
   
 * If you would like to modify the position of the styles, then the options you 
   have:
 * A.) use an optimizer plugin, as some of them gives you an option to combine inline
   styles and load them at another position
 * B.) remove our styles via [remove_action](https://developer.wordpress.org/reference/functions/remove_action/)
   and hook it to another action which gets fired only once, e.g.:
 *     ```wp-block-code
       add_action('init', function(){    remove_action('wp_head', 'NextendSocialLogin::styles', 100);    add_action('wp_footer', 'NextendSocialLogin::styles', 100);});
       ```
   
 * However please note that:
    - this will broke our code intended to remove the social buttons from the AMP
      requests, as our code expects the styles to be hooked to the wp_head, action.
      This means, our styles will be added to the page even in the AMP request. 
      So if you use AMP, then you will need to unhook your hooked code manually.
      If you search for the isAMPRequest in our source code, you will see how we
      check if the request is an AMP request.
    - we can not provide support for custom coding or problems caused by custom 
      codes. E.g. if your theme won’t fire the wp_footer action for some reason,
      then the styles will go missing and the social buttons will look broken. If
      that happens, then you will need to find an alternative action that suits 
      your needs.
 * Best regards,
   Laszlo.
 *  Thread Starter [Egl](https://wordpress.org/support/users/egletiere/)
 * (@egletiere)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/change-priority/#post-18326998)
 * Thanks for the quick reply!

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

The topic ‘Change priority’ is closed to new replies.

 * ![](https://ps.w.org/nextend-facebook-connect/assets/icon.svg?rev=3336394)
 * [Nextend Social Login and Register](https://wordpress.org/plugins/nextend-facebook-connect/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextend-facebook-connect/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextend-facebook-connect/)
 * [Active Topics](https://wordpress.org/support/plugin/nextend-facebook-connect/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextend-facebook-connect/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextend-facebook-connect/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Egl](https://wordpress.org/support/users/egletiere/)
 * Last activity: [1 year, 3 months ago](https://wordpress.org/support/topic/change-priority/#post-18326998)
 * Status: resolved