Bring Your Business to Life › Support › Image Store › Overriding functions
Tagged: hooks
- AuthorPosts
- December 5, 2015 at 12:15 am #453395
Xpark Media
KeymasterDecember 6, 2015 at 5:03 pm #454573johnh
ParticipantI think you may have missed something when you read my original post.
Your suggestion works fine for the gallery page but not the favorites page, which always shows the photo gallery and not a slideshow regardless of the settings for ‘Show photo links’. If you look at the gallery_shortcode function in store.php you will see that it cannot do anything else as it is currently coded.
That’s why I need to know the hook to overwrite this function. Or will you be fixing this bug in a later release?
Thanks.
December 7, 2015 at 12:18 am #454799Xpark Media
KeymasterThis is not a bug, it is by design. The slideshow is only for presentation and the favorites pages is displayed always as a grid.
You could use the “ims_before_galleries” filter to change the display. Include the favorites layout by using
include( IMSTORE_ABSPATH . '/_store/slideshow.php' );
December 7, 2015 at 9:57 am #455566johnh
ParticipantMany thanks.
- AuthorPosts
- You must be logged in to reply to this topic.