Help get this topic noticed by sharing it on Twitter, Facebook, or email.

exhibit gallery in Hight art theme

Hallo,
just a simple question, how can I remove the link from the exhibit gallery images to the exhibit pages?
I think is somewhere here but I cannot speak java!

function ha_exhibit_gallery() {
global $posts;

// Run Query
$ha_exhibit_gallery_query = null;
$temp = $ha_exhibit_gallery_query;
$ha_exhibit_gallery_query = new WP_Query();
$ha_exhibit_gallery_query -> query(array(
'post_type' => 'ha_exhibit',
'posts_per_page' => get_option('posts_per_page'),
'order' => 'DESC',
) );

if ( $ha_exhibit_gallery_query->have_posts() ) : ?>




have_posts() ) : $ha_exhibit_gallery_query->the_post(); ?>



post->ID, 'ha_videourl_value', true) != '' ) : ?>

post->ID, 'ha_videourl_value', true);
$ha_embed_code = wp_oembed_get($ha_video_url, array('width'=>925));
echo $ha_embed_code;
?>





post->ID, 'enable_flickr', true) ) : ?>


<?php printf( esc_attr__( 'View %s &rarr;', 'highart' ), the_title_attribute( 'echo=0' ) ); ?>






'ASC',
'post_type' => 'attachment',
'post_parent' => $ha_exhibit_gallery_query->post->ID,
'post_mime_type' => 'image',
'post_status' => null,
'numberposts' => 1,
);
$attachments = get_posts($args);
if ($attachments) {
foreach ($attachments as $attachment) {
echo "\tID, 'ha-full-gallery') . "\n\n";
}
1 person has
this question
+1
Reply