Tagged with " content"
Dec 19, 2008 - PHP, Wordpress    45 Comments

WordPress: get page id and content with example & code


Fatal error: Uncaught Error: Call to a member function id() on array in /home/tanzilo/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php:36 Stack trace: #0 /home/tanzilo/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(538): CrayonFormatter::format_code('', Array, Object(CrayonHighlighter)) #1 [internal function]: CrayonFormatter::delim_to_internal(Array) #2 /home/tanzilo/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(516): preg_replace_callback('#()#msi', 'CrayonFormatter...', '<?php if (have_...') #3 /home/tanzilo/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(166): CrayonFormatter::format_mixed_code('<?php if (have_...', Object(CrayonLang), Object(CrayonHighlighter)) #4 /home/tanzilo/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(186): CrayonHighlighter->process() #5 /home/tanzilo/public_html/wp-content/plugins/crayon-syntax-highlighter/cr in /home/tanzilo/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 36