Access our premium support and let us know your problems, we will help you solve them.

0
No products in the cart.

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: WooCommerce: Display Category Name #9471
    blankswapnali
    Participant

    Use the get_categories function to retrieve categories name :-

    You can use this code to display product categories name –

    <?php global $post, $product;
        $categ = $product->get_categories();
        echo $categ; ?>
    
    in reply to: Creating a wordpress theme #10825
    blankswapnali
    Participant
    • The theme functions file is a template used by Word-press themes. It acts like a plug-in and gets automatically loaded in both admin and front-end pages of a Word-press site.
    • The functions.php file can be found in your theme’s folder.
      You don’t need to create a new functions.php file when you want to put your own function in function.php just paste that code in your themes functions.php file.
    • You can look into these Reference Links to understand more about function.php file :-

      Functions_File_Explained

Viewing 2 posts - 1 through 2 (of 2 total)