Is there a way to show attachment IDs on the attachment info screen?

You could hook into ‘attachment_fields_to_edit’ and just add a row: <?php # -*- coding: utf-8 -*- /** * Plugin Name: T5 Show Attachment ID * Version: 2012.06.04 * Author: Thomas Scholz <[email protected]> * Author URI: http://toscho.de * License: MIT * License URI: http://www.opensource.org/licenses/mit-license.php */ if ( ! function_exists( ‘t5_show_attachment_id’ ) ) { add_filter( ‘attachment_fields_to_edit’, ‘t5_show_attachment_id’, … Read more

using wp_redirect to redirect to a permalink

Because it is looking for the page 404, which is a child of the page /error. Try just doing this: function show_404($message=”page not found”){ wp_redirect(home_url() . ‘/error?m=’ . urlencode($message)); exit(); } But your doing it wrong. You should just use WordPress’s internal 404 page, it will save a lot more headaches that will arise in … Read more

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