Title: lightningman's Replies | WordPress.org

---

# lightningman

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contextual Related Posts] Minimum number of posts](https://wordpress.org/support/topic/minimum-number-of-posts/)
 *  Thread Starter [lightningman](https://wordpress.org/support/users/lightningman/)
 * (@lightningman)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/minimum-number-of-posts/#post-12524319)
 * Thanks for clarifying. Yes, I was looking for a way to randomly fill in remaining
   posts. Thanks anyway 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Slider, Gallery, and Carousel by MetaSlider - Image Slider, Video Slider] Image attributes developer API help](https://wordpress.org/support/topic/image-attributes-developer-api-help/)
 *  Thread Starter [lightningman](https://wordpress.org/support/users/lightningman/)
 * (@lightningman)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/image-attributes-developer-api-help/#post-12499653)
 * Hi,
 * I didn’t receive any errors in the console. However, I was able to get it working.
 * My last question is what indicates where the `add_filter` will be echoed? For
   instance, I had the default `<?php do_shortcode ?>` with my slider ID originally,
   but then the `add_filter` generated another slider at the bottom of the page.
   How do I control where on the page this is generated or should I stick with the`
   do_shortcode` but hide the duplicate slider somehow? Hope this makes sense.
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Slider, Gallery, and Carousel by MetaSlider - Image Slider, Video Slider] Image attributes developer API help](https://wordpress.org/support/topic/image-attributes-developer-api-help/)
 *  Thread Starter [lightningman](https://wordpress.org/support/users/lightningman/)
 * (@lightningman)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/image-attributes-developer-api-help/#post-12492053)
 * I’m getting the correct image title but now it only shows one slide, not the 
   whole slideshow
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Slider, Gallery, and Carousel by MetaSlider - Image Slider, Video Slider] Image attributes developer API help](https://wordpress.org/support/topic/image-attributes-developer-api-help/)
 *  Thread Starter [lightningman](https://wordpress.org/support/users/lightningman/)
 * (@lightningman)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/image-attributes-developer-api-help/#post-12491716)
 * Hi,
 * Thanks for your reply. When I `echo get_the_title()` I get the post title.
 * Do I need to call this function `metaslider_add_rel_attribute_to_images()` and
   if so, which parameters do I use for `$slide` and `$attributes`? The [developer api docs](https://www.metaslider.com/documentation/metaslider_type_slider_image_attributes/)
   say it takes in an array of slide data for `$slide` but I’m not sure what that
   refers to.
 * Thanks

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