Jack Lee
asked 9 years ago

Guide page:http://www.designwall.com/guide/dw-question-answer-plugin/
Code:
http://snippi.com/s/rqwxbkq
————-

/*

adding this line before the following line,,or it will throw an error:

Fatal error: Call to undefined function bp_blogs_record_activity() in F:\XamppServ\htdocs\xxxx\wp-content\themes\aboutcg\buddypress\bp-custom.php on line 115
*/
if(function_exists('bp_blogs_record_activity'))
bp_blogs_record_activity(/*args*/);

 /*adding this line before the following line,this just an advice*/
if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) return;
if($post->post_status != 'publish') return;
1 Answers
DominicStaff
answered 9 years ago

Thank for your feedback. We will check & fix this issue on our document.
Regards,

Powered by DW Question & Answer Pro