ZenphotoCMS Forum
Using the Wordpress Entension - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Using the Wordpress Entension (/thread-2655.html)



Using the Wordpress Entension - PeterM - 2008-04-12

Hello
So I have my wordpress page that I want to include the latest photos from my Zen Photo gallery at the bottom (a little like the Stop Design theme). I added
`define('ZENFOLDER', 'zp-core');

define('WEBPATH', 'zenphoto');

require_once(WEBPATH . "/" . ZENFOLDER . "/template-functions.php"); obviously changing the locations, but it doesn't seem to want to connect properly, so I get: Fatal error: Call to undefined function: getoption() in /home/site/blog/wp-content/themes/glossyblue-1-3/index.php on line 48`

Is there a way I can add some lines of code to a WordPress theme to allow me to display the information like at the bottom of the Stop Design theme?