Saad Ahyat Hasan
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: output of a function in BOLDSorry, @sacconi. My Bad. I forgot to add double quotes. The pattern is like this:
"<b>" . $value . "</b>"
So, the right code should be like this:
<div class="prezzo"><form><input type="button" class="prezzo" value="da <?php echo "<b>" . get_post_meta( get_the_ID(), "function_prezzo_minimo", true ) . "</b>"; ?> euro/notte"> </form></div>
I hope it helps.
Forum: Developing with WordPress
In reply to: Payment Form Using Stripe Or PaypalHello @ebiz124
Based on your requirement on creating a form with payment integration, I recommend using WPForms. You can find a step-by-step guide on how to create a payment form in WPForms at this link: https://wpforms.com/docs/how-to-create-a-payment-form-in-wpforms/
I hope this helps.
Forum: Developing with WordPress
In reply to: output of a function in BOLDMaybe you can try add <b> after echo. Something like this.
<div class="prezzo"><form><input type="button" class="prezzo" value="da <?php echo <b> get_post_meta( get_the_ID(), "function_prezzo_minimo", true ) </b>; ?> euro/notte"> </form></div>
I hope this helps.
Forum: Developing with WordPress
In reply to: padding leftHello, @sacconi
Is this what you mean?
input.prezzo { margin-left: 10px; }
And always remember to refresh browser cache after change css code. You can do it by hold Ctrl+F5 if you’re using Windows or by hold Cmd-Shift-R or Shift-Reload if you’re using Mac.
Hope it helps.
Forum: Fixing WordPress
In reply to: Change the color of one button in the menuThere are several ways to add custom css on WordPress. You can read it here: https://www.wpbeginner.com/plugins/how-to-easily-add-custom-css-to-your-wordpress-site/
Hope it helps.
Forum: Fixing WordPress
In reply to: Change the color of one button in the menuHi, @denyskozhushko
Is this what you mean?
.redtext a { color: red !important; }
And always remember to refresh browser cache after change css code. You can do it by hold Ctrl+F5 if you’re using Windows or by hold Cmd-Shift-R or Shift-Reload if you’re using Mac.
Hope it helps.
Forum: Everything else WordPress
In reply to: How to delete a template of a Block ThemeI’m sorry, @buzzlyhan. My bad. For theme development, I have no idea. Never done it before.
Have you check the official documentation?
https://developer.www.ads-software.com/themes/block-themes/templates-and-template-parts/
Forum: Developing with WordPress
In reply to: output of a function in BOLDHello there,
To set the output bold, you can wrap the return value with “<b></b>” syntax before return it. Something like this.
$val = "<b> this is a return value</b>"; return $val;
Forum: Fixing WordPress
In reply to: I forgot my passwordHi @anseungho,
Here’s some options to help you regain access to your WordPress website:
- Email Configuration: It’s possible that your hosting platform doesn’t support a default mail server, which is why you’re not receiving the email. To address this, you can reach out to your hosting provider’s support team to inquire about their email configuration and ensure it’s set up correctly.
- Password Reset via Database: If email configuration isn’t an option, don’t worry! You can still reset your password directly through the database. Follow this helpful guide from One.com to walk you through the steps: Change Your WordPress Password in the Database.
- Starting Fresh: If the above options don’t work or if you’re unable to access the database, starting over with a fresh installation might be the most straightforward solution, especially if your website is brand new. You can reinstall WordPress and begin with a clean slate.
Please be aware that starting over will erase any content you’ve already created on the site. Ensure that you have a backup of your website’s data before proceeding with this option.
Remember, if you need further assistance or have any questions throughout this process, feel free to ask. We’re here to help you get back on track!
Forum: Everything else WordPress
In reply to: How to delete a template of a Block ThemeHi, @buzzlyhan
To delete a WordPress theme, follow these steps:
- Activate a Different Theme: Switch to a different theme from “Appearance” > “Themes.”
- Backup Your Website: Create a backup using a plugin like UpdraftPlus.
- Navigate to Themes: Go to “Appearance” > “Themes.”
- Delete the Theme: Hover over the theme and click “Theme Details.” Then, click “Delete.”
- Confirm the Deletion: Click “OK” to confirm.
Remember to check your website after deleting to ensure everything is working as expected.
If you need further assistance or have questions, feel free to ask.
Hello there,
Thank you for reaching out to us regarding your PDF file deletion request. We understand that you wish to remove a specific PDF file from your WordPress website.
While WordPress provides an intuitive interface for managing your media files, certain tasks like direct file deletion are not directly supported to prevent accidental data loss. However, you can use FTP (File Transfer Protocol) to access and delete your PDF file securely.
Here’s a step-by-step guide on how to do this:
Step 1: Obtain FTP Credentials To access your website files via FTP, you’ll need an FTP client and your FTP credentials. These credentials are usually provided by your web hosting provider. If you don’t have this information, please contact your hosting provider’s support team or refer to their documentation on accessing your website through FTP.
Step 2: Connect to Your Website via FTP Once you have your FTP credentials and an FTP client installed (such as FileZilla, Cyberduck, or WinSCP), launch the client and input the following information:
- Host: Your website’s FTP server address (e.g., https://ftp.yourwebsite.com)
- Username: Your FTP username
- Password: Your FTP password
- Port: Usually, the default FTP port is 21. If it doesn’t work, consult your hosting provider for the correct port number.
Step 3: Navigate to the PDF File After successfully connecting to your website via FTP, you’ll see a list of files and directories on your server. Navigate to the “wp-content” folder and then to “uploads.” Inside the “uploads” directory, locate the folder for the year and month when you uploaded the PDF file (e.g., /wp-content/uploads/2023/07/).
Step 4: Delete the PDF File Once you’ve located the specific folder containing your PDF file, simply right-click on the file and select “Delete” or “Remove.” Confirm the action when prompted.
Important Note: Exercise caution when deleting files via FTP, as the process is irreversible. Ensure you are deleting the correct PDF file and not any essential files for your website’s functionality.
After you’ve successfully deleted the PDF file, the changes will be reflected on your WordPress website, and the file will no longer be accessible.
If you encounter any issues during this process or have further questions, please don’t hesitate to let us know. We are here to assist you!
Forum: Developing with WordPress
In reply to: a left border is not going under the headerIf you are want the header to cover the left area as well, you can try to edit css like this:
#masthead { left: 0; padding-left: 50px; }
Then you can adjust padding-left value as you want to positioning the logo.
Hope this helps.
Forum: Fixing WordPress
In reply to: Server down 521Hello there,
A 521 typically Cloudflare related error that indicates that the web server is unable to establish a secure SSL/TLS connection to the origin server. This can happen due to various reasons, but one common cause is misconfigured SSL settings. To get started, I recommend checking your SSL configuration first. Can you try changing the SSL mode in Cloudflare to Full instead of Full Strict?
If problem is still there after you change your SSL setting on Cloudflare, you may find the following link helpful for troubleshooting:
How to Fix Error 521 with WordPress and Cloudflare
This resource from wpbeginner.com provides a step-by-step guide on resolving the 521 error specifically when using WordPress in conjunction with Cloudflare. It offers additional insights and solutions that might be relevant to your situation. I recommend giving it a read to see if it helps in resolving the issue.
If you have any further questions or need more assistance, feel free to ask. Best of luck with resolving the error!
Forum: Developing with WordPress
In reply to: Remove Featured Header ImageIf you want to remove featured image on that page, you can do it by clear all css code on #page-site-header and left it empty like this:
#page-site-header { }
Hope it helps.
Forum: Fixing WordPress
In reply to: I’m in a loop of errors not getting my website to rank.Hello there,
I’m sorry to hear that you’re facing SEO problems with your gaming niche website. Search Engine Optimization (SEO) is indeed crucial for driving organic traffic and improving your website’s visibility in search engine results. Let me provide you with some insights on both on-page and off-page SEO specific to the gaming niche:
- On-Page SEO: On-page SEO refers to optimizing elements on your website to make it more search engine-friendly. Here are some key factors to focus on:
a. Keyword Research: Identify relevant keywords related to the gaming industry and your specific content. Tools like Google Keyword Planner or SEMrush can be helpful.
b. Quality Content: Create engaging, informative, and original content that caters to your target audience’s interests and needs. High-quality content often leads to higher search rankings.
c. Title Tags and Meta Descriptions: Optimize your title tags and meta descriptions with relevant keywords to attract search engine users to click on your links.
d. URL Structure: Ensure your URLs are concise, descriptive, and include relevant keywords.
e. Image Optimization: Use descriptive alt tags for images to help search engines understand what your images represent.
f. Internal Linking: Link relevant pages within your website to help users navigate and improve the overall website structure.
g. User Experience: Optimize your website’s loading speed, mobile responsiveness, and overall user experience, as these factors influence search engine rankings.
- Off-Page SEO: Off-page SEO involves actions taken outside of your website to improve its visibility. Here are some essential off-page SEO strategies:
a. Backlinks: Focus on acquiring high-quality backlinks from authoritative gaming-related websites. This can be achieved through guest posting, content partnerships, or outreach campaigns.
b. Social Media: Leverage social media platforms to promote your gaming content and engage with your audience. Social signals can indirectly impact your SEO.
c. Influencer Marketing: Collaborate with gaming influencers or bloggers to expand your reach and attract more visitors.
d. Online Communities and Forums: Engage with gaming communities and forums to share your expertise, provide valuable insights, and build your website’s reputation.
e. Content Sharing: Encourage readers to share your content on social media platforms and other websites, which can boost visibility and generate more backlinks.
f. Monitor and Analyze: Regularly track your website’s performance using tools like Google Analytics and Search Console. Analyze data to identify areas for improvement.
Remember, SEO is an ongoing process, and it takes time to see significant results. Be patient and consistent in your efforts. By focusing on both on-page and off-page SEO strategies, you can enhance your website’s visibility, increase organic traffic, and ultimately, improve your gaming niche website’s success. If you have any more specific questions or need further assistance, feel free to ask. Good luck!