Hi, @gilbertomagnate! In some hosting like hostinger, cron jobs with special symbols in the syntax will require you to make a bash (.sh) file which would support any form of cron job needed. A cron job that would execute a bash file looks like this: */5 * * * * /bin/sh /path/to/shell/script.sh And tRead more
In some hosting like hostinger, cron jobs with special symbols in the syntax will require you to make a bash (.sh) file which would support any form of cron job needed.
A cron job that would execute a bash file looks like this: */5 * * * * /bin/sh /path/to/shell/script.sh
And the bash.sh files contents should look like this example:
#!/bin/sh/usr/bin/php/home/u234927279/public_html/sendy/scheduled.php > /dev/null 2>&1 cron:run
The first part #!/bin/sh indicates this is a Bash file that will be opened by the cron.
The second part loads the php libraries: /usr/bin/php
The third part is the cron job that otherwise did not work because of the special characters. cron:run executes the cron job inside the file every time the file is opened.
Once you have created the file with your cronjob in it, simply create a simple cronjob that points to the new .sh file.
Hi @kargaelo! First of all, welcome to the community, buddy. I hope you enjoy your stay here. Regarding your question, I think the easiest way to do this is to create a copy of the template files you want to change from the parent theme, in this case the header.php, then make your modifications toRead more
Hi kargaelo! First of all, welcome to the community, buddy. I hope you enjoy your stay here.
Regarding your question, I think the easiest way to do this is to create a copy of the template files you want to change from the parent theme, in this case the header.php, then make your modifications to the copied files. This way you will not be affecting or changing the parent files.
For more info about WordPress child themes, you may refer to this documentation.
Hi @michaelburge, you can use the following CSS code to disable the mobile menu by hiding the burger button. .ast-mobile-menu-buttons { display: none; } Hope that helps. Good luck.
Hi michaelburge, you can use the following CSS code to disable the mobile menu by hiding the burger button.
Hi @michaelburge, this issue should be easily fixed on elementor, if you can't find the settings for it, try to use the CSS code below. .main-header-menu .menu-link, .ast-header-custom-item a { color: #212121; //change the color value accordingly to your liking } Hope that helps. Goodluck
Hi michaelburge, this issue should be easily fixed on elementor, if you can’t find the settings for it, try to use the CSS code below.
.main-header-menu .menu-link, .ast-header-custom-item a {
color: #212121; //change the color value accordingly to your liking
}
You can make use of @media rule of CSS like below. /* Set the background color of body to tan */ body { background-color: tan; } /* On screens that are 992px or less, set the background color to blue */ @media screen and (max-width: 992px) { body { background-color: blue; } } /* On screens that areRead more
You can make use of @media rule of CSS like below.
/* Set the background color of body to tan */
body {
background-color: tan; }
/* On screens that are 992px or less, set the background color to blue */
@media screen and (max-width: 992px) {
body {
background-color: blue; } }
/* On screens that are 600px or less, set the background color to olive */
@media screen and (max-width: 600px) {
body {
background-color: olive; } }
I have experienced the exact same issue with two different plugins on my sites. After updating WooCommerce on my two sites with EU VAT Pro and Subscriptio, both paid plugins which appear to no longer recognized WC 4.4.1 following the database update. Have you found a solution to this? I hope someoneRead more
I have experienced the exact same issue with two different plugins on my sites. After updating WooCommerce on my two sites with EU VAT Pro and Subscriptio, both paid plugins which appear to no longer recognized WC 4.4.1 following the database update. Have you found a solution to this?
Hi @michaelburge, you can do all these in the Appearance >> Menus in your backend. If you don't need the link on the top menu, create a custom link with "#" (pound sign) as the link and name it accordingly. [caption id="attachment_384" align="aligncenter" width="300"] If you don't want it to bRead more
Hi michaelburge, you can do all these in the Appearance >> Menus in your backend. If you don’t need the link on the top menu, create a custom link with “#” (pound sign) as the link and name it accordingly.
If you don’t want it to be an active link use # sign or use URL if you wish to link it to a page or even other websites
Then add the submenus you need.
You can add a page, post or another custom menu as submenu. If you are using WooCommerce, you can add products, product categories and so on.
Once added, just drag it a little bit to the right under the top menu you previously created.
Hi Leanda, For FREE plugins the easy workaround for this is to download the plugin from the repository and manually upload & install it on the backend of your WordPress website. You can follow the video below. Hope this helps.
Hi Leanda,
For FREE plugins the easy workaround for this is to download the plugin from the repository and manually upload & install it on the backend of your WordPress website.
The error means there is something using port 80. Mostly streaming, chat applications use this port. You have to check it on your system whether you are using Mac OS, Linux or Windows. I'm on windows machine and found that it was used by skype. I use the classic one so, I managed to change the defauRead more
The error means there is something using port 80. Mostly streaming, chat applications use this port. You have to check it on your system whether you are using Mac OS, Linux or Windows.
I’m on windows machine and found that it was used by skype. I use the classic one so, I managed to change the default port it’s using.
Hello Abhishek, Please try to install this plugin, it this should give you the numbered pagination that you can customize further. https://wordpress.org/plugins/wp-pagenavi/ Hope this helps.
Hello Abhishek,
Please try to install this plugin, it this should give you the numbered pagination that you can customize further.
How to setup cron job when special characters not allowed by my hosting?
aldinlapinig
Hi, @gilbertomagnate! In some hosting like hostinger, cron jobs with special symbols in the syntax will require you to make a bash (.sh) file which would support any form of cron job needed. A cron job that would execute a bash file looks like this: */5 * * * * /bin/sh /path/to/shell/script.sh And tRead more
Hi, gilbertomagnate!
In some hosting like hostinger, cron jobs with special symbols in the syntax will require you to make a bash (.sh) file which would support any form of cron job needed.
A cron job that would execute a bash file looks like this:
*/5 * * * * /bin/sh /path/to/shell/script.sh
And the bash.sh files contents should look like this example:
#!/bin/sh/usr/bin/php/home/u234927279/public_html/sendy/scheduled.php > /dev/null 2>&1 cron:run
The first part
#!/bin/sh
indicates this is a Bash file that will be opened by the cron.The second part loads the php libraries:
/usr/bin/php
The third part is the cron job that otherwise did not work because of the special characters.
cron:run
executes the cron job inside the file every time the file is opened.Once you have created the file with your cronjob in it, simply create a simple cronjob that points to the new .sh file.
I hope that helps.
See lessHow to add header.php to child theme?
aldinlapinig
Hi @kargaelo! First of all, welcome to the community, buddy. I hope you enjoy your stay here. Regarding your question, I think the easiest way to do this is to create a copy of the template files you want to change from the parent theme, in this case the header.php, then make your modifications toRead more
Hi kargaelo! First of all, welcome to the community, buddy. I hope you enjoy your stay here.
Regarding your question, I think the easiest way to do this is to create a copy of the template files you want to change from the parent theme, in this case the header.php, then make your modifications to the copied files. This way you will not be affecting or changing the parent files.
For more info about WordPress child themes, you may refer to this documentation.
https://developer.wordpress.org/themes/advanced-topics/child-themes/
Hope that helps.
See lessDisable mobile menu in Astra theme
aldinlapinig
Hi @michaelburge, you can use the following CSS code to disable the mobile menu by hiding the burger button. .ast-mobile-menu-buttons { display: none; } Hope that helps. Good luck.
Hi michaelburge, you can use the following CSS code to disable the mobile menu by hiding the burger button.
.ast-mobile-menu-buttons {
display: none;
}
Hope that helps. Good luck.
Mobile menu text color issue
aldinlapinig
Hi @michaelburge, this issue should be easily fixed on elementor, if you can't find the settings for it, try to use the CSS code below. .main-header-menu .menu-link, .ast-header-custom-item a { color: #212121; //change the color value accordingly to your liking } Hope that helps. Goodluck
Hi michaelburge, this issue should be easily fixed on elementor, if you can’t find the settings for it, try to use the CSS code below.
.main-header-menu .menu-link, .ast-header-custom-item a {
color: #212121; //change the color value accordingly to your liking
}
Hope that helps. Goodluck
See lessHow can I make CSS to take effect on mobile phones?
george
You can make use of @media rule of CSS like below. /* Set the background color of body to tan */ body { background-color: tan; } /* On screens that are 992px or less, set the background color to blue */ @media screen and (max-width: 992px) { body { background-color: blue; } } /* On screens that areRead more
You can make use of @media rule of CSS like below.
/* Set the background color of body to tan */
body {
background-color: tan;
}
/* On screens that are 992px or less, set the background color to blue */
@media screen and (max-width: 992px) {
body {
background-color: blue;
}
}
/* On screens that are 600px or less, set the background color to olive */
See less@media screen and (max-width: 600px) {
body {
background-color: olive;
}
}
WooCommerce Subscriptions is inactive error after updating to WooCommerce 4.4.0+
findingSun
I have experienced the exact same issue with two different plugins on my sites. After updating WooCommerce on my two sites with EU VAT Pro and Subscriptio, both paid plugins which appear to no longer recognized WC 4.4.1 following the database update. Have you found a solution to this? I hope someoneRead more
I have experienced the exact same issue with two different plugins on my sites. After updating WooCommerce on my two sites with EU VAT Pro and Subscriptio, both paid plugins which appear to no longer recognized WC 4.4.1 following the database update. Have you found a solution to this?
I hope someone can help me us with the issue.
See lessHow to create a dropdown with sub-menu in Astra? (Beginner)
aldinlapinig
Hi @michaelburge, you can do all these in the Appearance >> Menus in your backend. If you don't need the link on the top menu, create a custom link with "#" (pound sign) as the link and name it accordingly. [caption id="attachment_384" align="aligncenter" width="300"] If you don't want it to bRead more
Hi michaelburge, you can do all these in the Appearance >> Menus in your backend. If you don’t need the link on the top menu, create a custom link with “#” (pound sign) as the link and name it accordingly.
If you don’t want it to be an active link use # sign or use URL if you wish to link it to a page or even other websites
Then add the submenus you need.
You can add a page, post or another custom menu as submenu. If you are using WooCommerce, you can add products, product categories and so on.
Once added, just drag it a little bit to the right under the top menu you previously created.
Click save.
See lessHi, I have experienced an issue with a Free plugin …
aldinlapinig
Hi Leanda, For FREE plugins the easy workaround for this is to download the plugin from the repository and manually upload & install it on the backend of your WordPress website. You can follow the video below. Hope this helps.
Hi Leanda,
For FREE plugins the easy workaround for this is to download the plugin from the repository and manually upload & install it on the backend of your WordPress website.
You can follow the video below.
Hope this helps.
See lessHeads-up! Local’s router is having trouble starting Error on Local …
The error means there is something using port 80. Mostly streaming, chat applications use this port. You have to check it on your system whether you are using Mac OS, Linux or Windows. I'm on windows machine and found that it was used by skype. I use the classic one so, I managed to change the defauRead more
The error means there is something using port 80. Mostly streaming, chat applications use this port. You have to check it on your system whether you are using Mac OS, Linux or Windows.
I’m on windows machine and found that it was used by skype. I use the classic one so, I managed to change the default port it’s using.
See lessHi everyone, How make this pagination styling on Divi Portfolio …
aldinlapinig
Hello Abhishek, Please try to install this plugin, it this should give you the numbered pagination that you can customize further. https://wordpress.org/plugins/wp-pagenavi/ Hope this helps.
Hello Abhishek,
Please try to install this plugin, it this should give you the numbered pagination that you can customize further.
https://wordpress.org/plugins/wp-pagenavi/
Hope this helps.
See less