Docs – Astra https://wpastra.com Fast, Lightweight & Customizable WordPress Theme for Any Website Tue, 20 Feb 2024 10:46:53 +0000 en-US hourly 1 https://wordpress.org/?v=6.4.3 https://wpastra.com/wp-content/uploads/2020/01/favicon-astra2x.png Docs – Astra https://wpastra.com 32 32 How to Change “Add to Cart” Text Strings https://wpastra.com/docs/change-add-to-cart-text-strings/ https://wpastra.com/docs/change-add-to-cart-text-strings/#respond Tue, 20 Feb 2024 10:40:26 +0000 https://wpastra.com/?post_type=docs&p=174609 You can change the default text strings “Add to Cart” to “Buy Now” on your WooCommerce single product page and product archive (collection) page. To do so, you can use the filters attached in this document.

To know more about how to use these filter, go through the below sections of this document.

How to Change WooCommerce Strings Forcefully

You can follow the below steps to change the default text strings “Add to Cart” to “Buy Now” on your WooCommerce single product page and product archive (collection) pages.

Before you make any customizations, it’s a best practice to create a child theme to avoid affecting your main theme. If you already have a child theme, you can skip this step.

Step 1: Access Your WordPress Dashboard

Log in to your WordPress admin dashboard. This is where you’ll be making the necessary changes to your WooCommerce category pages.

Step 2: Open the Child Theme’s functions.php File

Navigate to “Appearance” in the WordPress dashboard and select “Theme Editor.” In the Theme Editor, find and click on the “functions.php” file. This file contains the code that controls various aspects of your WordPress theme.

Step 3: Insert the Code

Once you’re in the “functions.php” file, you’ll need to insert the following code snippet:

// To change add to cart text on single product page
add_filter( 'woocommerce_product_single_add_to_cart_text', 'woocommerce_custom_single_add_to_cart_text' ); 
function woocommerce_custom_single_add_to_cart_text() {
    return __( 'Buy Now', 'woocommerce' ); 
}
 
// To change add to cart text on product archives (collection) page
add_filter( 'woocommerce_product_add_to_cart_text', 'woocommerce_custom_product_add_to_cart_text' );  
function woocommerce_custom_product_add_to_cart_text() {
    return __( 'Buy Now', 'woocommerce' );
}

In the code snippet above, we are using two WooCommerce filters to modify the add to cart text. The `add_filter` function is used to hook into specific filter hooks provided by WooCommerce.

The `woocommerce_product_single_add_to_cart_text` filter is used to modify the add to cart text on the single product page. The custom function `woocommerce_custom_single_add_to_cart_text` is responsible for returning the desired text. In this case, we are returning “Buy Now”.

The `woocommerce_product_add_to_cart_text` filter is used to modify the add to cart text on the product archive (collection) page. Similarly, the custom function `woocommerce_custom_product_add_to_cart_text` returns the desired text “Buy Now”.

Step 4: Save Your Changes

After inserting the code, make sure to save your changes by clicking the “Update File” button. This ensures that the modifications take effect on your website.

By following these steps, the “Add to Cart” text strings will be forcefully changed to “Buy Now” on your WooCommerce single product page and product archive (collection) page.

We hope this document has been helpful. Please feel free to leave a comment below if you have any queries.

]]>
https://wpastra.com/docs/change-add-to-cart-text-strings/feed/ 0
How to Relocate WooCommerce Category Description https://wpastra.com/docs/relocate-woocommerce-category-description/ https://wpastra.com/docs/relocate-woocommerce-category-description/#respond Thu, 15 Feb 2024 10:09:56 +0000 https://wpastra.com/?post_type=docs&p=174485 WooCommerce is a powerful e-commerce plugin for WordPress, known for its flexibility and extensive customization options. One aspect that WooCommerce users often want to modify is the placement of the category description on their shop pages.

By default, the category description appears at the top of the page.

How to Relocate WooCommerce Category Description

But what if you want it to be displayed at the bottom?

In this guide, we’ll walk you through the process of moving the WooCommerce category description from the top to the bottom of your category pages using a simple code snippet.

This code allows you to redefine the position of the category description effortlessly, providing you with more control over your shop’s layout and presentation.

How Can I Relocate the WooCommerce Category Description

Before you make any customizations, it’s a best practice to create a child theme to avoid affecting your main theme. If you already have a child theme, you can skip this step.

Now, you can follow the below enlisted steps to relocate the WooCommerce category description from the top of the content to the bottom.

Step 1: Access Your WordPress Dashboard

Log in to your WordPress admin dashboard. This is where you’ll be making the necessary changes to your WooCommerce category pages.

Step 2: Open the Child Theme’s functions.php File

Navigate to “Appearance” in the WordPress dashboard and select “Theme Editor.” In the Theme Editor, find and click on the “functions.php” file. This file contains the code that controls various aspects of your WordPress theme.

Step 3: Insert the Code

Once you’re in the “functions.php” file, you’ll need to insert the following code snippet:

/**
 * Move WooCommerce category description to bottom
 */
function move_woocommerce_category_description() {
    remove_action('woocommerce_archive_description', 'woocommerce_taxonomy_archive_description', 10);
    add_action('woocommerce_after_shop_loop', 'woocommerce_taxonomy_archive_description', 10);
}
add_action('init', 'move_woocommerce_category_description');

This code essentially unbinds the default action that displays the category description at the top and rebinds it to be displayed at the bottom of the category page.

Step 4: Save Your Changes

After inserting the code, make sure to save your changes by clicking the “Update File” button. This ensures that the modifications take effect on your website.

Step 5: Check Your Category Pages

With the code in place, visit your WooCommerce category pages to see the changes in action. You’ll notice that the category description has been successfully moved from the top to the bottom of the page.

How to Relocate WooCommerce Category Description

By following these straightforward steps and implementing the provided code snippet, you can take control of the layout and presentation of your WooCommerce category pages.

Moving the category description from the top to the bottom allows you to create a more user-friendly and aesthetically pleasing shopping experience for your customers.

Remember that while code modifications can be powerful, they should be handled with care. Always back up your website before making any changes, and if you’re unsure, seek assistance from a web developer or WordPress expert.

We hope this document has been helpful. Please feel free to leave a comment below if you have any queries.

]]>
https://wpastra.com/docs/relocate-woocommerce-category-description/feed/ 0
Adaptive Design Library: All About AI Credits https://wpastra.com/docs/ai-credits/ https://wpastra.com/docs/ai-credits/#respond Fri, 02 Feb 2024 06:25:44 +0000 https://wpastra.com/?post_type=docs&p=173947 The traditional design library of Starter Templates offers well-designed sections and pages that you can insert anywhere on your website as needed, and replace the sample content with personalized content.

But it gets better with Adaptive Design library.

Using Adaptive Design Library, you can automatically personalize all the sections and pages in the template library to match your website’s style.

This is useful, isn’t it? To personalize design library, you need AI credits offered by ZipWP.

When you sign up for ZipWP for connecting it with Starter Templates, you automatically start getting 1000 AI credits every month for free. You can use them as per your needs.

In this article, we’ll understand more about these AI credits. We’ll see how they are calculated, and how many credits are consumed for different tasks.

What Are ZipWP AI Credits & Where Are They Used?

In simple words, credits are like units that keep track of AI usage. This usage can be either on Starter Templates or Zip AI assistant in Spectra.

As mentioned above, ZipWP AI credits are consumed while using the following features.

  • Creating personalized block patterns with Starter Templates.
  • Creating personalized full pages with Starter Templates.
  • Using Zip AI assistant with Spectra.

Now, let’s see how many credits are consumed for different uses.

How Are ZipWP AI Credits Calculated?

There are different amounts of credits required for different uses.

UseRequired Credits
Generating one word with AI assistant1 credit
Personalizing the Entire Section Templates Library5000 credits
Personalizing 1 Particular Block Patterns Category500 credits
Personalizing the Entire Full Page Templates Library5000 credits
Personalizing 1 Particular Full Pages Template Category1000 credits

Let’s understand this in detail.

Generating One Word With AI Assistant

When you use Zip AI assistant to get any information or text, it consumes 1 credit for every word that’s generated in the response.

Personalizing The Entire Section Templates Library

Starter Templates has a section library that you can personalize for your business based on your prompts. You can personalize this entire library for 5000 credits.

Personalizing 1 Particular Block Patterns Category

If you want simply personalize a particular section category, like header, hero, contact, etc. You will need 500 credits.

Personalizing The Entire Full Page Templates Library

You can also create full pages that are personalized to your needs with ZipWP AI. You can personalize this entire page for 5000 credits.

Personalizing 1 Particular Full Pages Template Category

If you want to simply personalize a particular full-page template category, like about us, you will only need 1000 credits.

How Do I Get ZipWP AI Credits?

When you sign up for ZipWP, you get 1000 AI credits/month with the free plan. When you feel like you need more credits, you can upgrade your ZipWP plans and get more credits. In addition to AI credits, you will also get additional ZipWP features like the ability to create complete sites by providing simple prompts.

In case you simply want to get more credits to be able to personalize design library or use AI assitant, you can purchase the credits separately from here.

That’s about ZipWP AI credits.

Hope you find this article helpful. If you still have any questions, please let us know.

Frequently Asked Questions:-

How many credits do I get as a user of the free version? What can I achieve with free credits?

As a warm welcome, we’re providing 1000 free credits to even users of the free plan. With 1000 credits, you can generate up to 1000 words, or personalize two categories of our templates library.

This should give you a glimpse of things you can achieve with our AI features. To experience the full power of AI and save valuable time while building your website, consider purchasing AI credits from here: https://app.zipwp.com/credits-pricing

If I have unused credits at the end of my subscription, can I roll them over to next year?

Any leftover and unused credits are automatically reset at the end of the billing period. Every year, or every month, based on the plan you have selected, you will get a new set of credits.

]]>
https://wpastra.com/docs/ai-credits/feed/ 0 Docs nonadult
Managing User Roles and Permissions for the Gutenberg Template Library https://wpastra.com/docs/gutenberg-template-library-user-roles-permissions/ https://wpastra.com/docs/gutenberg-template-library-user-roles-permissions/#respond Thu, 01 Feb 2024 08:24:08 +0000 https://wpastra.com/?post_type=docs&p=173922 You may already be familiar with the Template Kits button available in your Gutenberg editor if you have either Starter Templates or the Spectra plugin installed.

By default, the Template Kits button is accessible only to the website administrator. This ensures a streamlined user experience and prevents unintended actions on your website.

However, we received a few questions from our users about providing Template Kits or Template Library access to specific user groups, such as the Editor role.

We heard your feedback loud and clear, and we’ve created a snippet to help you manage custom capabilities for non-admin user roles.

Granting Full Permissions to Editor Role Users

To grant full permissions to users with the editor role, administrators can use a simple filter.

By adding the following code snippet to their configuration, administrators can extend the capabilities to include the editor role.

add_filter( 'ast_block_template_capability_additional_roles', function ( $roles ) { 

      $roles[] = 'editor';

      return $roles;

   } );

This filter specifically targets the ‘ast_block_template_capability_additional_roles’ hook, allowing administrators to append the ‘editor’ role to the array of roles with additional capabilities.

Adding the Filter to Your Site

Adding this filter to your WordPress site is quite straightforward. Just follow these simple steps:

  • Access the functions.php file within your theme or child theme. You can edit it directly by going to Appearance > Theme file editor or by using any of the code snippet plugins.
  • Copy and paste the provided filter code into the functions.php file.
  • Save the changes to the functions.php file.
  • Make sure that users with the editor role now have full access to the Gutenberg Library, including the visibility of the Template Kits button.

That’s it! Right now, only website admins have full control over the template library. We’ve added ways for other user roles to access parts of it, too.

Now, admins can easily give full access to editors, making it easier for everyone to work on your website or app.

This means you can set things up exactly how you need them, depending on who’s doing what.

Hope this guide helped you. If you have any questions, please feel free to reach out to our support team.

]]>
https://wpastra.com/docs/gutenberg-template-library-user-roles-permissions/feed/ 0
WooCommerce Store with Custom Random Products Sorting Filter https://wpastra.com/docs/random-products-sorting-filter/ https://wpastra.com/docs/random-products-sorting-filter/#respond Fri, 26 Jan 2024 12:30:45 +0000 https://wpastra.com/?post_type=docs&p=173425 Do you want to add a touch of randomness to your WooCommerce store and showcase products in a unique way?

With a simple customization, you can implement a custom random products sorting filter that adds an exciting element to your online shop.

In this document, we’ll guide you through the process and provide a snippet code to achieve this.

Why Random Product Sorting?

While standard sorting options like popularity, price, or date are common, introducing a random sorting filter can bring an element of surprise to your customers’ shopping experience. This can be particularly engaging for visitors who enjoy discovering new products or are looking for inspiration.

How to Implement Custom Random Products Sorting Filter

To implement this feature, you’ll need to add a snippet of code to your child theme’s functions.php file. Here’s the code snippet for your convenience:

/**
 Modify the product query to sort by random order

 @param WP_Query $q The WP_Query instance.
/
function custom_random_products_sorting( $q ) {
    if ( ! is_admin() && $q->is_main_query() && is_woocommerce() && is_shop() ) {
        $q->set( 'orderby', 'rand' );
    }
}
add_action( 'pre_get_posts', 'custom_random_products_sorting' );

This code hooks into the pre_get_posts action and modifies the product query to sort by random order when the main query is for the shop page in WooCommerce.

How to Add the Code to Your Child Theme

  • Access your WordPress dashboard.
  • Navigate to Appearance -> Theme Editor.
  • Find and select your child theme’s functions.php file on the right-hand side.
  • Copy and paste the provided code snippet at the end of the file.
  • Save the changes by clicking Update File button.
custom code

Once you’ve added this customization, visit your WooCommerce shop page, and you’ll notice the products are now displayed in a random order. This simple modification can add a playful and dynamic aspect to your store, enticing customers to explore and discover new products.

We hope this document has been helpful. If you have any queries further, feel free to leave a comment below.

]]>
https://wpastra.com/docs/random-products-sorting-filter/feed/ 0
Required for Import: Enable Elementor’s Flexbox Container https://wpastra.com/docs/enable-flexbox-container-from-elementor/ https://wpastra.com/docs/enable-flexbox-container-from-elementor/#respond Mon, 22 Jan 2024 13:10:36 +0000 https://wpastra.com/?post_type=docs&p=173258 Elementor Templates require the “Flexbox Container” feature turned on before you can import them. This feature is currently disabled on your website, but don’t worry, it’s easy to turn on!

Here’s what you need to do:

  • Go to your Elementor settings in WordPress.
  • Click on the Features tab.
  • Look for the Flexbox Container option.
  • Click the button to turn it on!
  • That’s it! Now you’re ready to import your Starter Template without any problem.

Here’s why this matters: Flexbox Container helps us arrange things perfectly inside your website, like columns and sections. By turning it on, you’re ensuring your new template looks exactly as it should.

Don’t worry if you forget: If you accidentally skip this step, don’t worry, we’ll automatically turn on Flexbox Container during the import process.

]]>
https://wpastra.com/docs/enable-flexbox-container-from-elementor/feed/ 0
Customizing Social Profile Links for Individual Authors in Single Posts https://wpastra.com/docs/customize-social-profile-links-for-authors/ https://wpastra.com/docs/customize-social-profile-links-for-authors/#respond Mon, 22 Jan 2024 02:49:04 +0000 https://wpastra.com/?post_type=docs&p=173233 Astra’s customizer option (Customizer > Blog > Single Post > Author Info) allows setting a single social URL for authors. While this works well for single author websites, it presents a challenge in multi-author scenarios, as the set URL applies to all authors, regardless of who wrote the content.

To address this limitation and enable individualized author profiles, a specific code snippet can be implemented. This document provides detailed instructions on using the snippet to assign unique social links to each author.

Customize Social Profile Links for Individual Authors in Single Posts

Using the below-attached simple code snippet, you can unlock author-specific social links, allowing you to showcase each writer’s unique social profile links alongside their work.

You can add the below provided code to your child theme’s functions.php file

add_filter( 'astra_addon_author_social_sharing_link', 'update_author_wise_social_links', 10, 2 );

function update_author_wise_social_links( $social_link, $network ) {

	global $post;
	$post_author_id = ! empty( $post->post_author ) ? absint( $post->post_author ) : 1;

	switch ( $network ) {
		case 'facebook':
			if ( 43 === $post_author_id ) {
				$social_link = 'https://www.facebook.com/astra-team'; // For author user id 43
			} elseif ( 4 === $post_author_id ) {
				$social_link = 'https://www.facebook.com/admin'; // For author user id 4
			} else {
				$social_link = 'https://www.facebook.com/brainstormforce'; // Fallback facebook social link
			}
			break;

		case 'twitter':
			$social_link = 'https://twitter.com/bsfwp';
			break;

		case 'linkedin':
			$social_link = 'https://www.linkedin.com/company/brainstorm-force/';
			break;

		case 'youtube':
			$social_link = 'https://www.youtube.com/channel/UCP6LzCTEr7ZKTuWzc9ZxVqw';
			break;

		default:
			// Do nothing or extend this case as per other social networks.
			break;
	}

	return $social_link;
}

You can update the example social links with the actual URLs of your authors and adjust the author IDs to match your specific users.

In this example, the snippet differentiates Facebook links based on the author, providing unique Social links for each author, thus overcoming the issue of uniform Social links for multiple authors.

We hope this document has been helpful. If you have any queries further, feel free to leave a comment below.

]]>
https://wpastra.com/docs/customize-social-profile-links-for-authors/feed/ 0
Disable Automatic Updates in WordPress https://wpastra.com/docs/disable-automatic-updates-in-wordpress/ https://wpastra.com/docs/disable-automatic-updates-in-wordpress/#respond Thu, 11 Jan 2024 12:04:34 +0000 https://wpastra.com/?post_type=docs&p=172820 Automatic updates in WordPress help ensure that your site is running the latest version, including security patches and new features. However, there might be situations where you want to disable automatic updates, especially if you prefer to control when and how updates are applied.

In this document, we’ll discuss what WordPress automatic updates are and why you might want to disable automatic WordPress updates.

Then, with the help of code and a simple plugin, we’ll show you how to disable automatic updates.

What Are WordPress Automatic Updates?

WordPress automatic updates allows your website to automatically check for and install updates. This includes security updates for the core WordPress software, as well as updates for plugins and themes to address potential security risks.

While automatic updates aim to save time and effort by handling the update process for you, sometimes you find them time-consuming and may prefer manual updates.

Manually updating allows you to retain control over how upgrades are implemented and ensures your presence if any issues arise during the process.

Why Disable Automatic WordPress Updates?

Automated updates in WordPress, while generally reliable, can cause serious problems, such as the rare but impactful risk of causing your website to crash. This is more likely with major updates and can impose compatibility issues between your plugins, themes, WordPress Core, and any code modifications you’ve made. In such cases, having a backup to restore your website is crucial.

Sometimes, these updates add new features that may not align with your specific needs, disrupting your workflow. Customizing each element and feature to match your unique vision can become a time-consuming task.

How to Disable Automatic Updates in WordPress Using Plugin

You can disable automatic updates with the help of the Easy Updates Manager plugin.

For that, firstly you need to install and activate the plugin from Plugins → Add New Plugin section of WordPress dashboard.

Disable Automatic Updates

Once the plugin is activated, navigate to Dashboard → Updates Options to configure the settings.

Disable Automatic Updates

The Easy Updates Manager settings page will pop and if you want to turn off all updates, toggle the Disable all updates option.

Disable Automatic Updates

However, disabling all updates will prevent update notifications from appearing.

Instead, you can choose your preferred settings. You can disable plugin and theme auto-updates while enabling the core WordPress auto-updates.

Disable Automatic Updates

How to Disable Automatic Updates in WordPress Without Using a Plugin

To disable the automatic updates, you can add the following code snippet in the wp-config.php file.

define( ‘WP_AUTO_UPDATE_CORE’, false );

WordPress will no longer automatically install updates. However, this only pertains to the core installation. If you wish to disable updates for plugins and themes, you can do so by adding the following filters to your theme’s functions.php file.

To access the functions.php file, navigate to Appearance → Theme Editor from your WordPress dashboard. Then, open the functions.php file from the list on the right.

To disable automatic plugin updates, add the following code.

add_filter( 'auto_update_plugin', '__return_false' );

To disable automatic updates for themes, add the following code.

add_filter( 'auto_update_theme', '__return_false' );

If you want to disable automatic updates to both your theme and any plugins, you need to add both lines.

Disable Automatic Updates

Please note that whether you use automatic or manual updates, keeping your site backed up regularly is important.

We hope this document has been helpful. If you have any questions, feel free to leave a comment below.

]]>
https://wpastra.com/docs/disable-automatic-updates-in-wordpress/feed/ 0
Starter Templates and ZipWP Integration https://wpastra.com/docs/starter-templates-zipwp-integration/ https://wpastra.com/docs/starter-templates-zipwp-integration/#respond Tue, 09 Jan 2024 02:17:54 +0000 https://wpastra.com/?post_type=docs&p=172705 Starter Templates 4.0.0 has a cool new feature AI Website Builder. It works closely with Zip AI to make building websites super easy. Now, you can choose between using AI or classic templates to create your site.

Go through the below section of this document to know more about how the Starter Templates and ZipWP Integration works.

What is AI Website Builder in Starter Templates?

With classic templates, you’re limited to a fixed layout, patterns, content, and images. Also, you get dummy content and images with these classic starter templates. Replacing these generic elements with your own can be a time-consuming process.

Build with AI

Thus to overcome the limitations of classic starter templates, Starter Templates now include a new feature called ‘AI Website Builder’, powered by ZipWP.

This is a new feature for Starter Templates that utilizes the power of ZipWP to generate personalized patterns and content that best suits your specific business needs. This innovative feature makes website building more efficient and effective by automating the creation of high-quality content and design elements.

Key Benefits of AI Website Builder:

  • Personalized Content and Images: AI generates content and images specifically designed for your business, eliminating the need for generic dummy content.
  • Industry-Aligned Patterns: AI suggests patterns that align with your industry, ensuring your website reflects your brand and resonates with your target audience.
  • Time-Saving Efficiency: By eliminating the need to manually replace generic content and images, Build with AI saves you valuable time and effort, making website building more than 10 times faster.

Starter Templates and ZipWP Integration

Starter Templates 4.0.0 works closely with Zip AI, making it super easy to build websites. What’s cool about version 4.0.0 is that it’s not just about starting – it’s about having choices and making your website exactly the way you want it. With the tight teamwork of Starter Templates and Zip AI, building your website becomes easier, more flexible, and uniquely yours.

Before we start, ensure you’ve installed and activated the Premium Starter Templates plugin on your WordPress site.

Once the plugin is set up, go to Appearance > Starter Templates in your WordPress dashboard. There, you’ll find the choice of how you want to build your website – either using Classic Starter Templates or the AI Website Builder.

If you opt for the AI Website Builder by clicking “Try the New AI Builder” button, it will guide you through the integration of Starter Templates and ZipWP.

Starter Templates and ZipWP Integration

If you already have a ZipWP account, you can connect it here. Otherwise, you’ll need to sign up for a new account.

After authorizing your ZipWP account, you can input your business details such as the name, a short description, and contact information. Select suitable images and choose a structure for your website.

Starter Templates and ZipWP Integration

Once all the information is provided, a prompt box will appear, indicating “Start Building the Website

Starter Templates and ZipWP Integration

Clicking this button will take you to the customization page for Starter Templates, where it creates an entire website based on your business information.

If the initial result doesn’t suit your preferences, you can start over by selecting the “Try Different Design” option. Clicking this button will reconstruct the website with a different design.

Starter Templates and ZipWP Integration

If you’re satisfied with the initial result, proceed by clicking the “Start Importing” button. Then, you will be able to see imports the finalized design and will be redirected to the customization page.

Starter Templates and ZipWP Integration

Clicking the “Start Customizations” button will take you to the familiar Starter Templates importing customization page. Just like in the previous version, you can pick your logo, choose fonts, and initiate the website building process from here.

Starter Templates and ZipWP Integration

We’re committed to bringing you new features and enhancements to Starter Templates, so stay tuned for more exciting updates in the future.

]]>
https://wpastra.com/docs/starter-templates-zipwp-integration/feed/ 0
Enhanced Blog Archive: Explore What’s New in Astra v4.6.0 https://wpastra.com/docs/blog-archive-improvements/ https://wpastra.com/docs/blog-archive-improvements/#respond Wed, 03 Jan 2024 09:27:26 +0000 https://wpastra.com/?post_type=docs&p=172409 In the latest Astra 4.6.0 version, significant improvements have been made to enhance the blog archive experience.

Explore new layout options with the extended support for Grid, List, and Cover layouts through the Blog Layout feature.

You can now also benefit from new meta options, including meta divider and taxonomy styles, providing additional avenues for content customization.

Go through this document to learn about the improvements introduced to the blog archive page in Astra v4.6.0.

Enhancements to Blog Archive in Astra v4.6.0

Reveal Effect for Posts

We have added a Reveal Effect for posts appearing on the website. It is available for pro users, this effect enables users to embed a reveal effect for their posts whenever a page is loaded or refreshed.

You can find the option to enable the Reveal Effect under Blog > Blogs/Archive.

Blog Layout

We have added support for new Grid, List, and Cover blog/archive layouts.

  • Grid Layout: Display posts in a neat and modern grid format.
  • List Layout: Present your content in a traditional list format.
  • Cover Layout: Highlight individual posts with large featured images.
Enhanced Blog Archive

Meta Options

We have added new meta options like meta divider and taxonomy styles with the free version.

Enhanced Blog Archive

Featured Image Customization

We have added new featured image customization options for blog archive for both free and pro version users.

Enhanced Blog Archive

Also, you can see the Hover effect option for the featured image.

Enhanced Blog Archive

We have improved the user interface of the archive page to provide an improved overall user experience.

Note

In you are an existing user, we strongly recommend eliminating legacy compatibilities to maximize the benefits of the overall blog improvements. To achieve this, you can incorporate the following filters into your child theme functions.php file.

add_filter( 'astra_apply_flex_based_css', '__return_true' );
add_filter( 'astra_is_header_footer_builder_active', '__return_true' );
add_filter( 'astra_v4_block_editor_compat', '__return_true' );
add_filter( 'astra_get_option_v4-4-0-backward-option', '__return_true' );
add_filter( 'astra_get_option_v4-6-0-backward-option', '__return_true' );
add_filter( 'astra_get_option_customizer-default-layout-update', '__return_true' );
add_filter( 'astra_addon_upgrade_fullscreen_search_submit_style', '__return_true' );

We hope this document has been helpful. If you have any questions, feel free to leave a comment below.

]]>
https://wpastra.com/docs/blog-archive-improvements/feed/ 0 Docs nonadult