bjrdesign
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: function on post comment submitAny ideas at all?
Forum: Fixing WordPress
In reply to: Change Post Category If Has CommentThanks for the help… I get the concept and almost have it working however I am stuck at the updating the post category… This is what I have so far…
function markTaken(){ wp_set_object_terms( $post_id, 12, 'category', true ); } add_filter ( 'comment_post', 'markTaken' );However this results in the following error…
Warning: Cannot modify header information – headers already sent by (output started at /home/calvary/public_html/calvaryglobalkids.org/wp-content/themes/yoko/functions.php:138) in /home/calvary/public_html/calvaryglobalkids.org/wp-includes/pluggable.php on line 934
Any help would be greatly appreciated!
Forum: Fixing WordPress
In reply to: post id searchThanks Sage however I will need the advanced coding version simply because of the vast number of posts… Each of these posts will represent a child that needs to be sponsored, I’d like the ability to enter in the id of the child so that the sponsor can just jump directly to that post.
Let me know if anyone has seen something like this an input that someone can type the post id into and on submit it takes you to that post page… that would be amazing! Any ideas?
Forum: Fixing WordPress
In reply to: post id searchHow about this, an input where you put the post id number and on submission it takes you to that post.