Title: Dequeue style YARP ?
Last modified: August 20, 2016

---

# Dequeue style YARP ?

 *  Resolved [Aurélien Denis](https://wordpress.org/support/users/maigret/)
 * (@maigret)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/dequeue-style-yarp/)
 * Hi,
 * Just new yo to YARP and it looks very nice.
 * I’m looking for a way to dequeue this CSS function in core-class.php :
 *     ```
       wp_enqueue_style( "yarpp-thumbnails-" . $dimensions['size'], plugins_url( 'styles-thumbnails.php?' . http_build_query( array( 'width' => $dimensions['width'], 'height' => $dimensions['height'] ) ), __FILE__ ), array(), YARPP_VERSION, 'all' );
       	}
       ```
   
 * Now, I just add // in the code because wp_dequeue_style in functions.php doesn’t
   seem to works (but not sure of what to do in fact).
 * Anyone can help me? Thanks
 * [http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/](http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/)

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

 *  [mitcho (Michael Yoshitaka Erlewine)](https://wordpress.org/support/users/mitchoyoshitaka/)
 * (@mitchoyoshitaka)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/dequeue-style-yarp/#post-3396911)
 * wp_dequeue_style probably needs to run later. Probably binding it to the `wp_print_footer_scripts`
   with some low timing number, like `add_action(wp_print_footer_scripts, 'function',
   1)` might work. (Seems like you’re comfortable with PHP, so I hope that makes
   sense.)
 * Note, however, that code is only being included because you’re using the “Thumbnails”
   display option. Do you not want to use the thumbnails display? This can be changed
   in the YARPP settings.
 *  Thread Starter [Aurélien Denis](https://wordpress.org/support/users/maigret/)
 * (@maigret)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/dequeue-style-yarp/#post-3396914)
 * OK thanks. I’ll check this later. 😉

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

The topic ‘Dequeue style YARP ?’ is closed to new replies.

 * ![](https://ps.w.org/yet-another-related-posts-plugin/assets/icon-256x256.png?
   rev=2549977)
 * [YARPP - Yet Another Related Posts Plugin](https://wordpress.org/plugins/yet-another-related-posts-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yet-another-related-posts-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yet-another-related-posts-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/yet-another-related-posts-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yet-another-related-posts-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yet-another-related-posts-plugin/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Aurélien Denis](https://wordpress.org/support/users/maigret/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/dequeue-style-yarp/#post-3396914)
 * Status: resolved