Jump to content

need to unlink Media Library (Wordpress)


jarv

Recommended Posts

Hi, I need to unlink my images in my Media Library (wordpress) on my blog: http://www.jbiddulph.com/blog/index.php/featured/

 

Please help?!

 

I think it is in this piece of code:

 

foreach ( $attachments as $id => $attachment ) {
        $link = isset($attr['link']) && 'file' == $attr['link'] ? wp_get_attachment_link($id, $size, false, false) : wp_get_attachment_link($id, $size, true, false);
        $output .= "$link";
        if ( $captiontag && trim($attachment->post_excerpt) ) {
            $output .= "
                
                " . wptexturize($attachment->post_excerpt) . "
                ";
        }
        
        if ( $columns > 0 && ++$i % $columns == 0 )
            $output .= '';
    }

Link to comment
https://forums.phpfreaks.com/topic/215957-need-to-unlink-media-library-wordpress/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.