Support » Plugin: Gallery by BestWebSoft » Display gallery's title in post

Viewing 1 replies (of 1 total)
  • Plugin Author bestwebsoft

    (@bestwebsoft)

    Hello smumdax,

    You can edit the file gallery-plugin.php.
    Please find code, which is started from 1067 string
    if ( $second_query->have_posts() ) :
    while ( $second_query->have_posts() ) :
    global $post;
    $second_query->the_post(); ?>
    <div class=”gallery_box_single”>
    <?php the_content();

    and add there the string:
    if ( $second_query->have_posts() ) :
    while ( $second_query->have_posts() ) :
    global $post;
    $second_query->the_post(); ?>
    <h3><?php echo $post->post_title; ?></h3>
    <div class=”gallery_box_single”>
    <?php the_content();

    This change will add the displaying of a gallery title when you insert shortcode [print_gllr id=1622].
    But, please note, when you will update the plugin these changes will be removed and you should add them again.

    Kind regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Display gallery's title in post’ is closed to new replies.