hellover
asked 6 years ago

Hi there,
I’m using your amazing DW Page theme and would like to insert image galleries in some of the projects, but the wordpress gallery shortcode seems to don’t work inside the modal.
It’s possible to make some customization to make it works?
The site is this: http://robertotunon.com/iruki/web
 
Lots of thanks!

1 Answers
Wilfred
answered 6 years ago

Hello Hellover ! 
To resolve this issue please follow my instruction hrere:
1. Open framework.php in /wp-content/themes/dw-page/inc/framework.php
2. Replace folloing code – line 379  

  $result->content = $post->post_content;

with:

  $result->content = do_shortcode( $post->post_content );

Hope this helps!

hellover
replied 6 years ago

It’s working!
Thank you so much, Wilfred!

Powered by DW Question & Answer Pro