• Resolved josephmarkovich

    (@josephmarkovich)


    I am making some modifications to WooCommerce pages and need to use functions.php to do it.

    I know I can use echo do_shortcode('[icds_twig]'); and echo do_shortcode('[/icds_twig]'); but then how can I put the other twig code between that?

    Am attempting to add pages to the My Account page of WooCommerce, but I need to pull some data from Dataverse in these pages.

    Alternatively, can I create the pages I need using the block editor and then somehow call those pages from functions.php?

    Thank you.
    Joe

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Twig in functions.php’ is closed to new replies.