skip to Main Content

Can you help me
My site has added pages, with the name “what’s new”
and I add this code

[recent_products category = "bundles, graphic" columns = "3" orderby = "date" order = "DESC" operator = "NOT IN" paginate = true per_page = 18]

and it works just fine, so what happens is the problem,
basic page link

mysite.com/whats-new/

but when I go to page 2, the link becomes like this

mysite.com/whats-new/?product-page=2

how to make a direct link like this

mysite.com/whats-new/page/2

Thank you very much

2

Answers


  1. In your WordPress admin Permalinks settings, set “Common Settings” to “Post name”.

    Login or Signup to reply.
  2. Have you declared Woocommerce support in your theme?

    function mytheme_add_woocommerce_support() {
        add_theme_support( 'woocommerce' );
    }
    add_action( 'after_setup_theme', 'mytheme_add_woocommerce_support' );
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search