Problem Adding Second Custom Post Type to Functions.php
-
Hi there
I am trying to add my second custom post type to Functions.php and have copied exactly the same code as works for the first one, changing the relevant words to relate to the new one, and pasted it below. When I try to access the dashboard after uploading, I continually receive this error message:
Fatal error: Cannot redeclare codex_custom_init() (previously declared in /home/content/98/4487498/html/wp-content/themes/arthemia/functions.php:6) in /home/content/98/4487498/html/wp-content/themes/arthemia/functions.php on line 124
Any ideas?
Thanks
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Problem Adding Second Custom Post Type to Functions.php’ is closed to new replies.