My snippet stopped working after 6 months for MeowApps
-
I have a snippet based on this example of MeowApps:
https://meowapps.com/meow-lightbox/tutorial/#customize-the-title-or-another-field
This worked perfect units some days ago, nothing changed on the site.
add_filter( ‘mwl_img_title’, ‘my_filter_title’, 10, 3 );
function my_filter_title( $title, $id, $file ) {
$button = “<button id=\”bestel_button\” class=\”button\” onclick=\”window.location.href=’https://analogefotografie.be/bestel-een-print/?id=”.$id.”&file=”.$title.”‘;\”>Bestel hier je print</button>”;
return $button ;
}The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.