Home/
aldinlapinig/Answers
- About
- Questions
- Polls
- Answers
- Best Answers
- Asked
- Followed
- Favorites
- Posts
- Comments
- Followers Questions
- Followers Answers
- Followers Posts
- Followers Comments
- Questions
- Polls
- Answers
- Best Answers
- Asked
- Followed
- Favorites
- Posts
- Comments
- Followers Questions
- Followers Answers
- Followers Posts
- Followers Comments
- Questions
- Polls
- Answers
- Best Answers
- Asked
- Followed
- Favorites
- Posts
- Comments
- Followers Questions
- Followers Answers
- Followers Posts
- Followers Comments
- Questions
- Polls
- Answers
- Best Answers
- Asked
- Followed
- Favorites
- Posts
- Comments
- Followers Questions
- Followers Answers
- Followers Posts
- Followers Comments
How to setup cron job when special characters not allowed by my hosting?
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?
Glad to help, @kargaelo.
Glad to help, kargaelo.
See lessHow to add header.php to child theme?
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
Glad to help. Take care.
Glad to help. Take care.
See lessDisable mobile menu in Astra theme
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.
Hi, I have experienced an issue with a Free plugin …
@Mayur, I agree with you 100%. Never ever use Nulled Themes and Plugins - both free and paid. These people are already has questionable agenda by spending time nullyfying these premium WP themes and plugins.
@Mayur, I agree with you 100%. Never ever use Nulled Themes and Plugins – both free and paid. These people are already has questionable agenda by spending time nullyfying these premium WP themes and plugins.
See lessMobile menu text color issue
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 lessWooCommerce Subscriptions is inactive error after updating to WooCommerce 4.4.0+
Hi guys, I have previously experienced this but I forgot if that's on WooCommerce Subscriptions or Subscriptio. Plugin names can get confusing. The way I solved it was to restore the site to the latest version that didn't issue, deactivate any caching plugin and update WooCommerce and its database aRead more
Hi guys,
I have previously experienced this but I forgot if that’s on WooCommerce Subscriptions or Subscriptio. Plugin names can get confusing.
The way I solved it was to restore the site to the latest version that didn’t issue, deactivate any caching plugin and update WooCommerce and its database again.
I hope this helps. Let me know.
See lessHow can I make CSS to take effect on mobile phones?
For your case, you can use the following code directly. @media only screen and (max-width: 768px) { css code here... } Good luck!
For your case, you can use the following code directly.
@media only screen and (max-width: 768px) {
css code here…
}
Good luck!
See lessHow to create a dropdown with sub-menu in Astra? (Beginner)
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 less