Support

Home Forums Event Espresso Premium Combining Iced Mocha, Event Espresso & Woocommerce

Combining Iced Mocha, Event Espresso & Woocommerce

Posted: April 19, 2015 at 4:47 am

Viewing 1 reply thread


Joost

April 19, 2015 at 4:47 am

I’m running EE4 with the Iced Mocha theme. Now, I want to add Woocommerce as well. Now I have to set up Iced Mocha for Woocommerce. According to Woocommerce’s instructions (http://docs.woothemes.com/document/third-party-custom-theme-compatibility/) I have to copy Iced Mocha’s page.php file while replacing the loop. However, the structure of the Iced Mocha’s page.php is quite different than the example that Woocommerce gives. I expect the loop is actually generated in other Iced Mocha file. Can you give me some pointers?


Dean

April 20, 2015 at 3:52 am

Hi Joost,

The Iced Mocha uses template parts for its templates, so in the Page.php file it is being told to get this template part

get_template_part( 'content/content', 'page')

which equates to the content folder and the content-page.php file. The content-page.php file contains the loop for Pages.

More info on template parts should you need it: https://codex.wordpress.org/Function_Reference/get_template_part

Viewing 1 reply thread

The support post ‘Combining Iced Mocha, Event Espresso & Woocommerce’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso