Support » Plugin: Related Posts by Taxonomy » Issue with standard gallery columns

  • Resolved sonamel

    (@sonamel)


    Hi, I like your plugin, it’s really useful and seems there is no other with similar options. I use it on all my websites.
    However, in this particular case I got an issue: I use wordpress standard gallery with 5 columns on my page and when I insert “Number of image columns” in plugin widget less than 5 (actually I need just 1 for my sidebar), it changes the standard gallery columns to 1 as well aligning with the plugin selection. I need your help to resolve the issue.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author keesiemeijer

    (@keesiemeijer)

    moderator

    Hi sonamel

    Can you link to page where this is happening?
    Does it happen when you disable all other plugins or switch to the default theme Twenty Seventeen?

    This happens only when related posts by taxonomy plugin is activated. The link is: http://worldart.site/alfred-sisley-1839-1899/

    Plugin Author keesiemeijer

    (@keesiemeijer)

    moderator

    You found a complex css bug. Thanks for letting me know 🙂

    It could be a couple of weeks before I have time to fix it and update the plugin again.

    In the next couple of days I will see if there is another solution (for you) before the next update.

    Thanks again

    Thank you keesiemeijer for your response. Though my blog is already switched on, I’ll wait for the solution.

    Plugin Author keesiemeijer

    (@keesiemeijer)

    moderator

    Hi again.

    I found a temporary solution. But we need to create our own template for it, as described here.
    https://keesiemeijer.wordpress.com/related-posts-by-taxonomy/templates/

    Create a directory related-post-plugin in your (child) theme’s folder. Copy the related-posts-thumbnails.php template file to this directory.

    And change this

    
    echo km_rpbt_related_posts_by_taxonomy_gallery( $args, $related_posts );
    

    To this

    
    $gallery = km_rpbt_related_posts_by_taxonomy_gallery( $args, $related_posts );
    echo preg_replace( '/(?<!related\-)(gallery\-\d+)/', 'related-$1', $gallery );
    

    This should solve your issue for now. I will let you know here when I fixed it in the plugin.

    btw:
    consider creating a child theme instead of editing your theme directly – if you upgrade the theme all your modifications will be lost.

    Thanks a lot for your efforts, however I’m afraid of messing up the background, as I’m not proficient in wordpress coding 🙂 I have deactivated the plugin, but not going to delete, as like the way it works and options are cute. I’ll wait for the regular update. But please do not forget to notify me when it is ready 🙂 thank you again for your good support. Though the plugin got a bug, I’m rating it 5 star.

    Plugin Author keesiemeijer

    (@keesiemeijer)

    moderator

    You’re welcome

    I will let you know when it’s fixed in this topic. If you’re subscribed you should get an email.

    Thanks again for informing me of the bug and the review!

    Hi keesiemeijer,

    Are there any news regarding plugin update? Sorry for chasing. This is necessary to continue website building further.

    Plugin Author keesiemeijer

    (@keesiemeijer)

    moderator

    Hi again the fix is added to the development version. This version is stable and fully tested. You can download it here

    https://downloads.wordpress.org/plugin/related-posts-by-taxonomy.zip

    sonamel

    (@sonamel)

    Hi, it worked. Thanks a lot for your efforts.

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