Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • kreynol7

    (@kreynol7)

    To add to Crgeary post. I simply used the “admin_notices” hook and called my new function. Then i used css to float the welcome panel to the left and all was fixed. Here is my code

    To view all hooks on a page checkout:
    http://wp.smashingmagazine.com/2009/08/18/10-useful-wordpress-hook-hacks

    To view hooks db: http://adambrown.info/p/wp_hooks/version/3.3

    To view wordpress source code checkout: http://xref.yoast.com/
    Replace all of the div content in the welcome screen below with your content.

    [ 96 lines of code moderated. For more than 10 lines of code please use pastebin.com instead. ]

    DONT FORGET TO THEN ADD CSS: float:left on the .welcome-panel div and then all should be fixed.

    kreynol7

    (@kreynol7)

    WP 3.1 FEATURED IMAGE LINK NOT SHOWING IN WP-ADMIN QUICKFIX, HALLELUA JESUS!

    4 Hours later and Heres the fix.
    Use your file manager/ftp to open WP-ADMIN directory, open EDIT-FORM-ADVANCED.PHP and change line 131 from ! is_multisite() to is_multisite(). Just remove the !(which stands for NOT). WordPress does not allow you to have featured image in WP 3.1.

    IF NOT ON LINE 131 IN YOUR EDITOR LOOK FOR THE COMMENTS THAT SAY
    // All meta boxes should be defined and added before the first do_meta_boxes() call (or potentially during the do_meta_boxes action).

    OR

    // all taxonomies

    FULL CODE TO PASTE INTO YOUR EDITOR….

    REPLACE THIS CODE ———-:
    if ( current_theme_supports( ‘post-thumbnails’, $post_type ) && post_type_supports( $post_type, ‘thumbnail’ )
    && ( ! is_multisite() || ( ( $mu_media_buttons = get_site_option( ‘mu_media_buttons’, array() ) ) && ! empty( $mu_media_buttons[‘image’] ) ) ) )
    add_meta_box(‘postimagediv’, __(‘Featured Image’), ‘post_thumbnail_meta_box’, $post_type, ‘side’, ‘low’);

    WITH THIS CODE ————
    if ( current_theme_supports( ‘post-thumbnails’, $post_type ) && post_type_supports( $post_type, ‘thumbnail’ )
    && ( is_multisite() || ( ( $mu_media_buttons = get_site_option( ‘mu_media_buttons’, array() ) ) && ! empty( $mu_media_buttons[‘image’] ) ) ) )
    add_meta_box(‘postimagediv’, __(‘Featured Image’), ‘post_thumbnail_meta_box’, $post_type, ‘side’, ‘low’);

Viewing 2 replies - 1 through 2 (of 2 total)