What Happens If I Disable Multipurpose?

Posted in: Newspaper
Post count: 41

I read an article on increasing site speed and it recommended that one should disable Newspaper’s multipurpose plugin using the following code:

// remove multi purpose style
add_action( ‘wp_enqueue_scripts’, ‘remove_multi_purpose’, 20 );
function remove_multi_purpose() {
wp_dequeue_style( ‘td-plugin-multi-purpose’ );
}

Article: https://www.thenerdystudent.com/2019/05/newspaper-speed/#functionsphp

I was wondering what exactly is the function of this plugin and what happens if I disable it? (I am not using it by the way, every option is turned off), unless some element on the site uses it my default.

My site: http://www.respawnfirst.com

  • This topic was modified 2 years by Sikandar.
  • This topic was modified 2 years by Sikandar.
Post count: 21065

Hello @Sikandar!

The multipurpose-It’s a part of the theme that is useful; that’s why there’s not a separate plugin in order to deactivate it and for the theme to work as before. Anyway, the code removes the multipurpose style. 

Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.