Title: MrDean's Replies | WordPress.org

---

# MrDean

  [  ](https://wordpress.org/support/users/mrdean/)

 *   [Profile](https://wordpress.org/support/users/mrdean/)
 *   [Topics Started](https://wordpress.org/support/users/mrdean/topics/)
 *   [Replies Created](https://wordpress.org/support/users/mrdean/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/mrdean/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/mrdean/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/mrdean/engagements/)
 *   [Favorites](https://wordpress.org/support/users/mrdean/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] Missing Dashboard Features](https://wordpress.org/support/topic/missing-dashboard-features/)
 *  Thread Starter [MrDean](https://wordpress.org/support/users/mrdean/)
 * (@mrdean)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/missing-dashboard-features/#post-9439248)
 * Thank you! I feel like a fool! I’ve been using Yoast for some time but I could
   swear the Advance Settings has always been enabled by default, and I never had
   to enable them.
 * Thanks again!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AMP for WP - Accelerated Mobile Pages] Missing Desktop Elements](https://wordpress.org/support/topic/missing-desktop-elements/)
 *  Thread Starter [MrDean](https://wordpress.org/support/users/mrdean/)
 * (@mrdean)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/missing-desktop-elements/#post-9402561)
 * Help!!!! I deleted the plugin and now i have no redirects from amp pages and 
   the damm apm urls are not remove from google index. Im loosing tons of leads 
   and $$$$$$ daily! This is a huge mistake. Please help me get this rectified immediately!
   This is crazy! [http://www.ridesharereport.com](http://www.ridesharereport.com).
   I cant believe any amp plugin doesn’t have a “major’ warning when its deleted
   about the mess it creates!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[NextGEN Custom Fields] Custom Fields Not Working. Not Linking](https://wordpress.org/support/topic/custom-fields-not-working-not-linking/)
 *  [MrDean](https://wordpress.org/support/users/mrdean/)
 * (@mrdean)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/custom-fields-not-working-not-linking/#post-4760841)
 * [RESOLVED]
 * NextGen Gallery thumbnail image link in new window when using NextGen Custom 
   Fields plugin. Place target=”_blank’ in the following location:
 *     ```
       <div class="ngg-gallery-thumbnail">
                   <a target="_blank" href="<?php echo nggcf_get_field($image->pid, "Link"); ?>"
                      title="<?php echo esc_attr($image->description)?>"
                      data-src="<?php echo esc_attr($storage->get_image_url($image)); ?>"
                      data-thumbnail="<?php echo esc_attr($storage->get_image_url($image, 'thumb')); ?>"
                      data-image-id="<?php echo esc_attr($image->{$image->id_field}); ?>"
                      data-title="<?php echo esc_attr($image->alttext); ?>"
                      data-description="<?php echo esc_attr(stripslashes($image->description)); ?>"
                      <?php echo $effect_code ?>>
                       <img
                           title="<?php echo esc_attr($image->alttext)?>"
                           alt="<?php echo esc_attr($image->alttext)?>"
                           src="<?php echo esc_attr($storage->get_image_url($image, $thumbnail_size_name, TRUE))?>"
                           width="<?php echo esc_attr($thumb_size['width'])?>"
                           height="<?php echo esc_attr($thumb_size['height'])?>"
                           style="max-width:none;"
                       />
                   </a>
               </div>
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[NextGEN Custom Fields] Custom Fields Not Working. Not Linking](https://wordpress.org/support/topic/custom-fields-not-working-not-linking/)
 *  [MrDean](https://wordpress.org/support/users/mrdean/)
 * (@mrdean)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/custom-fields-not-working-not-linking/#post-4760840)
 * Agg!!! Sorry for the mess!
 * Does anyone where to add the target attribute in the above code so the “Link”
   opens in a new window?
 *     ```
       <div class="ngg-gallery-thumbnail">
                   <a href="<?php echo nggcf_get_field($image->pid, "Link"); ?>"
                      title="<?php echo esc_attr($image->description)?>"
                      data-src="<?php echo esc_attr($storage->get_image_url($image)); ?>"
                      data-thumbnail="<?php echo esc_attr($storage->get_image_url($image, 'thumb')); ?>"
                      data-image-id="<?php echo esc_attr($image->{$image->id_field}); ?>"
                      data-title="<?php echo esc_attr($image->alttext); ?>"
                      data-description="<?php echo esc_attr(stripslashes($image->description)); ?>"
                      <?php echo $effect_code ?>>
   
                       <img
                           title="<?php echo esc_attr($image->alttext)?>"
                           alt="<?php echo esc_attr($image->alttext)?>"
                           src="<?php echo esc_attr($storage->get_image_url($image, $thumbnail_size_name, TRUE))?>"
                           width="<?php echo esc_attr($thumb_size['width'])?>"
                           height="<?php echo esc_attr($thumb_size['height'])?>"
                           style="max-width:none;"
   
                       />
   
                   </a>
   
               </div>
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[NextGEN Custom Fields] Custom Fields Not Working. Not Linking](https://wordpress.org/support/topic/custom-fields-not-working-not-linking/)
 *  [MrDean](https://wordpress.org/support/users/mrdean/)
 * (@mrdean)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/custom-fields-not-working-not-linking/#post-4760839)
 * Does anyone where to add the target attribute in the above code so the “Link”
   opens in a new window?
    <?php
 * $this->start_element(‘nextgen_gallery.gallery_container’, ‘container’, $displayed_gallery);
 * ?>
    <div class=”ngg-galleryoverview<?php if (!intval($ajax_pagination)) echo ‘
   ngg-ajax-pagination-none’; ?>” id=”ngg-gallery-<?php echo_h($displayed_gallery_id)?
   >-<?php echo_h($current_page)?>”>
 *  <?php if (!empty($slideshow_link)): ?>
    <div class=”slideshowlink”> ‘><?php 
   echo $slideshow_link_text ?>
 *  </div>
    <?php endif ?>
 *  <?php if ($show_piclens_link): ?>
    <!– Piclense link –> <div class=”piclenselink”
   > “> <?php echo_h($piclens_link_text); ?>  </div> <?php endif ?> <?php
 *  $this->start_element(‘nextgen_gallery.image_list_container’, ‘container’, $images);
 *  ?>
    <!– Thumbnails –> <?php for ($i=0; $i<count($images); $i++): $image = $images[
   $i]; $thumb_size = $storage->get_image_dimensions($image, $thumbnail_size_name);
   $style = isset($image->style) ? $image->style : null;
 *  if (isset($image->hidden) && $image->hidden) {
    $style = ‘style=”display: none;”‘;}
   else { $style = null; }
 *  $this->start_element(‘nextgen_gallery.image_panel’, ‘item’, $image);
 *  ?>
    <div id=”<?php echo_h(‘ngg-image-‘ . $i) ?>” class=”ngg-gallery-thumbnail-
   box” <?php if ($style) echo $style; ?>> <?php
 *  $this->start_element(‘nextgen_gallery.image’, ‘item’, $image);
 *  ?>
    <div class=”ngg-gallery-thumbnail”> pid, “Link”); ?>” title=”<?php echo 
   esc_attr($image->description)?>” data-src=”<?php echo esc_attr($storage->get_image_url(
   $image)); ?>” data-thumbnail=”<?php echo esc_attr($storage->get_image_url($image,‘
   thumb’)); ?>” data-image-id=”<?php echo esc_attr($image->{$image->id_field});?
   >” data-title=”<?php echo esc_attr($image->alttext); ?>” data-description=”<?
   php echo esc_attr(stripslashes($image->description)); ?>” <?php echo $effect_code?
   >> <img title=”<?php echo esc_attr($image->alttext)?>” alt=”<?php echo esc_attr(
   $image->alttext)?>” src=”<?php echo esc_attr($storage->get_image_url($image, 
   $thumbnail_size_name, TRUE))?>” width=”<?php echo esc_attr($thumb_size[‘width’])?
   >” height=”<?php echo esc_attr($thumb_size[‘height’])?>” style=”max-width:none;”/
   >  </div> <?php
 *  $this->end_element();
 *  ?>
    </div> <?php
 *  $this->end_element();
 *  ?>
 *  <?php if ($number_of_columns > 0 && empty($show_all_in_lightbox)): ?>
    <?php
   if ((($i + 1) % $number_of_columns) == 0 ): ?> <br style=”clear: both” /> <?php
   endif; ?> <?php endif; ?>
 *  <?php endfor ?>
    <?php
 *  $this->end_element();
 *  ?>
 *  <?php if ($pagination): ?>
    <!– Pagination –> <?php echo $pagination ?> <?php
   else: ?> <div class=”ngg-clear”></div> <?php endif ?> </div> <?php $this->end_element();?
   >`

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