Mohd Javed
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: What are the Must-Have plugins in a WP Website?Hi @changeagent,
Welcome to WordPress! It’s great to hear that you’re diving into building your company website. Since you’re looking for essential plugins for security, performance, and compliance, here are some must-have recommendations:
1. Security & Backup- Wordfence Security – Offers firewall protection, malware scanning, and login security.
- UpdraftPlus – A reliable backup solution with cloud storage options like Google Drive and Dropbox.
2. Performance & Speed Optimization
- WP Rocket (premium) or W3 Total Cache (free) – Helps with caching and improves loading times.
- Smush – Optimizes images for better performance without losing quality.
3. SEO (Search Engine Optimization)
- Yoast SEO or Rank Math – Helps with on-page SEO, XML sitemaps, and meta descriptions.
4. Contact Forms
- RegistrationMagic (easy drag-and-drop form builder) or Contact Form 7 (lightweight alternative).
5. GDPR & Cookie Compliance
- Complianz – GDPR/CCPA Cookie Consent – Helps manage cookies and legal compliance.
- Really Simple SSL – Ensures your site runs on HTTPS for security and trust.
Since you’re looking to avoid unnecessary cookies, you might want to configure your analytics tool (e.g., Google Analytics) to use privacy-friendly settings.
Let us know if you need further guidance! ??
Best,
Mohd JavedForum: Fixing WordPress
In reply to: Broken Image in Blog PostsHi Bhumendrapal,
Thank you for reaching out!
It looks like the issue might be with the image URLs on your blog. If the URLs are missing file extensions like
.png
or.jpg
, the browser might not recognize them as images. Here are some steps to troubleshoot and resolve this:- Verify Image URLs: Ensure the image URLs in your blog posts are correct and not broken. You can check this by inspecting the image elements in your browser’s developer tools.
- Check File Permissions: Make sure the file permissions for your image directory (e.g.,
/wp-content/uploads/
) are set correctly. Typically,755
for directories and644
for files work well. - Regenerate Thumbnails: Sometimes, image issues occur due to missing or corrupted thumbnails. You can use a plugin like Regenerate Thumbnails to fix this.
- Featured Image Settings: If you’ve added a featured image but it’s still not displaying, check your theme settings. Some themes require additional configurations to display featured images correctly.
- Caching Plugins: If you’re using a caching plugin, clear the cache to ensure that updated images load properly.
- Check for Conflicts: Disable plugins temporarily to check if any of them are causing the issue. If the images appear, re-enable plugins one by one to identify the conflicting plugin.
- Verify Hosting Setup: Ensure your hosting provider isn’t blocking access to the images. Sometimes, hotlink protection settings can unintentionally block image loading.
Let me know if you need further assistance!
Best regards,
JawedForum: Everything else WordPress
In reply to: Widgets, soundbarHello,
While reviewing the theme demo, I noticed that some wrap
div
elements are missing, leading to structural inconsistencies. For instance, in the page-body, certain sections lack proper wrapping which might cause layout issues like misplaced elements. Please refer to the attached screenshot for a visual representation of the problem.if you could investigate this and add this structure manually in the theme files
Thank you!Forum: Fixing WordPress
In reply to: Someone has Connected a Google Ads that isn’t MineHello @kforchuk,
Thank you for reaching out and sharing the details of your situation. It sounds like you’re dealing with a tricky issue, but I’ll do my best to guide you through it.
Here are a few places where malicious code like AdSense scripts could be hiding, and steps to help you remove it:
- Check the Theme and Plugin Files: Even after reinstalling your theme, check the theme’s files directly, particularly
header.php
,footer.php
, and anyfunctions.php
files for unexpected code. It’s also worth reviewing any active plugins to ensure no scripts have been injected into them. - Database: Sometimes, malicious code can be stored in your database rather than in the theme or plugin files. Check the
wp_options
andwp_posts
tables for any entries containing script tags or suspicious content. - Widgets and Custom HTML: If your site uses widgets, someone might have injected the code into a Custom HTML widget or a text widget in the sidebar, footer, or other widget areas.
- Custom Code Snippets: Since you’ve already checked your code snippets, I would recommend rechecking for any new or unfamiliar entries, especially if you use any plugin that allows for custom code snippets.
- Hidden Files: Since you’ve already deleted the
ads.txt
file, make sure there aren’t other hidden files in your root directory, such as.htaccess
,.user.ini
, or custom.php
files where someone may have embedded scripts. - Security Plugins: If you haven’t already, I highly recommend installing a security plugin like Wordfence or Sucuri. These plugins can scan your files and database for malicious code and provide better insights into security vulnerabilities.
- User Account Permissions: Ensure that no unauthorized user roles have been created or modified. Double-check user roles and permissions to prevent future access.
Since you don’t have a backup from before this incident, cleaning the affected files manually may be the best option. Once you’ve resolved the issue, consider setting up more frequent backups and limiting user access as preventative measures.
Let me know if you need further assistance!
Regards
Mohd JavedForum: Fixing WordPress
In reply to: 503 Error on my siteHi Rashmi,
Thank you for reaching out and sharing your situation. I understand how frustrating encountering 503 errors can be, especially when managing an eCommerce site where performance and SEO are critical. Here’s what I suggest:
- Investigate Server Resources: A 503 error typically indicates that the server is temporarily unavailable or overloaded. You might want to check the server’s resource usage (CPU, RAM) and look into any ongoing maintenance or updates by your hosting provider. Sometimes upgrading your hosting plan or switching to a more robust server environment can solve this.
- Optimize Plugins & Themes: WordPress is indeed powerful for SEO, but sometimes poorly optimized plugins or themes can strain the server. Try deactivating plugins one by one to see if any are causing the issue, or consider switching to a lightweight theme temporarily to diagnose.
- Use a Caching Plugin: Caching can significantly improve site performance and reduce server load, which might help mitigate the frequency of 503 errors. Consider using caching solutions like WP Super Cache or W3 Total Cache.
- Content Delivery Network (CDN): Implementing a CDN like Cloudflare can help distribute the load across servers and ensure faster loading times, potentially alleviating server overload issues.
- Consult with Your Host: It’s always a good idea to reach out to your hosting provider for insights. They might be able to provide you with server logs or advice on how to prevent future occurrences.
Switching to another CMS might offer better performance in certain cases, but as you correctly mentioned, WordPress is well-known for its SEO benefits. By addressing the server and performance issues, you could maintain those SEO advantages while improving site speed.
Let me know if you need further assistance, and good luck with your eCommerce site!
Best,
Mohd JavedForum: Fixing WordPress
In reply to: removing preloaderHi @lemjasmine ,
The preloader feature as part of the theme settings.
To remove the preloader, try the following steps:
- Check the theme settings: Many themes have an option to disable the preloader in their theme options or customization panel. Go to the theme options in your WordPress dashboard and look for the preloader settings. Disable the preloader from there.
- Additional CSS: If you want to ensure the preloader is removed via CSS, try using this more specific selector:
#load.ring-loader {
display: none !important;
}3. Mobile loading issues: Since you’re experiencing slow loading on mobile, here are a few suggestions:
- Optimize images: Ensure that your images are optimized for mobile devices.
- Lazy load images: You can configure WP Rocket to lazy load images and videos on your site, which could improve mobile performance.
- Use a CDN: WP Rocket has an option to use a CDN (Content Delivery Network) that can speed up delivery to mobile users.
- Reduce server response time: You might also want to check with your hosting provider to ensure that your server resources are sufficient to handle the mobile traffic.
Let me know if you need further help!
Best, Mohd JavedHi @lukedouglas ,
The issue you’re describing, where Editors cannot edit pages or posts created by Administrators, is actually a default behavior in WordPress. By design, only users with the Administrator role have the ability to edit all content, including pages or posts created by other Administrators.
However, if you’d like to modify this functionality and allow Editors to edit Administrator-created content, you can use a plugin like Capability Manager Enhanced or User Role Editor. These plugins allow you to customize user roles and capabilities, including granting Editors the permission to edit other users’ content.
Alternatively, you can add custom code using WordPress hooks to modify the capabilities for the Editor role, but for ease and flexibility, I’d recommend starting with one of these plugins.
I hope this helps! Let me know if you have any questions.
Best regard,
Mohd JavedForum: Everything else WordPress
In reply to: MultisiteTo achieve cross-website discount functionality based on user identity and authentication, without using coupons, here are some plugins and approaches you can consider:1. WP OAuth Server (Single Sign-On):
- Description: This plugin allows you to implement OAuth 2.0 authentication across multiple websites. You can set up a Single Sign-On (SSO) environment so that users are authenticated on website A and recognized on website B.
- How it helps: You can authenticate users on your membership website (Website A) and use the same credentials on Website B (your show hosting subdomain) to verify their membership status and apply the discount accordingly.
- Link: WP OAuth Server
2. WP Remote User Sync:
- Description: This plugin helps in syncing users across multiple WordPress sites. When a user registers on one site (Website A), they will automatically be synced on another (Website B).
- How it helps: By syncing user data, you can check their membership or subscription status from Website A and apply discounts on Website B during the checkout process.
- Link: WP Remote User Sync
3. MemberPress:
- Description: This powerful membership plugin lets you manage subscriptions, payments, and access control on your WordPress site. It includes features for restricting content and offering discounts based on user roles or membership levels.
- How it helps: You can restrict discounts to members with specific subscriptions on Website A and extend those privileges to Website B using a custom integration, potentially by sharing user roles across both sites.
- Link: MemberPress
4. WP Fusion:
- Description: WP Fusion connects your WordPress website with a CRM and automates user management across different platforms. It allows you to track user purchases, manage memberships, and apply discounts without relying on coupon codes.
- How it helps: WP Fusion can integrate user data between Website A and Website B, and apply discounts based on user status or tags in your CRM. You can automate discounts for users subscribed to specific memberships.
- Link: WP Fusion
5. Uncanny Automator:
- Description: Uncanny Automator allows you to automate workflows between different plugins and websites. You can use it to create triggers and actions, such as applying discounts based on a user’s membership status.
- How it helps: With Uncanny Automator, you can set up automation rules that verify if a user on Website B has the required subscription from Website A and apply a discount.
- Link: Uncanny Automator
Forum: Everything else WordPress
In reply to: MultisiteHello @klenshop, yes it is possible to give a discount to a user on website ‘A’ while they are filling a form with payment on website ‘B’ using a unique identity without using coupons. You can achieve this by integrating a centralized authentication system across both websites. Here’s a general approach:
- Unique Identity Verification: When the user logs into website A (your membership site), you can assign a unique ID (such as the user’s membership ID or email) that verifies they’ve subscribed to the specific item.
- Cross-Website Discount: On website B (subdomain for the show), you can build a mechanism to check that unique ID against the membership status on website A’s database (via an API or token authentication). If the user has the valid membership status or product subscription, you can automatically apply the discount.
- Authentication: This process can be automated with Single Sign-On (SSO) or OAuth, ensuring that the same identity is authenticated across both websites. When the user accesses website B, their membership status can be validated without the need for manually entering coupons.
- Same Website Approach: If both websites are subdomains under the same parent, sharing sessions or database entries could also work to track user eligibility for discounts.
This approach ensures the discount is applied based on verified user identity and membership status without the use of manual coupon codes.
Forum: Fixing WordPress
In reply to: URL category baseHi sofiahz,
Thanks for reaching out!
It looks like you’re trying to modify your URL structure to include a custom category base like
webiste.com/news/category/postname
, but you’re currently only seeingwebsite.com/category/postname
.To achieve the URL structure you want, you might need to adjust the Category Base and Post Name settings in your WordPress permalinks settings, but it sounds like you’ve already done this.
Here are a few things to check and try:
- Flush Rewrite Rules: Sometimes WordPress needs to refresh its rewrite rules. Go to Settings > Permalinks and click the Save Changes button without making any changes. This will flush the rewrite rules and might fix the issue.
- Custom Permalinks Plugin: If the default settings don’t work, you might want to use a custom permalinks plugin. Plugins like Permalink Manager Lite can give you more control over URL structures.
- Theme and Plugins Conflicts: Since you mentioned using a custom-built theme, ensure that there aren’t any custom functions or theme settings affecting the URL structure. Temporarily switch to a default WordPress theme (like Twenty Twenty-One) to see if the issue persists.
- Check for Caching: If you have any caching plugins or server-side caching, clear the cache to ensure that the changes are reflected.
If you’ve tried these steps and are still having trouble, please let us know, and we can look into it further.
Hope this helps!
Best regards,
Mohd JavedForum: Everything else WordPress
In reply to: Password protection with form onlyHi @pdjp,
Your approach to using CSS to cover the whole page with a password form is quite creative! Here are two solutions you might consider:
- CSS Workaround: Your current method of using CSS to make the password form cover the entire page is a valid workaround. This approach involves setting the form to take up 100% of the screen and placing it on top of other elements, which can effectively mask the content while requiring a password.
- Using RegistrationMagic: For a more integrated solution, you can use the RegistrationMagic plugin. It offers advanced user management and access control features, which can simplify password protection for your pages. Here’s how you can use it:
- Install RegistrationMagic: Install and activate the RegistrationMagic plugin on your WordPress site.
- Create a Registration Form: Use RegistrationMagic to create a registration or login form with a password field. Configure the form to be displayed only for users who are not logged in or do not have the necessary permissions.
- Configure Form Settings: Set up the form to redirect users to the login page if they attempt to access protected content. This ensures that only authorized users can view the page.
- Apply Form to Pages: Insert the form shortcode provided by RegistrationMagic into pages where you want to enforce password protection. Customize the appearance and behavior of the form through the plugin’s settings.
Both methods can be effective depending on your needs. The CSS workaround is quick and straightforward, while RegistrationMagic offers a more robust and integrated solution.
If you have any questions or need further assistance with either approach, feel free to reach out!
Best Regards,
Mohd JavedForum: Everything else WordPress
In reply to: Disabling built-in pdf widget after uploading foreverHi @multigame,
I understand how frustrating it can be when the PDF widget loads every time after uploading a file, especially when you’re dealing with a large number of PDFs.
Unfortunately, there isn’t a built-in option in WordPress to globally disable the PDF preview widget after each upload. However, you can try a couple of workarounds:
- Disable the widget with code: You can add this snippet to your theme’s
functions.php
file to disable the PDF preview widget:
function disable_pdf_preview_widget() {
remove_action('media_buttons', 'pdf_preview_function_name');
}
add_action('admin_init', 'disable_pdf_preview_widget');This will prevent the preview from showing up after every upload.
2. Use a plugin: There are several file management plugins available that provide more customization when dealing with uploaded media. These might allow you to control the PDF preview settings more effectively.
I hope this helps! If you need more assistance, feel free to ask.
Best,
Mohd JavedForum: Fixing WordPress
In reply to: How do you balance site speed with image quality in WordPress?Hi @isleeve ,
I can understand the frustration when changes don’t reflect on the live site, especially after redesigning everything in Elementor. Since you’re confident it’s not a caching issue, here are a few things you can try to fix this:
- Theme Settings: Some WordPress themes come with specific settings that control which pages are displayed as the homepage. Check the theme’s customization settings to ensure the correct homepage is selected.
- Reading Settings: In your WordPress dashboard, go to Settings > Reading and make sure the correct homepage is selected under “Your homepage displays.”
- Hard Caching: Even though you’re almost sure it’s not a caching issue, it’s good to double-check server-side caching solutions like WP Rocket, Cloudflare, or hosting-specific caching mechanisms. Try clearing any object cache or CDN cache as well.
- Elementor Conditions: Ensure that the template you created in Elementor is correctly assigned as the homepage template under Elementor > Settings > Conditions.
- Page Overrides: If you’re using a child theme, verify there aren’t any overrides or custom PHP code that might be preventing the new homepage from showing.
Hopefully, one of these steps helps solve the issue. Let me know if you need more guidance!
Best,
Mohd JavedForum: Fixing WordPress
In reply to: Site editor hangsHi @pietercm,
It sounds like a frustrating situation! From the information you’ve provided, it seems like the issue may indeed be related to the server environment (IIS on Windows 2019). Since you’ve already cleared the cache and confirmed that your site passes most of the Site Health tests, here are a few additional steps you could try:
- Check File Permissions: Ensure that your theme files have the correct file permissions. Sometimes, improper permissions on your server can cause such issues.
- Disable Plugins Temporarily: Try disabling all plugins and see if the issue persists. If the editor works after disabling plugins, re-enable them one by one to identify any potential conflicts.
- Switch to a Default Theme: Try switching to a default theme like Twenty Twenty-Three to check if the issue is specific to the theme you’re using.
- Check for JavaScript Errors: Since you mentioned JQMIGRATE being loaded, open the browser console (F12) and check if there are any errors that may be blocking the editor.
- Update WordPress and Plugins: Ensure that both WordPress core and all installed plugins are up to date. Outdated files can sometimes cause conflicts with newer features like the Site Editor.
If these steps don’t resolve the issue, it might be worth investigating further with your hosting provider or checking if there’s an IIS configuration setting causing the problem.
Hope this helps, and good luck!
Best regards,
Mohd JavedForum: Developing with WordPress
In reply to: Block Theme Pattern RegistrationHi Paul,
Thanks for sharing the details about your issue. It sounds like the pattern registration is working, but the child theme isn’t triggering the pattern refresh immediately in the UI.
This behavior is not typical and shouldn’t require theme switching to make the patterns appear. Here are a few things you could try:
- Clear cache: Sometimes WordPress or your browser may cache the theme files, causing changes not to appear immediately. Try clearing both WordPress and browser caches.
- Check
theme.json
file: Ensure yourtheme.json
(if you have one) includes proper configuration for patterns, as it might influence their visibility in the editor. - Use the
register_block_pattern()
function: If you’re comfortable with some PHP, you can manually register patterns using theregister_block_pattern()
function in your child theme’sfunctions.php
. This ensures patterns are registered every time the theme is activated.
register_block_pattern(
'my-child-theme/my-pattern',
array(
'title' => __( 'My Custom Pattern', 'my-child-theme' ),
'description' => _x( 'A custom pattern for my theme', 'Block pattern description', 'my-child-theme' ),
'content' => '<!-- wp:group --> ... <!-- /wp:group -->',
)
);Theme switching workaround: If the theme switch is consistently working, it could indicate a loading or refresh issue within the child theme. Investigating further may help pinpoint if something in the theme files is delaying the registration.
Hope this helps! Let me know if you need further clarification or assistance.