What is Better a custom plugin or use a pre-made plugin

I am planning to use a lot of custom function on my WP site, now my question is should I got with custom plugin for all of my function or use a plugin like WP coder or Code Snippets. The reason I vote for custom plugin is lesser use of css, because in plugin like wp coder and others you need to write or use CSS again and again for each function, and in the end you'll have a lot of unnecessary CSS. But when using a custom plugin I can use same css for all of my functions.

Any suggestions please, what should i Choose?

4 Comments
  1. Plugins that are known to inject code into areas such as the header etc are targeted more concerning malicious behavior.

    If you’re just firing some wp_head hooks or something and plan to mod the site more – personally, I would create a child theme or plugin

  2. Not really an answerable question – there’s no right answer. Every plugin is different, and 99.99% of people don’t know how to code, so for most people a prebuilt plugin is the only option. If you’re skilled enough, you can write your own plugin that only does what you want – but what’s to say that you won’t introduce security vulnerabilities by doing so?

  3. If the question is a custom plugin vs pre-made to just add custom shortcodes, I personally go with custom since you know it won’t have any extra stuff loading on backend or frontend.

  4. Another thing that popped into my mind, Can I create a new file while using a child theme? i.e. function2.php and function3.php

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer