Overriding functions

Bring Your Business to LifeSupportImage StoreOverriding functions

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #453395
    Xpark Media
    Keymaster

    This is the settings that you should use. There is no need to use a hook to make that modification.

    Please let us know if you still have problems.

    Screen Shot 2015-12-05 at 12.12.49 AM

    #454573
    johnh
    Participant

    I 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.

    #454799
    Xpark Media
    Keymaster

    @johnh,

    This 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' );

    #455566
    johnh
    Participant

    Many thanks.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.