instead of:
add_action('__before_main_container' , 'display_my_fp_widget', 15 );
you can use a different hook
add_action('__after_header' , 'display_my_fp_widget', 5 );
hope this helps.
it works , thanks .
what are the hooks available ?
for example I would like to add another widget after the slideshow before the featured pages
Through all the code 😀
Standard customizr’s pages action hooks
Use __after_header with priority 15 (slider is hooked to __after_header with priority 10)
Hope this helps 😉
I made the code change but wordpress has crashed so I deleted the new code .
They can coexist these two new widgets or something else I have to change ?