Support » Plugin: MetaSlider » Fields: ml-slider_title and ml-slider_url not considered in releases after 3.3.5

  • Dear Meta Slider team,

    we used to populate the Meta Slider fields “URL” (on General tab) and “Title” (on SEO tab) automatically by writing data directly into the custom fields “ml-slider_title” and “ml-slider_url”, which came with one of the previous releases of Meta Slider.
    We did this by using the “Media Assistant” plugin, which reads IPTC meta data from image files and writes it into those custom fields.

    However, it seems Meta Slider has changed the field mapping or discontinued support for those custom fields in releases after 3.3.5.

    I did some testing on a clean install and found that Meta Slider does not create those two fields any more with recent versions; while it is still done perfectly with the old 3.3.5 release.

    Could you please check if there is another solution or workaround which would allow us to fill Title/URL fields automatically again?

    Thanks for your support!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor kbatdorf

    (@kbat82)

    HI @diztechnik,

    I’m not sure of your exact use case, and we only took over this plugin recently, but I do see a filter that might be what you want.

    metaslider_image_slide_attributes

    So something like,

    function diztechnik_ms_attr_fn($slide, $slider, $settings) {
      $slide['url'] = 'https://example.com';
      return $slide;
    }
    add_filter('metaslider_image_slide_attributes', 'diztechnik_ms_attr_fn');

    Hi @kbatdorf

    Thanks for your response!

    I’ve gathered some more details:
    In metaslide.image.class.php there is one function

    public function get_admin_tabs()

    where you can find

    $url = esc_attr( get_post_meta( $slide_id, 'ml-slider_url', true ) );
    $title = esc_attr( get_post_meta( $slide_id, 'ml-slider_title', true ) );

    It seems that get_post_meta does not work any more for ml-slider_url and ml-slider_title (tested with 3.6.6), while it does with previous releases (in our case 3.3.x)

    Plugin Contributor kbatdorf

    (@kbat82)

    Hi @diztechnik,

    I will try to look into this further tomorrow. Sorry for the delay.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fields: ml-slider_title and ml-slider_url not considered in releases after 3.3.5’ is closed to new replies.