# Install theme with Multisite

Currently, the theme is using TGM-Plugin-Activation to require installation and activation of the required plugin, Unfortunately, TGM-Plugin-Activation is not compatible with WP multisite, so you need to install the required plugins manually.

We're sorry for the inconvenience, but we'll try to improve it as soon as possible.

If you have difficulty installing themes with Multisite, please open a ticket here for support - <https://help.chisnghiax.com/>

### 1 - Install WordPress.org plugins

1. Advanced Custom Fields - <https://vi.wordpress.org/plugins/advanced-custom-fields/>
2. Favorites - <https://vi.wordpress.org/plugins/favorites/>
3. Email Subscribers & Newsletters - <https://vi.wordpress.org/plugins/email-subscribers/>
4. Nextend Social Login - <https://vi.wordpress.org/plugins/nextend-facebook-connect/>
5. Reading Time Wp - <https://vi.wordpress.org/plugins/reading-time-wp/>
6. Template Library and Redux Framework - <https://vi.wordpress.org/plugins/redux-framework/>
7. WP GraphQL - <https://vi.wordpress.org/plugins/wp-graphql/>
8. One click demo import - <https://vi.wordpress.org/plugins/one-click-demo-import/>

### 2 - Install Ncmaz-core & Ncmaz-frontend plugins

Please open the theme folder: **Ncmaz.zip -> Extra -> Ncmaz -> bundled-plugins ->** 2 plugins here

### 3 - Install WPGraphQL Extensions plugins:

1, Total Counts for WPGraphQL - <https://github.com/builtbycactus/total-counts-for-wp-graphql/archive/refs/heads/master.zip>

2, Wp graphql acf - <https://github.com/wp-graphql/wp-graphql-acf/archive/refs/heads/develop.zip>

**DONE!**

#### After installing and clicking the necessary plugins, you can import the demo in multi-sites as usual!

```php
$plugins = [
	// A WordPress.org plugin repository example.
	[
		'name'     	=> 'Advanced Custom Fields',
		'slug'     	=> 'advanced-custom-fields',
		'required' 	=> true,
	],
	[
		'name'     	=> 'Favorites',
		'slug'     	=> 'favorites',
		'required' 	=> true,
	],
	[
		'name'     	=> 'Email Subscribers & Newsletters',
		'slug'     	=> 'email-subscribers',
		'required' 	=> true,
	],
	[
		'name'     	=> 'Nextend Social Login',
		'slug'     	=> 'nextend-facebook-connect',
		'required' 	=> true,
	],
	[
		'name'     	=> 'Reading Time Wp',
		'slug'     	=> 'reading-time-wp',
		'required' 	=> true,
	],
	[
		'name'     	=> 'Template Library and Redux Framework',
		'slug'     	=> 'redux-framework',
		'required' 	=> true,
	],
	[
		'name'     	=> 'Wp Graphql',
		'slug'     	=> 'wp-graphql',
		'required' 	=> true,
	],
	[
		'name'     	=> 'One click demo import',
		'slug'     	=> 'one-click-demo-import',
		'required' 	=> false,
	],

	// A locally theme bundled plugin example.
	[
		'name'     	=> 'Ncmaz Core',
		'slug'     	=> 'ncmaz-core',
		'source'   	=> get_template_directory() . '/bundled-plugins/ncmaz-core.zip',
		'required' 	=> true,
		'version'	=> '2.0.1'
	],
	[
		'name'     	=> 'Ncmaz Frontend',
		'slug'     	=> 'ncmaz-frontend',
		'source'   	=> get_template_directory() . '/bundled-plugins/ncmaz-frontend.zip',
		'required' 	=> true,
		'version'	=> '2.1.3'
	],

	// WPGraphQL Extensions
	[
		'name'     	=> 'Total Counts for WPGraphQL',
		'slug'     	=> 'total-counts-for-wp-graphql',
		'source'   	=> 'https://github.com/builtbycactus/total-counts-for-wp-graphql/archive/refs/heads/master.zip',
		'required' 	=> true,
	],
	[
		'name'     	=> 'Wp graphql acf',
		'slug'     	=> 'wp-graphql-acf',
		'source'   	=> 'https://github.com/wp-graphql/wp-graphql-acf/archive/refs/heads/develop.zip',
		'required' 	=> true,
	],
];
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://nghiaxchis.gitbook.io/ncmaz-wordpress/theme-installation/install-theme-with-multisite.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
