syamilmj / aqua-page-builder

Aqua Page Builder WordPress Plugin
238 stars 114 forks source link

Why adding Blocks in Child Theme didn't work for me #103

Closed Jakobs-House closed 10 years ago

Jakobs-House commented 11 years ago

i'm pretty new in using child themes or working update save...i realized that the tutorial: " Create Custom Team Block" helps allot with that. My understanding of WP has increased by that...thanks to sy4mil...

But it didnt work in the first moment. Why? Because in the tutorial is written:

define('AQPB_CUSTOM_DIR', get_template_directory() . '/page-builder/');
define('AQPB_CUSTOM_URI', get_template_directory_uri() . '/page-builder/');

I changed it to:

define('AQPB_CUSTOM_DIR', get_stylesheet_directory() . '/page-builder/');
define('AQPB_CUSTOM_URI', get_stylesheet_directory_uri() . '/page-builder/');

I cant really explain why (maybe others could do some background here). I just posted what i found out...

Greets from Berlin