Support » Plugin: MudSlideShow » [Plugin: MudSlideShow] Use the "read more"

  • Resolved josesilveira


    Would use the “read more”?
    For example:
    The post appears in my home with 8 pictures by clicking the “read more ” or “see more” go to the post with full gallery.

    That would be possible?

    I use my wordpress as a photographic site, however, the home becomes too large due to the various galleries.


Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author sebaxtian



    I thought you can use the excerpt part to show a subset, but I found a bug here. If you know how to edit a php file I can suggest what to do until the next release, and I can also explain how to show a subset instead the entire gallery.

    I have a good grasp of PHP, if you have any idea what to do, can you give me any tips or code that I edit here!
    Thank you for your attention

    Plugin Author sebaxtian


    Ok, search for the file wp-content/plugins/mudslideshow/mudslideshow.php

    In lines 101 and 102 you would read this

    add_filter('the_content', 'muds_content');
    register_activation_hook(__FILE__, 'muds_activate');

    Now add this line between them
    add_filter('the_excerpt', 'muds_content');

    This line would allow MudSlideShow to format the excerpt.

    Now you can add a gallery to the post, and set a subset inside the excerpt. You can have a subset adding the first and last photo position to the tag, like this:


    Use the entire gallery (without the limits) in the post content, and the subset in the excerpt.

    In the next release I would add a setting in the configuration to allow the user to define if he wants to show just the first line when displaying a gallery in the homepage (or search page or tag page or category page). And I will add a new configuration number (the one that comes after the album source in the tags) to use the opposite behavior in a particular gallery.

    Managed to get the code, it was perfect for what I wanted to do!
    Thank you!
    If I wanted to check the result:

    Thanks and see you soon!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: MudSlideShow] Use the "read more"’ is closed to new replies.