Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mtz

    (@mtz)

    adding this

    1) First thing i made work myself, here is the code:

    // START added by mtz
    function dh_get_page_image_alt() {
    	$load_this_media = get_media_header_url();
    	if(get_option('dhnd_'.$load_this_media.'_alt') != ""){
    		return get_option('dhnd_'.$load_this_media.'_alt');
    	} else {
    		return "";
    	}
    }
    // END added by mtz

    2) Looking at the code, custom wp-content-folders seem to be implemented here and there – but the backend plugin page kept showing me an error message.

    hi, i fixed it. very trvial! there is a mad typing error in line 91:

    it shouldnt be:
    $images = gi_library('madium', '', false, 'array');

    but

    $images = gi_library('medium', '', false, 'array');

    now it works fine even in wordpress 2.71.

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