Delete/Spam Comment Button

Update So, I need to do an Ajax call to spam/delete/trash the comment I would actually also use AJAX, and secondly, I would use JS instead to add the action links — and personally, I think an edit_comment_link callback should return just one link (i.e. one a element).. but anyway, There are many ways to … Read more

Permalink structure and dedicated comment pages

You can change the permalink setting to /p%post_id%, but this will also set the front property of the WP_Rewrite object to /p, so some URLs will also get this in front (/pauthor for example). You can counter this by changing the $wp_rewrite->front property again: add_action( ‘permalink_structure_changed’, ‘wpse5595_rewrite_front_reset’ ); add_action( ‘init’, ‘wpse5595_rewrite_front_reset’ ); function wpse5595_rewrite_front_reset() { … Read more

Crossposting from WP to Blogger with comments

Hi @Alex: Your client wants to mirror on Blogger this “In case WordPress fails?!?” OMG!!!! Do they not understand how WordPress works? Set him up a second WordPress site on a different web host or on WordPress.com! Don’t put up with Blogger. A simple solution would be to use Windows Live Writer or Qumana to … Read more

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