• Resolved josesilveira

    (@josesilveira)


    Hello!
    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.

    Thanks!

    http://wordpress.org/extend/plugins/mudslideshow/

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

    (@sebaxtian)

    Hello!

    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.

    Thread Starter josesilveira

    (@josesilveira)

    Hi!
    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 Sebastian Echeverry

    (@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:

    [mudslide:picasa,0,baxtian.echeverry,5557236303130675009,2,4]

    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.

    Thread Starter josesilveira

    (@josesilveira)

    Hello!
    Managed to get the code, it was perfect for what I wanted to do!
    Thank you!
    If I wanted to check the result: http://www.josesilveira.net

    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.