{"id":24785,"date":"2015-09-30T08:17:03","date_gmt":"2015-09-30T06:17:03","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/?p=24785"},"modified":"2015-09-30T08:17:03","modified_gmt":"2015-09-30T06:17:03","slug":"packaging-third-party-plugins-with-your-wordpress-theme","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2015\/09\/30\/packaging-third-party-plugins-with-your-wordpress-theme\/","title":{"rendered":"Packaging third-party plugins with your WordPress theme"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p><a href=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2015\/09\/wordpress-theme-plugins.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"24786\" data-permalink=\"https:\/\/mamchenkov.net\/wordpress\/2015\/09\/30\/packaging-third-party-plugins-with-your-wordpress-theme\/wordpress-theme-plugins\/\" data-orig-file=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2015\/09\/wordpress-theme-plugins.png?fit=586%2C184&amp;ssl=1\" data-orig-size=\"586,184\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"wordpress theme plugins\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2015\/09\/wordpress-theme-plugins.png?fit=586%2C184&amp;ssl=1\" class=\"aligncenter size-medium wp-image-24786\" src=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2015\/09\/wordpress-theme-plugins-500x157.png?resize=500%2C157&#038;ssl=1\" alt=\"wordpress theme plugins\" width=\"500\" height=\"157\" srcset=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2015\/09\/wordpress-theme-plugins.png?resize=500%2C157&amp;ssl=1 500w, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2015\/09\/wordpress-theme-plugins.png?w=586&amp;ssl=1 586w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n<p>Many a time I&#8217;ve been involved in building a custom WordPress theme, which relied or benefited from some plugins being installed and activated. \u00a0I&#8217;ve always had an ad hoc solution to the problem, with my own installation scripts, WP-CLI mockery, etc. &#8220;<a href=\"http:\/\/hasin.me\/2015\/09\/28\/packaging-thirdparty-plugins-with-your-wordpress-theme-using-tgm-plugin-activation-library\/\">Packaging third-party plugins with your WordPress theme using TGM Plugin Activation library<\/a>&#8221; covers a much more elegant solution. \u00a0I haven&#8217;t tried it yet, but it does look very promising for my next WordPress project.<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>Many a time I&#8217;ve been involved in building a custom WordPress theme, which relied or benefited from some plugins being installed and activated. \u00a0I&#8217;ve always had an ad hoc solution to the problem, with my own installation scripts, WP-CLI mockery, etc. &#8220;Packaging third-party plugins with your WordPress theme using TGM Plugin Activation library&#8221; covers a &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2015\/09\/30\/packaging-third-party-plugins-with-your-wordpress-theme\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Packaging third-party plugins with your WordPress theme<\/span><\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"Packaging third-party plugins with your WordPress theme #WebDev #WordPress","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false,"_links_to":"","_links_to_target":""},"categories":[1,62,1334,60],"tags":[1330,3012,1364],"keyring_services":[],"class_list":["post-24785","post","type-post","status-publish","format-standard","hentry","category-general","category-technology","category-web-work","category-wordpress","tag-web-development","tag-wordpress-plugins","tag-wordpress-themes"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"Many a time I&#039;ve been involved in building a custom WordPress theme, which relied or benefited from some plugins being installed and activated. I&#039;ve always had an ad hoc solution to the problem, with my own installation scripts, WP-CLI mockery, etc. &quot;Packaging third-party plugins with your WordPress theme using TGM Plugin Activation library&quot; covers a\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Leonid Mamchenkov\"\/>\n\t<meta name=\"google-site-verification\" content=\"VHvdD0_usx1_4DzKy_QCVcICVgX2EgA2ybELT-wl7kQ\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/mamchenkov.net\/wordpress\/2015\/09\/30\/packaging-third-party-plugins-with-your-wordpress-theme\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Leonid Mamchenkov - Life, universe, and everything else\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Packaging third-party plugins with your WordPress theme - Leonid Mamchenkov\" \/>\n\t\t<meta property=\"og:description\" content=\"Many a time I&#039;ve been involved in building a custom WordPress theme, which relied or benefited from some plugins being installed and activated. I&#039;ve always had an ad hoc solution to the problem, with my own installation scripts, WP-CLI mockery, etc. &quot;Packaging third-party plugins with your WordPress theme using TGM Plugin Activation library&quot; covers a\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/mamchenkov.net\/wordpress\/2015\/09\/30\/packaging-third-party-plugins-with-your-wordpress-theme\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2015-09-30T06:17:03+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2015-09-30T06:17:03+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/MamchenkovBlog\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@mamchenkov\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Packaging third-party plugins with your WordPress theme - Leonid Mamchenkov\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Many a time I&#039;ve been involved in building a custom WordPress theme, which relied or benefited from some plugins being installed and activated. I&#039;ve always had an ad hoc solution to the problem, with my own installation scripts, WP-CLI mockery, etc. &quot;Packaging third-party plugins with your WordPress theme using TGM Plugin Activation library&quot; covers a\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@mamchenkov\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2015\\\/09\\\/30\\\/packaging-third-party-plugins-with-your-wordpress-theme\\\/#blogposting\",\"name\":\"Packaging third-party plugins with your WordPress theme - Leonid Mamchenkov\",\"headline\":\"Packaging third-party plugins with your WordPress theme\",\"author\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/wp-content\\\/uploads\\\/2015\\\/09\\\/wordpress-theme-plugins-500x157.png\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2015\\\/09\\\/30\\\/packaging-third-party-plugins-with-your-wordpress-theme\\\/#articleImage\"},\"datePublished\":\"2015-09-30T08:17:03+02:00\",\"dateModified\":\"2015-09-30T08:17:03+02:00\",\"inLanguage\":\"en-US\",\"commentCount\":3,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2015\\\/09\\\/30\\\/packaging-third-party-plugins-with-your-wordpress-theme\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2015\\\/09\\\/30\\\/packaging-third-party-plugins-with-your-wordpress-theme\\\/#webpage\"},\"articleSection\":\"All, Technology, Web work, WordPress, web development, WordPress plugins, WordPress themes\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2015\\\/09\\\/30\\\/packaging-third-party-plugins-with-your-wordpress-theme\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/#listItem\",\"position\":2,\"name\":\"Technology\",\"item\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/wordpress\\\/#listItem\",\"name\":\"WordPress\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/wordpress\\\/#listItem\",\"position\":3,\"name\":\"WordPress\",\"item\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/wordpress\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2015\\\/09\\\/30\\\/packaging-third-party-plugins-with-your-wordpress-theme\\\/#listItem\",\"name\":\"Packaging third-party plugins with your WordPress theme\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2015\\\/09\\\/30\\\/packaging-third-party-plugins-with-your-wordpress-theme\\\/#listItem\",\"position\":4,\"name\":\"Packaging third-party plugins with your WordPress theme\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/wordpress\\\/#listItem\",\"name\":\"WordPress\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#person\",\"name\":\"Leonid Mamchenkov\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2015\\\/09\\\/30\\\/packaging-third-party-plugins-with-your-wordpress-theme\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"Leonid Mamchenkov\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/#author\",\"url\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/\",\"name\":\"Leonid Mamchenkov\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2015\\\/09\\\/30\\\/packaging-third-party-plugins-with-your-wordpress-theme\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"Leonid Mamchenkov\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2015\\\/09\\\/30\\\/packaging-third-party-plugins-with-your-wordpress-theme\\\/#webpage\",\"url\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2015\\\/09\\\/30\\\/packaging-third-party-plugins-with-your-wordpress-theme\\\/\",\"name\":\"Packaging third-party plugins with your WordPress theme - Leonid Mamchenkov\",\"description\":\"Many a time I've been involved in building a custom WordPress theme, which relied or benefited from some plugins being installed and activated. I've always had an ad hoc solution to the problem, with my own installation scripts, WP-CLI mockery, etc. \\\"Packaging third-party plugins with your WordPress theme using TGM Plugin Activation library\\\" covers a\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2015\\\/09\\\/30\\\/packaging-third-party-plugins-with-your-wordpress-theme\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/#author\"},\"datePublished\":\"2015-09-30T08:17:03+02:00\",\"dateModified\":\"2015-09-30T08:17:03+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#website\",\"url\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/\",\"name\":\"Blog of Leonid Mamchenkov\",\"description\":\"Life, universe, and everything else\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Packaging third-party plugins with your WordPress theme - Leonid Mamchenkov","description":"Many a time I've been involved in building a custom WordPress theme, which relied or benefited from some plugins being installed and activated. I've always had an ad hoc solution to the problem, with my own installation scripts, WP-CLI mockery, etc. \"Packaging third-party plugins with your WordPress theme using TGM Plugin Activation library\" covers a","canonical_url":"https:\/\/mamchenkov.net\/wordpress\/2015\/09\/30\/packaging-third-party-plugins-with-your-wordpress-theme\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"VHvdD0_usx1_4DzKy_QCVcICVgX2EgA2ybELT-wl7kQ","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/mamchenkov.net\/wordpress\/2015\/09\/30\/packaging-third-party-plugins-with-your-wordpress-theme\/#blogposting","name":"Packaging third-party plugins with your WordPress theme - Leonid Mamchenkov","headline":"Packaging third-party plugins with your WordPress theme","author":{"@id":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/#author"},"publisher":{"@id":"https:\/\/mamchenkov.net\/wordpress\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2015\/09\/wordpress-theme-plugins-500x157.png","@id":"https:\/\/mamchenkov.net\/wordpress\/2015\/09\/30\/packaging-third-party-plugins-with-your-wordpress-theme\/#articleImage"},"datePublished":"2015-09-30T08:17:03+02:00","dateModified":"2015-09-30T08:17:03+02:00","inLanguage":"en-US","commentCount":3,"mainEntityOfPage":{"@id":"https:\/\/mamchenkov.net\/wordpress\/2015\/09\/30\/packaging-third-party-plugins-with-your-wordpress-theme\/#webpage"},"isPartOf":{"@id":"https:\/\/mamchenkov.net\/wordpress\/2015\/09\/30\/packaging-third-party-plugins-with-your-wordpress-theme\/#webpage"},"articleSection":"All, Technology, Web work, WordPress, web development, WordPress plugins, WordPress themes"},{"@type":"BreadcrumbList","@id":"https:\/\/mamchenkov.net\/wordpress\/2015\/09\/30\/packaging-third-party-plugins-with-your-wordpress-theme\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress#listItem","position":1,"name":"Home","item":"https:\/\/mamchenkov.net\/wordpress","nextItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/#listItem","name":"Technology"}},{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/#listItem","position":2,"name":"Technology","item":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/","nextItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/wordpress\/#listItem","name":"WordPress"},"previousItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/wordpress\/#listItem","position":3,"name":"WordPress","item":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/wordpress\/","nextItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/2015\/09\/30\/packaging-third-party-plugins-with-your-wordpress-theme\/#listItem","name":"Packaging third-party plugins with your WordPress theme"},"previousItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/#listItem","name":"Technology"}},{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/2015\/09\/30\/packaging-third-party-plugins-with-your-wordpress-theme\/#listItem","position":4,"name":"Packaging third-party plugins with your WordPress theme","previousItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/wordpress\/#listItem","name":"WordPress"}}]},{"@type":"Person","@id":"https:\/\/mamchenkov.net\/wordpress\/#person","name":"Leonid Mamchenkov","image":{"@type":"ImageObject","@id":"https:\/\/mamchenkov.net\/wordpress\/2015\/09\/30\/packaging-third-party-plugins-with-your-wordpress-theme\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g","width":96,"height":96,"caption":"Leonid Mamchenkov"}},{"@type":"Person","@id":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/#author","url":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/","name":"Leonid Mamchenkov","image":{"@type":"ImageObject","@id":"https:\/\/mamchenkov.net\/wordpress\/2015\/09\/30\/packaging-third-party-plugins-with-your-wordpress-theme\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g","width":96,"height":96,"caption":"Leonid Mamchenkov"}},{"@type":"WebPage","@id":"https:\/\/mamchenkov.net\/wordpress\/2015\/09\/30\/packaging-third-party-plugins-with-your-wordpress-theme\/#webpage","url":"https:\/\/mamchenkov.net\/wordpress\/2015\/09\/30\/packaging-third-party-plugins-with-your-wordpress-theme\/","name":"Packaging third-party plugins with your WordPress theme - Leonid Mamchenkov","description":"Many a time I've been involved in building a custom WordPress theme, which relied or benefited from some plugins being installed and activated. I've always had an ad hoc solution to the problem, with my own installation scripts, WP-CLI mockery, etc. \"Packaging third-party plugins with your WordPress theme using TGM Plugin Activation library\" covers a","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/mamchenkov.net\/wordpress\/#website"},"breadcrumb":{"@id":"https:\/\/mamchenkov.net\/wordpress\/2015\/09\/30\/packaging-third-party-plugins-with-your-wordpress-theme\/#breadcrumblist"},"author":{"@id":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/#author"},"creator":{"@id":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/#author"},"datePublished":"2015-09-30T08:17:03+02:00","dateModified":"2015-09-30T08:17:03+02:00"},{"@type":"WebSite","@id":"https:\/\/mamchenkov.net\/wordpress\/#website","url":"https:\/\/mamchenkov.net\/wordpress\/","name":"Blog of Leonid Mamchenkov","description":"Life, universe, and everything else","inLanguage":"en-US","publisher":{"@id":"https:\/\/mamchenkov.net\/wordpress\/#person"}}]},"og:locale":"en_US","og:site_name":"Leonid Mamchenkov - Life, universe, and everything else","og:type":"article","og:title":"Packaging third-party plugins with your WordPress theme - Leonid Mamchenkov","og:description":"Many a time I've been involved in building a custom WordPress theme, which relied or benefited from some plugins being installed and activated. I've always had an ad hoc solution to the problem, with my own installation scripts, WP-CLI mockery, etc. &quot;Packaging third-party plugins with your WordPress theme using TGM Plugin Activation library&quot; covers a","og:url":"https:\/\/mamchenkov.net\/wordpress\/2015\/09\/30\/packaging-third-party-plugins-with-your-wordpress-theme\/","og:image":"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg","og:image:secure_url":"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg","og:image:width":1024,"og:image:height":1024,"article:published_time":"2015-09-30T06:17:03+00:00","article:modified_time":"2015-09-30T06:17:03+00:00","article:publisher":"https:\/\/www.facebook.com\/MamchenkovBlog","twitter:card":"summary_large_image","twitter:site":"@mamchenkov","twitter:title":"Packaging third-party plugins with your WordPress theme - Leonid Mamchenkov","twitter:description":"Many a time I've been involved in building a custom WordPress theme, which relied or benefited from some plugins being installed and activated. I've always had an ad hoc solution to the problem, with my own installation scripts, WP-CLI mockery, etc. &quot;Packaging third-party plugins with your WordPress theme using TGM Plugin Activation library&quot; covers a","twitter:creator":"@mamchenkov","twitter:image":"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg"},"aioseo_meta_data":{"post_id":"24785","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2023-07-19 17:26:58","updated":"2026-01-15 11:44:49","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/mamchenkov.net\/wordpress\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/\" title=\"Technology\">Technology<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/wordpress\/\" title=\"WordPress\">WordPress<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tPackaging third-party plugins with your WordPress theme\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/mamchenkov.net\/wordpress"},{"label":"Technology","link":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/"},{"label":"WordPress","link":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/wordpress\/"},{"label":"Packaging third-party plugins with your WordPress theme","link":"https:\/\/mamchenkov.net\/wordpress\/2015\/09\/30\/packaging-third-party-plugins-with-your-wordpress-theme\/"}],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":28431,"url":"https:\/\/mamchenkov.net\/wordpress\/2018\/03\/14\/updating-wordpress-with-composer-and-wp-cli\/","url_meta":{"origin":24785,"position":0},"title":"Updating WordPress with Composer and WP-CLI","author":"Leonid Mamchenkov","date":"March 14, 2018","format":false,"excerpt":"The other day I came across this blog post by\u00a0Mark Jaquith, who is one of the lead contributors to WordPress, in which he describes his process of updating WordPress plugins with WP-CLI and Git.\u00a0 I think a lot of people these days are trying to use Git for version control\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":27939,"url":"https:\/\/mamchenkov.net\/wordpress\/2017\/09\/05\/plugins-spring-cleaning\/","url_meta":{"origin":24785,"position":1},"title":"Plugins spring cleaning","author":"Leonid Mamchenkov","date":"September 5, 2017","format":false,"excerpt":"I've done a little spring cleaning of some plugins installed and activated on this site. \u00a0You shouldn't notice much of a difference, except, maybe, fewer quirks and issues. \u00a0Here are some of the plugins that were removed: Smart YouTube Pro - it was only used in a couple of posts\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":24911,"url":"https:\/\/mamchenkov.net\/wordpress\/2015\/10\/30\/best-wordpress-plugins-over-40-hand-tested-plugins\/","url_meta":{"origin":24785,"position":2},"title":"Best WordPress Plugins &#8211; Over 40 Hand-Tested Plugins!","author":"Leonid Mamchenkov","date":"October 30, 2015","format":false,"excerpt":"Best WordPress Plugins is an excellent collection of plugins for all sorts of things - from posts and comments management to podcasting and security. \u00a0Some are free, others - commercial. \u00a0I'm sure that even if you've been running a WordPress site for years, you'll still find something new for you\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"wp-help","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2015\/10\/wp-help-500x162.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":27363,"url":"https:\/\/mamchenkov.net\/wordpress\/2017\/02\/26\/composer-require-inline-alias\/","url_meta":{"origin":24785,"position":3},"title":"Composer require inline alias","author":"Leonid Mamchenkov","date":"February 26, 2017","format":false,"excerpt":"Here's a feature of composer that I didn't know about until a few days ago - require inline alias. \u00a0Here's the example from the documentation: This is super useful when you have dependencies in your project that require a particular version of a third-party library or plugin, and you want\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":21826,"url":"https:\/\/mamchenkov.net\/wordpress\/2014\/05\/17\/tablesaw-a-set-of-plugins-for-responsive-tables\/","url_meta":{"origin":24785,"position":4},"title":"Tablesaw &#8211; a set of plugins for responsive tables","author":"Leonid Mamchenkov","date":"May 17, 2014","format":"link","excerpt":"Tablesaw - a set of plugins for responsive tables","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"stackable table","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2014\/05\/stackable-table-500x170.gif?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":28491,"url":"https:\/\/mamchenkov.net\/wordpress\/2018\/04\/18\/wpplugincheck-in-depth-reviews-of-wordpress-plugins\/","url_meta":{"origin":24785,"position":5},"title":"wpplugincheck &#8211; in-depth reviews of WordPress plugins","author":"Leonid Mamchenkov","date":"April 18, 2018","format":false,"excerpt":"My WordPress radar noticed a new website - wpplugincheck.\u00a0 This website provides in-depth reviews of WordPress plugins.\u00a0 I've checked a few of those and they seem solid - honest and to the point. There's a gadzillion of websites online that review WordPress plugins (occasionally including even my own blog), but\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/24785","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=24785"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/24785\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=24785"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=24785"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=24785"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=24785"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}