> For the complete documentation index, see [llms.txt](https://nghiaxchis.gitbook.io/ncmaz-wordpress/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nghiaxchis.gitbook.io/ncmaz-wordpress/how-to/update-theme.md).

# Update theme?

You can see your website consists of 3 main parts:

1. Plugin **Ncmaz-faust-core**
2. Other 3rd party plugins (Wpgraphql, Faust, ACF, etc.)
3. The frontend site is NextJs project: **Ncmaz-faust**

And you can see in the download package from Themeforest you will get the **ncmaz-faust-core.zip** plugin file, and the **Ncmaz-faust** folder is the NextJs project for the frontend. So you only need to care to update those two things for your website every time you receive a notification that a new update has been released.&#x20;

However, new updates do not always include updates to both of those things. Sometimes in the new update there are only updates about the NextJS project for the frontend (**Ncmaz-faust**), sometimes in the new update there are only updates about the **ncmaz-faust-core** plugin for WordPress. So you need to preview the changelog to know which parts need to be updated, I'll make it clear in the changelog and you'll be able to easily tell.

#### So here's how to update:

1. If you need to update the **ncmaz-faust-core** plugin: \
   Check the **ncmaz-faust-core.zip** plugin file located inside the wp-plugin folder of your download. Then upload it to your WordPress and update replacement for the current Ncmaz-faust-core plugin in your WordPress. :ok\_hand:<br>

   <figure><img src="/files/iLxrww71Zw3jCK38QUpF" alt=""><figcaption></figcaption></figure>

2. If you need to update the NextJs **Ncmaz-faust** project for the frontend site:\
   a. - Check to see if there are any additional **environment variables** in the new update? If so add it to your project settings.\
   b. - If possible, you should test it on localhost to check for sure before deploying to hosting (Use your environment variables, and check [this documentation](/ncmaz-wordpress/gutenbergs/build-a-home-page-with-ncmaz-gutenbergs.md))\
   c. - Then just redeploy to your hosting frontend (please check [this documentation](https://nghiaxchis.gitbook.io/ncmaz-nextjs-headless-cms-wordpres-blog-magazine/getting-started-setup/7-deploying-the-ncmaz-faust)). :clap:<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://nghiaxchis.gitbook.io/ncmaz-wordpress/how-to/update-theme.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
