Customise the add media pop-up to include rel attribute option

This is a tough one, but I would start here: Add new “Insert Into Post” button with another function. Below is some code to get started with adding the field via http://rider.sofarider.com/wordpress-tips-and-tricks/extra-input-field-to-add-an-image-panel/ From there, try something like the second code block. <?php function attachment_url_extra( $form_fields, $post ) { // input field relates to attachments // … Read more

Add a link to the Admin menu

You can intercept the global $submenu var and add the desired elements: add_action(‘admin_menu’, ‘add_custom_submenus’, 999); function add_custom_submenus() { global $submenu; $submenu[‘edit.php’][] = array( __(‘Published’), // menu title ‘edit_posts’, // menu cap ‘edit.php?post_status=publish&post_type=post’ // menu link ); $submenu[‘edit.php’][] = array( __(‘Scheduled’), ‘edit_posts’, ‘edit.php?post_status=future&post_type=post’ ); $submenu[‘upload.php’][] = array( __(‘Unattached’), ‘upload_files’, ‘upload.php?detached=1’ ); }

Shortcut to widget/sidebar editing on the admin menu?

I think that using standard WP featurs there’s no shortcut. But you can workaround using a custom widget. As example create a very simple widget, something like: class MyPageWidget extends WP_Widget { function __construct() { parent::__construct( ‘MyPageWidget’, ‘My Page Widget’ ); } function widget( $args ) { $page = get_page_by_path(‘sidebar-page’); if ( ! empty($page) ) … Read more