No products in the cart.
Forum Replies Created
Viewing 2 posts - 1 through 2 (of 2 total)
- AuthorPosts
-
tayyab-chaudhary
Participant$paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1; $args = array( 'post_type' => 'wp-rest-api-log', 'posts_per_page' => 5, 'paged' => $paged, 'orderby' => 'date', ); $loop = new WP_Query( $args ); if ($loop->have_posts()) : while ($loop->have_posts()) : $loop->the_post(); echo the_title(); endwhile; echo "<nav class=\"sw-pagination\">"; $big = 999999999; // need an unlikely integer echo paginate_links( array( 'base' => str_replace( $big, '%#%', esc_url( get_pagenum_link( $big ) ) ), 'format' => '?paged=%#%', 'current' => max( 1, get_query_var('paged') ), 'total' => $loop->max_num_pages ) ); echo "</nav>"; endif; wp_reset_query();
tayyab-chaudhary
ParticipantI’m facing the same issue. I am using the JupiterX theme with Elementor and trying to override the checkout template in the JupiterX Child theme, but it’s not loading. I have double checked the path, it’s like
themes/jupiterx-child/woocommerce/checkout/form-checkout.php
.Solution:
I have resolved the issue. Actually, the JupiterX theme has its own WooCommerce overriding structure, that is
themes/jupiterx/lib/templates/woocommerce/checkout/form-checkout.php
and the same for the child theme that isthemes/jupiterx-child/lib/templates/woocommerce/checkout/form-checkout.php
.For more details: themes.artbees.net/docs/overriding-woocommerce-templates
- AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)