How to Force Check Updates?

How to Force Check Updates?

Updates are automatically checked every 48 hours. If you do not seem to have received the update notification just yes, you may click on 「Check Again」 button on the Updates page in WordPress backend as shown in the screenshot below –

This method force checks if the updates are available. If you still do not see the update notification, it could be one of the reasons below –

You have not yet validated your purchase key.
Your host is not able to connect with our API server.

If you need help, please get in touch with us, or you can quickly update the plugin manually from the WordPress backend.

How to Increase PHP Time Limit for a WordPress Site?

How to Increase PHP Time Limit for a WordPress Site?

What Is The PHP Time Limit?

The PHP Time Limit is the amount of time that your site will spend on a single operation before timing out. When an operation reaches the time limit set, then it will return a fatal error that looks like this:

Fatal error: Maximum execution time of xx seconds exceeded...

The default value for PHP time limit on most hosts for the PHP Time Limit is 30 seconds. You can increase this limit by following any of the methods mentioned below.

1. Most Recommended: Just Contact Your HostIncreasing the PHP Time Limit is complex and the process that differs from hosts to hosts. So it is always better to get it done from someone who knows it well. So just get in touch with your hosting company and they will be happy to do it for you.

2. Increasing PHP Time Limit via PHP.ini fileMany small shared hosted servers do not allow users to access the PHP.ini file. If you are granted access, you can directly increase the PHP Time limit through this file. If you wish to extend the limit to 300 seconds, you can enter the following line of code or update if it exists already:

max_execution_time = 300;

3. Alternative to editing PHP.ini through wp-config.phpThis is another alternative to the PHP.ini method. Simply add / edit the following line in the wp-config.php of your WordPress

set_time_limit(300);

4. Modifying the .htaccess fileSome of you might have the .htaccess file where you can simply add / edit this line of code to increase the time limit.

max_execution 300

P.S: 300 in the above code samples mean 300 seconds. Feel free to change this to any appropriate number.

How to Renew Yearly License?

How to Renew Yearly License?

Astra offers Annual and Lifetime licenses for various packages. In this article, let』s see how you can renew your annual/yearly license. 

Automatic Renewal Subscription

If you own an annual license for any of the Astra packages, it will be automatically renewed every year on the anniversary of the purchase date.

So with an automatic renewal subscription, you don』t need to take any manual action to renew the license. 

You can check the Renewal Subscription status from your store account under the licenses page. 

But in case, your automatic renewal subscription is not active or you have canceled it, below are the easy steps to renew license. 

Manual Renewal

Step 1: Log in to Store account and visit the Licenses page – https://store.brainstormforce.com/licenses/

Step 2: Click on the 「Renew License」 button and complete the payment process. 

This will extend the validity of your license for another year.

Related Docs –

How Do License Upgrades Work?How to Update your Payment Method?

How to Bulk Edit Astra Meta Settings on Multiple Pages & Posts at Once?

How to Bulk Edit Astra Meta Settings on Multiple Pages & Posts at Once?

Sometimes, one might feel the need to update the Astra Page Meta Settings that are on individual pages / posts at once on multiple pages. For example, one might need to make the pages full width & disable the title if he is switching from another theme to Astra.

Of course, you can do that by going  in the backend of individual pages. But how convenient would it be if the site has large number of pages?

Steps to Bulk Edit Astra Meta Settings –

Install and Activate the Astra Bulk Editor plugin from WordPress RepositorySelect the pages or posts that you need to editClick on Bulk Action -> EditYou will find Astra Meta settings. Astra Bulk Editor plugin added those extra settings.Once done, you can remove this plugin as it has completed after it』s job.

Please keep in mind that, take a backup before using any plugins like Astra Bulk Editor which does large changes on the website to remain safe!

How to Get License Key of Astra Pro?

How to Get License Key of Astra Pro?

The license key (or purchase key) is needed in various instances; like registering the product to receive free updates, logging in to our support center to request support and more.

You can find the key when you log in to our store.

Login to our store and open the Licenses page.

You will see all your license keys information there.

Note: Visit the following article on How to Activate Astra Pro Addon License?

Fix for – The PCLZIP_ERR_BAD_FORMAT (-10) Error

Fix for – The PCLZIP_ERR_BAD_FORMAT (-10) Error

The PCLZIP_ERR_BAD_FORMAT (-10): Unable to find End of Central Dir Record signature error is caused by one of two things as below:

Case 1: There』s a problem with the zip file or its format.

It』s possible that the plugin zip file became corrupted when it was downloaded. Try downloading it from your account on our store and install (or update manually).

Case 2: Server Disk Space Issue

If you still receive the same error while trying to install the zip manually, then it may mean that there』s not enough storage space on your host for WordPress to be able to unzip and upload the contents of the file. To confirm this, try to upload other files to your sites, such as an image, video or other plugin. If you』re not able to upload large files, then storage space is likely the issue.

You can either remove some files (backups or themes & plugin that you』re not using) or contact your web host to increase your storage capacity.

Complete List of WordPress Locale Codes

Complete List of WordPress Locale Codes

Hint – You can CRTL / CMD + F to find your language

Language Name
Language Code
WordPress Locale Code

Afrikaans
af
af

Akan
ak
ak

Albanian
sq
sq

Amharic
am
am

Arabic
ar
ar

Armenian
hy
hy

Aromanian
rup
rup_MK

Assamese
as
as

Azerbaijani
az
az

Azerbaijani (Turkey)
az-tr
az_TR

Bashkir
ba
ba

Basque
eu
eu

Belarusian
bel
bel

Bengali
bn
bn_BD

Bosnian
bs
bs_BA

Bulgarian
bg
bg_BG

Burmese
mya
my_MM

Catalan
ca
ca

Catalan (Balear)
bal
bal

Chinese (China)
zh-cn
zh_CN

Chinese (Hong Kong)
zh-hk
zh_HK

Chinese (Taiwan)
zh-tw
zh_TW

Corsican
co
co

Croatian
hr
hr

Czech
cs
cs_CZ

Danish
da
da_DK

Dhivehi
dv
dv

Dutch
nl
nl_NL

Dutch (Belgium)
nl-be
nl_BE

English
en
en_US

English (Australia)
en-au
en_AU

English (Canada)
en-ca
en_CA

English (UK)
en-gb
en_GB

Esperanto
eo
eo

Estonian
et
et

Faroese
fo
fo

Finnish
fi
fi

French (Belgium)
fr-be
fr_BE

French (France)
fr
fr_FR

Frisian
fy
fy

Fulah
fuc
fuc

Galician
gl
gl_ES

Georgian
ka
ka_GE

German
de
de_DE

German (Switzerland)
de-ch
de_CH

Greek
el
el

Guaraní
gn
gn

Gujarati
gu
gu_IN

Hawaiian
haw
haw_US

Hazaragi
haz
haz

Hebrew
he
he_IL

Hindi
hi
hi_IN

Hungarian
hu
hu_HU

Icelandic
is
is_IS

Ido
ido
ido

Indonesian
id
id_ID

Irish
ga
ga

Italian
it
it_IT

Japanese
ja
ja

Javanese
jv
jv_ID

Kannada
kn
kn

Kazakh
kk
kk

Khmer
km
km

Kinyarwanda
kin
kin

Kirghiz
ky
ky_KY

Korean
ko
ko_KR

Kurdish (Sorani)
ckb
ckb

Lao
lo
lo

Latvian
lv
lv

Limburgish
li
li

Lingala
lin
lin

Lithuanian
lt
lt_LT

Luxembourgish
lb
lb_LU

Macedonian
mk
mk_MK

Malagasy
mg
mg_MG

Malay
ms
ms_MY

Malayalam
ml
ml_IN

Marathi
mr
mr

Mingrelian
xmf
xmf

Mongolian
mn
mn

Montenegrin
me
me_ME

Nepali
ne
ne_NP

Norwegian (Bokmål)
nb
nb_NO

Norwegian (Nynorsk)
nn
nn_NO

Oriya
ory
ory

Ossetic
os
os

Pashto
ps
ps

Persian
fa
fa_IR

Persian (Afghanistan)
fa-af
fa_AF

Polish
pl
pl_PL

Portuguese (Brazil)
pt-br
pt_BR

Portuguese (Portugal)
pt
pt_PT

Punjabi
pa
pa_IN

Rohingya
rhg
rhg

Romanian
ro
ro_RO

Russian
ru
ru_RU

Russian (Ukraine)
ru-ua
ru_UA

Rusyn
rue
rue

Sakha
sah
sah

Sanskrit
sa-in
sa_IN

Sardinian
srd
srd

Scottish Gaelic
gd
gd

Serbian
sr
sr_RS

Sindhi
sd
sd_PK

Sinhala
si
si_LK

Slovak
sk
sk_SK

Slovenian
sl
sl_SI

Somali
so
so_SO

South Azerbaijani
azb
azb

Spanish (Argentina)
es-ar
es_AR

Spanish (Chile)
es-cl
es_CL

Spanish (Colombia)
es-co
es_CO

Spanish (Mexico)
es-mx
es_MX

Spanish (Peru)
es-pe
es_PE

Spanish (Puerto Rico)
es-pr
es_PR

Spanish (Spain)
es
es_ES

Spanish (Venezuela)
es-ve
es_VE

Sundanese
su
su_ID

Swahili
sw
sw

Swedish
sv
sv_SE

Swiss German
gsw
gsw

Tagalog
tl
tl

Tajik
tg
tg

Tamazight (Central Atlas)
tzm
tzm

Tamil
ta
ta_IN

Tamil (Sri Lanka)
ta-lk
ta_LK

Tatar
tt
tt_RU

Telugu
te
te

Thai
th
th

Tibetan
bo
bo

Tigrinya
tir
tir

Turkish
tr
tr_TR

Turkmen
tuk
tuk

Uighur
ug
ug_CN

Ukrainian
uk
uk

Urdu
ur
ur

Uzbek
uz
uz_UZ

Vietnamese
vi
vi

Walloon
wa
wa

Welsh
cy
cy

Yoruba
yor
yor

Original Source.

How to Add Custom Javascript Code in Astra?

How to Add Custom Javascript Code in Astra?

In this article, let』s take a look the ways to custom JavaScript code in Astra theme.

With Insert Headers and Footers Plugin:

Any JavaScript that is unrelated to the theme or design of the website; any code that you will need to have on the website even if you switch the theme — should always be added through a plugin. For example, you will always need the Google Analytics code present on your website regardless of the theme you』re using. But if you add the Google Analytics code in the theme settings now and switch the theme from Astra to something else later, Google Analytics code will no longer function.

So it is a best practice to install JavaScript unrelated to design and theme in it』s own independent plugin. Insert Headers and Footers is a free, popular and lightweight plugin that you can use to add JavaScript code.

With Free Astra Hooks Plugin:

Astra Hooks Plugin allows you to add your Custom Content, Shortcodes and JavaScript code in the various hook locations. Once installed, you will see a new tab in the Customizer.

To add Java script code in the head, use the wp_head locationTo add the code in the footer, use the wp_footer location.

Please visit the plugin page WordPress Repository to download and learn more about this plugin and how it works.

With Custom Layouts module in Astra Pro Addon:

If you have Astra Pro Addon, you don』t need to install another plugin to add JavaScript code.

Enable Custom Layouts Module (screenshot)Create New Post (screenshot)Enable Code Editor and add your code.Replace existing comments and paste your code (screenshot)Set other options as per your needs and save.

For most of the websites, configurations as below works great:

Layout: HooksAction: wp_head or wp_footer depending where you wish to add the codePriority: 10Spacing: 0Display On: Entire WebsiteUser Roles: All

Site Layout Overview

Site Layout Overview

This is a premium feature available with Astra Pro Addon plugin. To use these Pro features, you need to have the Astra theme along with the Astra Pro Addon installed on your website.

Quick Steps to Create Site Layout using the Site Layouts ModuleStep 1: Make sure you have the Astra Pro Addon plugin installed and activated. How to Install Astra Pro Addon plugin?Step 2: Activate the module from the Astra Options under the WordPress Dashboard > Appearance > Astra OptionsStep 3: Visit customizer [ Appearance > Astra Options > Global > Container > Site Layout ] for Site Layout options and settings

You can activate the module from  Appearance > Astra Options > Site Layouts.

With Site Layout module, you can manage the overall layout of the website.

Once you activate the module you can find Site Layout setting under Appearance > Customize > Global > Container > Site Layout

The layout chosen will be applied to the outer wrapper of the site. The default layout will be 「Full Width」. Options available with Site Layout modules are explained in individual articles linked below.

Full-Width LayoutMax Width LayoutPadded LayoutFluid Layout

How to Add a Sticky Header or On-Scroll Fixed Header with Astra?

How to Add a Sticky Header or On-Scroll Fixed Header with Astra?

This is a premium feature available with Astra Pro Addon plugin. To use these Pro features, you need to have the Astra theme along with the Astra Pro Addon installed on your website.

The sticky header will fix the header in the top portion of your webpage when a user scrolls the page. It will allow quick access to the menu from any part of the page.

Note:

We have released Astra 3.0 which introduces the Header/Footer Builder which changes a few things, you can refer to the below video to know more.

Quick Steps on How to Add a Sticky Header or On-scroll Fixed Header with the Sticky Header ModuleStep 1: Make sure you have the Astra Pro Addon plugin installed and activated. How to Install Astra Pro Addon plugin?Step 2: Activate the Sticky Header module from the Astra Options under the WordPress Dashboard > Appearance > Astra OptionsStep 3: Visit customizer [ Appearance > Customize > Header > Sticky Header ] to edit module settings

It is a premium feature available with Astra Pro. You can activate the module from Appearance > Astra Options > Sticky Header

You can find the settings under Appearance > Customize > Header > Sticky Header

Sticky Header Settings

Stick Primary Header option will stick the default theme header. (?)

In case if you have enabled the Header Sections Module from Astra Pro, you will see options to stick the Above and the Below header section.

Enabling Stick Above Header Section or Stick Below Header Section will stick the respective header section to the top of the page scroll.

Sticky Logo and Logo Width

This allows you to choose a different logo for your Sticky Header than your site logo. Leave this empty if you want to use the same logo as your site logo. You can add normal as well as retina logo and can set easily set width with a slider.

If you have activated Colors and Background module from Astra Pro and have set a background color for Header from Appearance > Customize > Header > Sticky Header.

Then this background color will automatically apply to the sticky header. In this case, you can use the Sticky Background Opacity option to manage the opacity of the background color.

Enable Shrink Effect

It will shrink the sticky header height, logo, and menu size. Sticky Header will display in a compact size. It is useful when you have primary header quite large in height and you want it to be smaller when converting to the sticky header.

Select Animation Effect

Animation effect will appear on sticky header entry.

Display On

You can choose to display your sticky header either on desktop or mobile or on both.

Note: By default, the shadow will appear for a sticky header. If you want to remove it use the custom CSS.

.main-header-bar.ast-sticky-active {
box-shadow: unset;
}

Colors & Background for Sticky Header 

In the customizer under Header > Sticky Header all options are available. If you have a sticky primary header, respective options will appear. If Above and Below headers are set as to stick different options for them will appear.