Posts vs. Pages

Looks like your “local” “pretty close” and “further away” is only title text on the page and is not actually linking somewhere. You can simply make each venue into a post and under “local” “pretty close” and “further away”, add a link to the post after their description/introductions. This way they retain their category titles … Read more

Sync comment data

After some more thought, I got it figured out. It involves multiple functions to go through each step of the process, but here it is: https://gist.github.com/4355955

Insert data on comment post

Not sure what you’re after but this is how you would get the content of a newly posted comment add_action( ‘comment_post’, ‘my_comment_callback’ ); function my_comment_callback($id) { $comment = get_comments(array( ‘ID’ => $id )); // $content is the actual text the user posted $content = $comment->comment_content; } Is that what you’re looking for?

Turning off trackbacks & comments

To prevent comments receiving add following line to your functions.php file: add_filter( ‘comments_open’, ‘__return_false’ ); And to prevent trackbacks receiving just add this snippet: add_filter( ‘pings_open’, ‘__return_false’ );

How to make all the posts commentable by default? Imputs in Settings/Discussions are not saved

A common method to keep all the posts open for comments, is to add this line into the file functions.php in the current theme directory : add_filter(‘comments_open’, ‘__return_true’); where __return_true is just a core function that always returns true. ps: since this seems to be helpful, regarding to the problem described by @user27309, it’s better … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)