Blog

  • Literally the Best Platforms: Showit vs WordPress

    Literally the Best Platforms: Showit vs WordPress

    In the digital age, having a website is essential for businesses, bloggers, and creatives. Two platforms that stand out in the website design landscape are Showit and WordPress. But which one is right for you? This article will provide a detailed comparison to help you make the best choice.

    Showit: An Overview

    Showit Logo

    Showit is a modern, drag-and-drop website builder known for its stunning design capabilities. It’s perfect for those who want to create visually appealing sites without needing to know code.

    WordPress: An Overview

    wordpress logo

    WordPress is a powerful content management system (CMS) that powers over 40% of the web. It’s a go-to platform for bloggers, e-commerce sites, and large businesses.

    Showit vs WordPress: A Comprehensive Comparison

    Feature/AspectShowitWordPress
    Ease of UseUser-friendly, drag-and-drop interface, no coding required.Steeper learning curve, more control, coding knowledge beneficial.
    Design FlexibilityKnown for beautiful, artistic designs, great for creative sites.Endless customization with themes and plugins, versatile.
    SEO CapabilitiesBasic SEO tools, may require additional efforts for advanced SEO.Robust SEO capabilities with plugins like Yoast, preferred by experts.
    Performance and SpeedGenerally good but may vary with design complexity.Known for speed, especially with proper optimization and caching.
    PricingSubscription-based pricing with different tiers.Free to use, costs may arise from hosting, themes, plugins.
    Security MeasuresBuilt-in security features, SSL certificates.Requires regular updates, security plugins for optimal protection.
    Community and SupportOfficial support, community of designers.Extensive community support through forums, blogs, tutorials.
    Integration and PluginsLimited integration options.Thousands of plugins available for various functionalities.
    Mobile ResponsivenessDesigns are mobile-friendly, adapt to different screen sizes.Themes must be chosen carefully for mobile optimization.
    E-commerce CapabilitiesLimited e-commerce options, suitable for small stores.Robust e-commerce capabilities with plugins like WooCommerce.
    Content ManagementSimple content management, best for visual sites.Advanced content management, ideal for blogs and large sites.
    Migration and PortabilityPossible but may require professional help.Easier migration options with various tools and plugins.
    User Reviews and TestimonialsPraised for design and ease of use, criticized for limited functionality.Loved for flexibility and community support, may be complex for beginners.
    ProsBeautiful designs, ease of use.Flexibility, community support.
    ConsLimited functionality, higher cost.Steeper learning curve, potential security risks.

    Conclusion

    Choosing between Showit and WordPress is a significant decision that depends on your specific needs, budget, and skills. Both platforms offer unique features and benefits, and understanding them will help you make the best choice for your website.

    Frequently Asked Questions​

    Showit is a visual website builder known for its artistic designs and ease of use, especially for beginners. WordPress is a robust content management system (CMS) offering extensive customization and functionality. While Showit focuses on visual appeal, WordPress provides more control and versatility.

    Showit is generally considered more beginner-friendly due to its drag-and-drop interface and no coding requirement. WordPress, while offering more control and flexibility, may have a steeper learning curve for those new to website development.

    Showit operates on a subscription-based pricing model with different tiers, while WordPress itself is free to use. However, costs may arise in WordPress from hosting, themes, plugins, and other additional features.

    Migration between Showit and WordPress is possible but may require professional assistance or specific tools, depending on the complexity of the site.

    Showit offers basic SEO tools but may require additional efforts for advanced optimization. WordPress, on the other hand, has robust SEO capabilities, especially with plugins like Yoast, making it a preferred choice for SEO professionals.

    For e-commerce, WordPress typically offers more robust capabilities, especially with plugins like WooCommerce. Showit has limited e-commerce options, making it more suitable for small stores or simple selling functionalities.

    Showit offers built-in security features and SSL certificates. WordPress requires regular updates and may need additional security plugins for optimal protection. Both platforms prioritize security, but the measures may vary.

    Both Showit and WordPress offer customization options. Showit focuses on visual design with a user-friendly interface, while WordPress offers endless customization through themes, plugins, and coding.

    Showit offers official support and has a community of designers for assistance. WordPress has extensive community support through forums, blogs, tutorials, and a vast network of developers and users.

    Choosing between Showit and WordPress depends on your specific needs, preferences, budget, and skills. Showit is ideal for visually stunning, artistic sites, while WordPress provides more functionality and control. Consider factors like design, functionality, SEO, pricing, and support to make the best choice for your website.

  • Steps to fix hacked WordPress website

    Steps to fix hacked WordPress website

    Is your WordPress site hacked? Don’t panic! I’ll guide you through the steps to fix a hacked WordPress website in this article.

    First, understand that WordPress is secure. However, hacking is still possible. Various reasons could explain why your site was hacked.

    We’ve assisted many website owners over the past years. We’ve helped them recover hacked sites and remove malicious code.

    WordPress powers 43.1% of all websites on the internet. That makes it a tempting target for hackers.

    Forbes published a report with a startling fact. Almost 30,000 websites get hacked daily. Seeing your website hacked is stressful.

    A hacked site damages your reputation. It affects your customers and Google rankings. Therefore, fixing it quickly is crucial to avoid impacting your business.

    Things to know before we start

    No website is 100% secure. Hundreds of vulnerabilities are found daily. Hackers can exploit these to hack sites. It’s not always the WordPress core files at fault.

    The PHP version on your server may be the issue. It could be anything. So, use the latest versions of both the CMS and PHP.

    Google and some browsers may warn visitors about hacked sites. This warning harms your website’s reputation. Hacked websites often contain or point to inappropriate content.

    Website security must be a top priority if you run an online business. It’s vital to pick a reputable hosting company.

    Good hosting companies update their servers and scan hosted sites regularly. We’ve used LiquidWeb for years without compromise. Regular backups are also essential; ask your host for auto-backup.

    You can use online scanners like Sucuri to check for hacks. We’ve used this site to scan client websites for malicious code.

    About 40% of websites get hacked through server vulnerabilities. Good hosting, regular backups, and scanning are essential for security.

    But if you’re reading this, your site might be hacked. Or you want to secure your WordPress website.

    How to identify if a WordPress website is Hacked?

    Using View Source

    Open your website in a browser. Right-click and select “View Page Source.” Look for unfamiliar website links. Search for anything you didn’t add to your pages.

    You might find HTML iframe codes. Words like Viagra or Cialis could appear on the pages. You may not see these words or links upfront.

    Hackers often hide these with CSS. They set the properties to ‘hidden’ or ‘none.’ The page loads these hidden elements, but users don’t see them.

    When Google crawls your website’s pages, it may mark the site as spam or hacked. This occurs because of these hidden elements.


    Redirections

    If you see that your website gets redirected to any different pharma, porn or weird websites, then it is a confirmation that the site has been hacked.

    Keyword Autolink

    Some hackers insert scripts into the WordPress site which auto links the words in your website to some other websites.

    Crashing and Freezing

    Upon visiting, the site loads slowly, crash and freezes. The reason behind this is the script that has been added to the site by the hacker.

    Unnecessary Popups and Windows

    Popups, alerts and new windows to different porn or objectionable URLs open when the site is visited.

    Notices and Alert from Hosting Provider

    Most of the hosting providers send you emails and alerts if any files get infected by malicious code or scripts. If you are using shared hosting, then other sites in the host generally get affected in such situations.

    So, these are some of the techniques to find out if a website is hacked. Now let me tell you how you can fix the hacked WordPress website.

    If you want your things to get done quickly without wasting a single minute, then you can hire a professional to fix the site for you.

    Hire website security Professional

    If you’re a skilled web security professional, you can handle this. Not a coder or comfortable with servers? Then hiring a WordPress Security Expert is recommended.

    An expert can investigate the cause. They can find infected files, remove malicious code, and restore the website.

    Hackers often inject malicious code into many files. Every file on the server must be scanned and checked precisely. Even one hacked file can ruin the site again.

    As said, we have been fixing and cleaning up Malware from WordPress websites for years; so you may consider us to help you with securing your WordPress website. We charge between $99-$199 depending upon the severity.

    Well, this is a secondary option. Let me first guide you the steps to remove Malware and clean up your hacked WordPress website.

    Okay, let’s begin.

    Step 1: Scan the computer which connects to the server

    Before you start any fixes to the website, the first and foremost thing is to scan your computer, which gets connected to the server via FTP. If your computer is affected by Malware, virus and Trojans, the FTP details get stolen by the hackers. I would recommend you to use a reputed anti-virus and then connect to the server.

    Step 2: Change all the passwords

    After scanning your website, you should change the usernames and passwords of FTP, WordPress Admin area login details and hosting details. Use a strong password for all the three. You can also use a strong password generator and keep the password safe.

    Step 3: Contact the Hosting Provider

    If you are using a shared server, then ask your host to check if other sites in the host are affected. Most of the hosting providers are helpful and scan the entire server to remove the Malware and update the security settings of your files.

    We had a horrible experience with our last hosting provider which hosted our site on a shared server and didn’t bother to update the server or remove Malware, so we moved our site to a VPS after cleaning the site. You may change your host or your hosting plan. Now follow the next step if your host isn’t helpful.

    Step 4: Restore from Backup

    If you regularly backup your WordPress website, then you won’t have any issues in deleting all the hacked files and replacing those with the backup files. Don’t delete the database as you might lose the changes you have done to the posts or pages. If you don’t have a backup, then follow the next step.

    Step 5: Download WordPress from Official Website

    If you don’t have a backup, then the last thing to do is downloading the version of WordPress that your website is using from the official website and UNZIP it to a folder.

    Step 6: Remove Infected files

    Now that you have cleaned your computer and extracted the WordPress files from the official site, you can now login to your website using FTP or web-based file manager and go to the folder where you have installed your WordPress and delete all the files except wp-config.php and the wp-content folder.

    Check the wp-config.php file and other files inside the wp-content folder properly and make sure that the file doesn’t contain any malicious code. Remove additional files with weird names. You can search for a PHP function base64(); which is used by the hackers to encrypt the data. Try to remove those codes. You can also use an online base64 decoder to check and verify the encrypted infected codes.

    For example, you see some data like this PGEgaHJlZj0iaHR0cHM6Ly93d3cuaW5meXdheXMuY29tIj5JbmZ5d2F5czwvYT4 . Copy the encoded contents and decode it. The decoding code shows you the following:

    <a href="https://data.infyways.com/new">Infyways</a>

    Check all the folders inside the wp-content thoroughly. You can also remove the WordPress plugins folder and the themes which you aren’t using. If you have a clean backup of your active theme, then you can delete all the themes. Plugins can be installed later once you complete the process.

    Step 7: Re-Upload Core WordPress Files

    If you have checked all the files which are there in the server, the next step is uploading the extracted WordPress files (Step 5) into the server through FTP.

    Step 8: Update the site and files

    Once you re-upload the core files, you can now login to the backend and install all the missing plugins and themes. Activate the theme and plugins. Your site is ready now, but it is still not secured. Follow the next step and make the site secured.

    Step 9: Securing a WordPress Website

    • Download all the plugins from the official repository of WordPress.
    • Don’t’ use nulled theme or plugins. All nulled files have malicious or infected codes inside them.
    • Set the folder permission to 755 and files to 644. Avoid chmod permission 777
    • Check the list of users and see if it contains any new user with admin access. An admin has access to change the theme files directly in the wp-admin or WordPress Dashboard.
    • You can set up a firewall monitoring system by installing plugins such as Acunetix or Sucuri. These security plugins enhance security and block the attack on the website.
    • Disable file edits in the backend.
    • Limit the login attempts in the backed. This can be done by installing a plugin called Limit Login Attempts

    Step 10: Remove Google Malware Warning

    Site Harmful Browser Screenshot

    Removing Malware warning is the last step which has to be done once your site is free from malware infection. You can submit the website to Google for review once again in order to remove the warning “This site may harm your computer”. The warning can be removed using the Google Webmaster Tools.

    Conclusion

    Never use nulled WordPress themes or plugins and keep your WordPress, themes and plugins updated. If you don’t, the website may get hacked and ultimately lose rank on SERPs. The recent Google algorithm impacts the hacked or spam website. So, keeping your website secured should be your utmost priority.

    I hope the guide must have helped you to fix hacked WordPress website. If you are still facing issues, then feel free to contact us. We are happy to help you any time.

    Frequently Asked Questions​

    When your WordPress site is hacked, you can follow these steps: Scan your computer for malware, change all your passwords (FTP, WordPress admin, and hosting), contact your hosting provider, restore your website from a backup if available, remove infected files, re-upload core WordPress files, update your site and files, and secure your WordPress website. Lastly, remove the Google malware warning.

    Yes, a hacked website can be restored. If you have a clean backup of your website, you can delete all the hacked files and replace them with the backup files. If you don’t have a backup, you can manually clean the infected files, re-upload the core WordPress files, and update your site.

    WordPress websites can be hacked due to various reasons such as weak passwords, out-of-date software, plugin and theme backdoors, vulnerable file permissions, and insecure hosting providers. Hackers often target WordPress due to its popularity.

    To remove a virus from WordPress, you need to scan your website for malware, remove the infected files, and re-upload the clean files. You can use various security plugins available for WordPress to scan and remove the malware.

    You can secure your WordPress website by using strong passwords, keeping your WordPress, themes, and plugins updated, using trusted themes and plugins, limiting login attempts, implementing SSL encryption, and installing a web application firewall.

    Signs that your WordPress website has been hacked include unexpected redirects, spammy on-site content, warnings from Google or web host, unexplained accessibility issues, and website behaving strangely.

    If you can’t fix your hacked WordPress site on your own, you should contact a professional WordPress security service. They have the expertise to clean your website and secure it from future attacks.

    To prevent your WordPress website from being hacked in the future, ensure your passwords are secure, keep everything updated, use trusted themes and plugins, delete unused plugins and themes, protect your website from malware, and find a reputable hosting company.

    A nulled theme or plugin is a premium theme or plugin that has been cracked and made available for free illegally. You should avoid it because it often contains malicious or infected codes that can harm your website.

    Once your site is free from malware infection, you can submit your website to Google for review to remove the warning “This site may harm your computer”. You can do this using Google Webmaster Tools.

  • Disable cookies for Visitors in Joomla Websites

    Disable cookies for Visitors in Joomla Websites

    In the world of the internet, it’s important to keep a balance between making your website easy to use and keeping your users’ information private. Cookies, which are small pieces of information that a website stores on your computer, can help make a website better. But turning them off can also protect your privacy and make your website load faster.

    What Are Cookies?

    Cookies are like digital breadcrumbs that you leave behind when you visit a website. They have different jobs. Some cookies help you move around a website easily, while others remember what you like. Knowing what types of cookies your Joomla website uses can help you decide which ones to turn off.

    Laws About Privacy

    There are laws like the General Data Protection Regulation (GDPR) and the California Consumer Privacy Act (CCPA) that control how websites can use cookies. It’s important to get permission from your users before you use cookies. We’ll talk about these laws and how to make sure your website follows them.

    Why Turn Off Cookies?

    Even though cookies can make a website easier to use, they can also raise concerns about privacy. Turning off cookies gives users more control over their information and stops unwanted tracking. Plus, getting rid of unnecessary cookies can make your website load faster, which makes for a better user experience.

    How to Disable Cookies in Joomla: A Step-by-Step Guide

    Now let’s get to the practical part: how to turn off cookies in Joomla. Here are the steps to protect your users’ privacy and make your website work better:

    1. Figure out which cookies your website needs and which ones you can turn off without causing problems.
    2. Find out what cookies your Joomla website is currently using and what they do.
    3. Learn how to turn off cookies in the Global Configuration settings in Joomla.
    4. Find out how to turn off cookies in specific Joomla extensions or plugins.

    Other Ways to Manage Cookies

    You might not want to turn off all cookies. Joomla has other ways to manage cookies that let you balance between making your website easy to use and protecting privacy:

    1. Use cookie management extensions in Joomla: These tools give you more control over which cookies are allowed, so you can customize the user experience.
    2. Use cookie banners and consent tools: These tools let your visitors decide how their information is used.
    3. Learn advanced cookie control techniques: These methods let you turn on cookies based on what your users prefer.

    Testing and Making Sure Cookies Are Turned Off

    After you turn off cookies, it’s important to test your website to make sure it still works properly. You should also monitor how your website behaves and how users experience it to make sure turning off cookies is improving privacy and performance.

    Here are some methods to ensure your cookie disabling measures are effective:

    1. Testing cookie functionality: Perform thorough testing to ensure that cookies are properly disabled and that your website remains fully functional.
    2. Verifying effectiveness: Monitor website behavior and user experience to confirm that the disabling measures are improving privacy and enhancing performance.

    Best Practices for Managing Cookies

    To manage cookies effectively and provide a great user experience, follow these best practices:

    1. Regularly review and update your cookie policies: Stay up-to-date with privacy regulations and regularly review and update your cookie policies accordingly.
    2. Educate your website visitors about cookie usage and privacy practices: Provide clear information to visitors, explaining how cookies are used and the privacy practices you follow.
    3. Implement user-friendly opt-out mechanisms: Offer easy ways for visitors to control their cookie preferences.

    Common Questions

    A. Will turning off cookies affect how my website works?
    Turning off cookies might affect some features of your website. But with careful planning, you can minimize any negative effects.

    B. How will turning off cookies affect the user experience?
    Without cookies, some personalized features might not work as well. But you can use other solutions and communicate effectively with your users to lessen these effects.

    C. Are there any exceptions to turning off cookies?
    Some cookies, like those needed for essential website functions or legal compliance, might need to be kept on. You should evaluate these exceptions on a case-by-case basis.

    Conclusion: Balancing Privacy and User Experience

    Turning off cookies in Joomla is an important step toward protecting user privacy and providing a great user experience. By assessing the need for cookies, following the step-by-step guide, and using alternative ways to manage cookies, you can respect privacy laws while still providing a smooth website experience.

  • A Complete Guide to Improving WordPress Tag Clouds

    A Complete Guide to Improving WordPress Tag Clouds

    When you visit a website, you often see a bunch of words or tags grouped together, right?
    These are called tag clouds. They help you find the most popular topics on the website and make it easy for you to explore different content. But sometimes, the tag clouds in WordPress, a popular website-making tool, aren’t very good.
    Don’t worry, though! This guide will teach you how to make better tag clouds that will make your website visitors happy.

    What Are Tag Clouds?

    Tag clouds are like signposts on a website. They help you navigate through all the content available. The more a tag is used, the bigger or brighter it appears in the tag cloud. This way, visitors can easily find and explore topics they’re interested in.

    Think of your website as a huge library, and the tag cloud as the index. Just by looking at the tag cloud, users can find popular topics and dive into the content they like. Tag clouds give your audience the freedom to explore without feeling lost.

    What Makes Up a Tag Cloud?

    A tag cloud is made up of tags, which are clickable links. They are displayed in different sizes or colors based on how important they are. The size or color shows how often the tags are used, helping users explore content easily.

    Why Good Tag Cloud Design Matters

    Organizing Tags

    To make a better tag cloud, you need to sort your tags properly. Group them based on topics or how related they are. This will make your tag cloud easier to use.

    Making Tag Clouds User-Friendly

    The best websites focus on user experience. When you design your tag cloud, make sure it’s easy to use on all devices and screen sizes. This way, everyone can have a great experience, no matter what device they use.

    Making Tag Clouds Look Good

    A good-looking tag cloud can make users want to explore more. Try using cool fonts, bright colors, and nice layouts. This will make users want to click on the tag cloud and explore your content.

    How to Build Better WordPress Tag Clouds

    Picking the Right Plugin

    WordPress has many tag cloud plugins. Choose one that helps you reach your goals and lets you customize your tag cloud. Plugins like “Tag Cloud Magic” or Cool Tag Cloud let you control how your tag cloud looks and works.

    Adjusting Tag Cloud Settings

    Changing the tag cloud settings can help it match your website’s look and goals. You can change things like font size, color scheme, and how many tags are shown to make your tag cloud look good and easy to use.

    Making Tag Clouds Work on All Devices

    More people are using their phones to browse the web. So, it’s important to make sure your tag cloud looks good on all devices. Use responsive design techniques to make tag clouds that work well on different screen sizes.

    Adding Fun Visuals

    Tag clouds don’t have to be boring. Add fun visuals like icons, pictures, or custom images as tags. This will make your tag cloud more interesting and inviting.

    Best Practices for Tag Clouds

    Creating a Good Tag Structure

    A well-organized tag cloud needs a good tag structure. Look at your content and find common themes or categories. Create a logical structure that helps users navigate.

    Grouping Tags

    Tags work even better when they’re grouped into categories. For example, if you have a food blog, you could create categories like “desserts,” “main courses,” or “vegetarian.” This helps users find specific content easily.

    Being Consistent and Avoiding Duplicate Tags

    Make sure you use tags consistently across your content. Don’t use synonyms or similar terms as separate tags. This makes it easier for users to find what they’re looking for.

    Updating Tags

    Over time, you might end up with tags that you don’t use anymore. Regularly check your tag cloud and remove or combine tags that are too similar. This keeps your tag cloud up-to-date and accurate.

    Advanced Tips for Improving Tag Clouds

    Using SEO

    SEO, or Search Engine Optimization, helps your website show up in search results. Use relevant keywords in your tags and their descriptions to improve your website’s visibility. A well-optimized tag cloud can help your SEO efforts.

    Using Plugins for Customization and Optimization

    Plugins can be really helpful for customizing and optimizing your tag cloud. Try plugins like “Tag Manager” or “Custom Taxonomies Menu Widget” to unlock more customization options and improve user experience.

    Using Widgets

    Widgets let you show your tag cloud in different places on your website. Try putting the tag cloud in easy-to-find areas, like the sidebar or footer. This encourages users to engage and explore.

    Linking Tag Clouds to Related Content

    Link your tag cloud to related content on your website. When users click on a tag, take them to a page that shows related articles or posts. This encourages users to explore more and stay on your site longer.

    Making Tag Clouds More Interactive

    Adding Filtering and Sorting Options

    Let users filter or sort tags based on what they want. Add options like alphabetical sorting, popularity sorting, or category filtering. This lets users customize their exploration experience.

    Adding a Search Feature

    Make it easier for users by adding a search feature to your tag cloud. This lets users search for specific tags and find relevant content quickly.

    Using Tooltips

    Tooltips give users more information about tags. When users hover over a tag, show a tooltip with a brief description or related stats. This makes the user experience better and encourages users to engage more.

    Adding Animations

    Animations can make a lasting impression. Consider adding subtle animations or hover effects to your tag cloud. These small interactions make your tag cloud more fun and interesting.

    How to Measure Tag Cloud Performance

    Analyzing User Interactions

    Use tools like Google Analytics to track how users interact with your tag cloud. Look at things like how often users click on tags, how long they spend exploring tags, and which tags get the most clicks. This can help you understand user engagement and make improvements.

    Tracking Click-through Rates

    Find out which tags are popular by tracking how often they’re clicked. Use this data to make popular tags more noticeable. This attracts user attention and encourages them to explore more.

    Using Analytics Tools

    Use analytics tools designed for tag clouds, like “Tag Cloud Analyzer” or “Tag Manager Analytics.” These tools give you detailed insights into how your tag cloud is performing and how users are interacting with it.

    Conclusion

    Improving WordPress tag clouds is a journey. By understanding what tag clouds are, using best practices, and trying out advanced techniques, you can make your tag cloud a powerful tool that makes your website visitors happy.

  • Disable Joomla extension update notification?

    Disable Joomla extension update notification?

    To maintain the Joomla security and functionality of websites, it’s crucial to regularly update both the site and the third-party extensions used. Regular updates address a variety of issues, including enhancing functionality features, upgrading PHP functions, and ensuring compatibility with the latest Joomla versions.

    However, some website owners hesitate to update extensions. This could be due to modifications they’ve made to the extension’s core files, which they fear might be overwritten, or they may be reluctant to purchase the commercial extension after the license expires. As a result, they frequently encounter a red notification upon logging into the Joomla backend.

    To disable the update notification for specific extensions in the backend for Joomla 4.x.x, follow these simple steps:

    Step 1: Log in to the backend of your Joomla website using the Super admin login details.

    Step 2: Navigate to the System Menu > Update > Update Sites.

    update sites

    Step 3: On the Update Sites page, you’ll find a list of Update Sites with an XML link below each. Select the extension for which you want to disable the update notification.

    update sites manager

    Step 4: Select the extension(s) and click on the disable button. To clear the Joomla cache, go to the System menu > Clear Cache.

    By following these steps, you can manage your Joomla upgrade issues more effectively, ensuring a smoother and more secure user experience.

  • Add Custom Attributes Dropdown to WooCommerce Product Page

    Add Custom Attributes Dropdown to WooCommerce Product Page

    WooCommerce product attributes let you define extra product data, such as size or colour to help customers know more about the product. The default Woocommerce template does have the features to display it in the additional information section but if you are looking to show it just above the cart button then you can use the WooCommerce hook woocommerce_before_add_to_cart_button. This is the best way to show custom product attributes on the shop page programmatically.

    Display Custom Products Attributes Dropdown

    The following code will work only for simple product or if you are using WooCommerce lottery. To show a list, select or a dropdown for all the custom attributes in the frontend just above the cart button you can add the code to functions.php file of the current theme you are using.

    add_action('woocommerce_before_add_to_cart_button', 'custom_product_attributes');
    
    function custom_product_attributes() {
    global $product;
    $attributes = $product->get_attributes();
    if ( ! $attributes ) {
    return;
    }
    if ($product->is_type( 'variable' )) {
    return;
    }
    echo '<div class="wc-prod-attributes"><h2>Custom Attributes</h2>';
    foreach ( $attributes as $attribute ) {
    $attribute_data = $attribute->get_data();
    $attribute_terms = $attribute_data['options'];
    $label = $attribute_data['name'];
    ?>
    <div class="wc-prod-single-attribute">
    <h3><?php echo $label; ?></h3>
    <select class="wc-custom-select-attribute" name="attribute[<?php echo $attribute_data['id']; ?>]" id="attribute[<?php echo $attribute_data['id']; ?>]">
                    <option value selected>Choose an option</option>
                    <?php foreach ( $attribute_terms as $pa ): ?>
                        <option value="<?php echo $pa; ?>"><?php echo $pa; ?></option>
                    <?php endforeach; ?>
                </select>
    </div>
    <?php
    }
    echo '</div>';
    }
    ?>

    Note: Don’t place the code in the woocommerce plugin folder. It is always advised to place the above code in functions.php of the theme you are using so that the files don’t overwrite when you update WooCommerce plugin.

    Adding Custom Attribute to the Backend

    We are using lottery plugin and wanted to show a custom attribute in the frontend. To add a custom attribute, click on the Attributes Tab. Select Custom product attribute and enter the name and the values. The dropdown values have to be separated by | as per the screenshot.

    Add Custom Attributes Dropdown to WooCommerce

    Custom Attribute Select Display

    As you can see the list shows all the options that we have added in the backend of the particular product. You can add any number of values in the backend which is shown as an option in the frontend.

    select list woocommerce custom attribute

    Conclusion

    Using Custom Attributes at the right place in the product page will definitely help the customers in taking the right decision while purchasing the products. If you have any questions or face issues with the implementation of custom product attributes into your woocommerce page, then feel free to contact us. We will get back to you as soon as possible

  • Caching in Joomla: An Essential Tool for Accelerating Your Website Speed

    Caching in Joomla: An Essential Tool for Accelerating Your Website Speed

    Hello Joomla enthusiasts! Today, we’re going to delve into the world of caching and its crucial role in Joomla. You might be wondering: What is caching and why is it so important? Let’s embark on this journey together!

    Introduction to Joomla Cache

    Caching, in the simplest terms, is a process that stores a version of your website content to deliver it quickly to the visitors without needing to generate it from scratch every time. The necessity of caching arises from its ability to significantly enhance website speed, thus, improving user experience and Joomla SEO ranking.

    Joomla presents you with a variety of caching options: Page Caching, Conservative Caching, and Progressive Caching. Each type caters to different needs and situations, ensuring that your Joomla website functions optimally at all times.

    Cache Settings in Joomla

    To access the cache settings in Joomla, head over to System > Global Configuration > System Tab. In the Cache Section you will find 3 System Cache options:

    cache settings joomla

    • Caching Disabled: As the name suggests, no caching happens when this option is selected.
    • Conservative Caching: This option caches the content for each visitor separately.
    • Progressive Caching: This more aggressive form of caching stores the same content for all visitors, making it especially beneficial for websites with mostly static content.

    Cache Handler

    Under the cache settings, there’s another crucial setting you need to know about – the Cache Handler. This option determines how Joomla stores the cached content. The two common cache systems are the ‘File’ and ‘Memcached’, each having their unique benefits.

    Cache Time

    The Cache Time is another significant factor that determines the lifespan of cached content. It’s essential to set the cache time based on the dynamics of your website. For instance, a news website may require a shorter cache time due to frequent content updates.

    Page Cache

    enable system page cache joomla 4

    Enabling the page cache in Joomla is straightforward. Go to Extensions > Plugins, then search for “System – Page Cache” and enable it. It is a type of caching that saves an entire page’s HTML, significantly reducing server load.

    Browser Caching

    Browser caching takes caching a step further by storing static files (like CSS, JavaScript, and images) of your website in the visitors’ browsers. This reduces server load and increases the speed for returning visitors.

    To enable it, simply navigate to

    Extensions > Plugins, find “System – Page Cache”, and enable “Use Browser Caching”.

    system page cache

    Browser caching can bring remarkable improvements in your website’s loading speed and enhance user experience manifold. Check out our guide on how to enable, disable, and clear cache in Joomla for detailed instructions.

    Frequently Asked Questions​

    To clear the cache in Joomla 4, follow these steps:

    1. Navigate to the Joomla Administrator Panel.
    2. From the ‘System’ menu, choose ‘Clear Cache’.
    3. Choose the items you want to clear by checking their boxes or simply click ‘Check All’.
    4. Click ‘Delete All’ button on the toolbar to clear the selected cache files.

    Joomla caching improves the website’s performance by storing a copy of your webpage after the first load. This cached version is then served to subsequent visitors, reducing the load on the server and providing a faster user experience. When a page is updated, the cache refreshes to reflect these changes. The check-in cache process ensures that the latest version of the page is always displayed to your visitors.

    To disable caching in Joomla, follow these steps:

    1. Log in to the Joomla Administrator Panel.
    2. Navigate to ‘System’ -> ‘Global Configuration’.
    3. On the ‘System’ tab, find the ‘Cache Settings’ section.
    4. Set the ‘Cache’ option to ‘OFF – Caching Disabled’.
    5. Save your changes.

    To clear the Joomla cache manually, you can do the following:

    1. Access your website’s file system either through FTP or your web host’s file manager.
    2. Go to the ‘cache’ folder, which is usually located in the root directory of your Joomla installation.
    3. Delete all the files and folders inside the ‘cache’ folder. Do not delete the ‘cache’ folder itself.

    The cache time in Joomla refers to the duration for which the system stores the cached copy of your webpage. After this period, the cached version of the page will be discarded, and a fresh version will be created. The default cache time in Joomla is 15 minutes, but this can be adjusted to suit the dynamics of your website. You can find and adjust the cache time in the ‘System’ tab of the ‘Global Configuration’ settings.

    Conclusion

    Caching in Joomla is not just a feature but a necessity for every website aiming for top performance and superior user experience. Whether you’re using Page Caching, Conservative Caching, or Progressive Caching, remember that every type has its unique advantages that can be utilized based on your website’s needs.

    Alternately you can use some thrid party cache plugins from Joomla Extensions Directory

  • How to Upgrade Joomla Using cPanel: A Comprehensive Guide

    How to Upgrade Joomla Using cPanel: A Comprehensive Guide

    This detailed tutorial will help you handle the upgrade process quickly, whether you’re considering upgrading Joomla 3 to 4, or perhaps looking to improve your older Joomla 1.5 to the latest version.

    For those wondering how to upgrade Joomla manually, or wishing to update to the latest Joomla version, this article will provide the necessary steps to make the process as smooth as possible.

    Upgrading your Joomla version regularly is essential to maintaining a secure, efficient, and feature-rich website. Let’s delve into the step-by-step process of upgrading Joomla using cPanel.

    Backup Your Website

    Before any major changes to your Joomla website, it’s always prudent to create a backup. This way, should anything go wrong during the upgrade, you can revert to the previous state. You can do this within cPanel using the Backup Wizard or by using Joomla extensions like Akeeba Backup.

    Check Extension Compatibility

    Before upgrading, make sure your extensions are compatible with the new Joomla version. You can find this information on the Joomla extensions directory or the extension developer’s website. It’s crucial to ensure smooth operation after the upgrade.

    Upgrade Your Joomla Version

    Once the backup is complete and the extensions are compatible, you can proceed with the upgrade. If you’re using Joomla 3, you can easily upgrade to Joomla 4 from your Joomla control panel.

    If you’re using an older version such as Joomla 1.5, the upgrade process might be a bit more complex. You would need to migrate your site to Joomla 2.5 before proceeding with the upgrade to Joomla 3 or 4. Here, you can follow a detailed guide on how to upgrade Joomla 1.7 to 2.5 and subsequently upgrade from Joomla 3 to Joomla 4.

    Test Your Website

    Once you’ve completed the upgrade, make sure to thoroughly test your website to ensure everything is functioning correctly. If you run into issues, you might need to refer to this guide on fixing Joomla issues.

    Update Your Extensions and Templates

    After ensuring your website works well with the new Joomla version, it’s time to update your extensions and templates. Doing this after the Joomla upgrade reduces the chances of encountering compatibility issues.

    Now that you know how to upgrade Joomla using cPanel, it’s important to regularly check for new Joomla updates to keep your website secure and running efficiently. Joomla’s latest version, Joomla 4, has introduced several new features to enhance your website’s performance and improve the user experience.

    Frequently Asked Questions​

    How often should I upgrade my Joomla version?

    Joomla regularly releases updates to enhance security and functionality. Therefore, it’s recommended to check for updates every few months.

    How do I check if my extensions are compatible with the new Joomla version?

    You can check the compatibility of your extensions by visiting the Joomla Extensions Directory or the extension developer’s website.

    What do I do if my website breaks after the Joomla upgrade?

    If your website breaks after the upgrade, you can restore your website from the backup you created before the upgrade process.

    How do I upgrade from Joomla 1.5 to Joomla 4?

    Upgrading from Joomla 1.5 to Joomla 4 involves migrating to Joomla 2.5, then upgrading to Joomla 3, and finally to Joomla 4.

    Embrace the world of enhanced features, improved user experience, and robust security with the latest Joomla version. Happy Upgrading!

  • How to add a module inside an article in Joomla?

    How to add a module inside an article in Joomla?

    Joomla is one of the most used CMS platform, allowing you to customize your website to your exact specifications. But, have you ever wanted to embed a Joomla module directly into an article? Well, you’re in luck. With Joomla’s built-in loadposition plugin, you can easily do this. Let’s dive in!

    What is a Joomla Module?

    Before we delve into the process, let’s take a moment to understand what a Joomla module is. Modules in Joomla are lightweight and flexible extensions used for page rendering. These modules are often boxes positioned around a component like login, menu, or a custom HTML box.

    Step-by-Step Guide: Adding a Joomla Module into an Article

    Create a new module instance

    Navigate to the ‘Extensions’ tab and select ‘Modules’. Here, click the ‘New’ button to create a new module.

    Set a position for your module

    In your new module settings, find the ‘Position’ option. Here, you can assign a unique position that doesn’t conflict with your existing module positions. Lets name it my-custom-position.

    Enable the loadposition plugin

    Now go to ‘Extensions’, > ‘Plugins’. Search for ‘Content – Load Modules’, and ensure it is enabled. If not, click on it and set the status to ‘Enabled’. The loadposition plugin allows you to load a module inside an article.

    Insert your module into an article

    Open the article where you want to insert your module. In the content area, type {loadposition my-custom-position}. Make sure to replace ‘your-position’ with the position name you set for your module.

    Now, your module will appear wherever you’ve placed the {loadposition} tag within your article.

    Save your changes

    Don’t forget to save your changes both in your module settings and your article.

    Viewing Your Joomla Module Inside an Article

    Congratulations! You’ve just learned how to insert a module inside a Joomla article. Now, when you view your article on your website, you should see your module displayed in the position you designated.

    Remember, adding a module inside an article can be beneficial for displaying extra content or functionality, such as a login form or a custom HTML box. Keep exploring and see what amazing things you can create with Joomla!

    Frequently Asked Questions​

    Absolutely! You can use the loadposition command as many times as you like within an article.

    Ensure the plugin is enabled and that you’ve correctly typed the module position in the loadposition command.

    There are many ways to customize your Joomla articles. For example, you can add custom JavaScript or even insert HTML codes into your articles.

    Joomla is a powerful and flexible platform, offering features like ecommerce solutions, various extensions, and a robust community for support. Learn more about the benefits of using Joomla on our blog.

    For more tips and guides about Joomla, check out our other posts and learn how to optimize your Joomla website speed or add a favicon in your Joomla website.

    Happy Joomla-ing!