6.2. Saving The Settings¶
To save the site settings, you can click to the
Publish or the
Update button that also
exists in WordPress’ post and page creation pages.
Fig. 6.1 shows the
Publish button. This button is shown
when creating a new site or when the site’s status is
draft. If the site is already
Update button is shown as it can be seen in
The plugin will crawl only the published sites. If a site is saved as a draft, the plugin will ignore that site.
Additionally, the plugin has a
Quick Save button which can be seen in
Fig. 6.3. This button saves the settings of the plugin
by using AJAX. This square green button is
shown at the bottom right corner of the site settings page. When you click it, it saves the
settings lightning-fast. When you use WordPress’
Publish button, WordPress has to load all
active plugins and themes, as well as their scripts and styles. Moreover, additional actions can
take place, such as making an HTTP request in the background to check for updates. Therefore, it
takes a huge amount of time when it is compared to the time it takes to save a post by using the
quick save button. Hence, it is recommended to save the settings by using the quick save button.
However, sometimes you should use the publish button. For example, when creating a new site, you
should publish the site. Another example is when you import settings by using
Import Settings setting (See: Import Settings). To load all settings into the page,
the page has to be reloaded.
Quick Save button saves the settings, it shows a notification indicating that the
settings are successfully saved, as shown in Fig. 6.4.
You can also hit the
enter key in your keyboard when a form item is active. When you do
that, the plugin will click the quick save button for you. For example, enter a value into an
input and hit enter to quick-save the settings.