WordPress.org

Ready to get started?Download WordPress

Forums

Gallery
[resolved] support on multiple edits (3 posts)

  1. artisana
    Member
    Posted 1 year ago #

    hello!
    I just downloaded this plugin and am using it on this site:
    http://dreaminspireddesign.com

    I am looking to edit a few things:

    1) I would like to link the featured image and the title of each gallery (as shown on the "portfolio page") to their corresponding gallery url. Where can I set this up?

    2) {related to 1)} I would like to remove the post text (everything that follows the title) from the main portfolio page as well. I have tried using the <!-- <div><?php echo the_excerpt_max_charlength(100); ?></div> --> edit, but do not see the change taking place. What am I doing wrong?

    3) Am I able to change the mono font into a sans-serif to match the rest of my site?

    4) I would also like to have the title of each gallery page to be formatted as h3 text. Where can I add this?

    5) I want to add some padding beneath the linkback code at the bottom of each gallery page. How can I do that?

    Thank you in advance!

    Cheers,
    Ana

    http://wordpress.org/extend/plugins/gallery-plugin/

  2. artisana
    Member
    Posted 1 year ago #

    I hope BestWebSoft sees this topic and can shed some light on how to customize their plugin.

    If you know where I can begin to change any of the topics above, please share!

    Thanks!
    Ana

  3. bestwebsoft
    Member
    Plugin Author

    Posted 1 year ago #

    Hello artisana,

    You should add changes to plugin files for it, but please note that when you will update the plugin, all this changes will be removed and you should add them again.
    1, 2. Please find these stings from 1055 string in the gallery-plugin.php file:

  4. <img style="width:<?php echo
    $gllr_options['gllr_custom_size_px'][0][0]; ?>px;" alt="<?php echo
    $post->post_title; ?>" title="<?php echo $post->post_title; ?>"
    src="<?php echo $image_attributes[0]; ?>" />
    <div class="gallery_detail_box">
    <div><?php echo $post->post_title; ?></div>
    <div><?php echo the_excerpt_max_charlength( 100 ); ?></div>
    ID ); ?>"><?php echo
    $gllr_options["read_more_link_text"]; ?>

    </div>
    <div class="clear"></div>
  5. and change it to:

  6. ID ); ?>">
    <img style="width:<?php echo
    $gllr_options['gllr_custom_size_px'][0][0]; ?>px;" alt="<?php echo
    $post->post_title; ?>" title="<?php echo $post->post_title; ?>"
    src="<?php echo $image_attributes[0]; ?>" />

    <div class="gallery_detail_box">
    <div><?php echo $post->post_title; ?></div>
    <!-- <div><?php // echo the_excerpt_max_charlength( 100 ); ?></div> -->
    ID ); ?>"><?php echo
    $gllr_options["read_more_link_text"]; ?>

    </div>
    <div class="clear"></div>
  7. You wrote that you made changes <!-- <div><?php echo
    the_excerpt_max_charlength( 100 ); ?></div> --> and they didn't give you any results. Please try to clean cache.

    3. Please specify these strings in the css file of your theme:
    .gallery_box {
    font-family: sans-serif;
    }

    4. The files gallery-single-template.php and gallery-template.php are used for the gallery displaying. And when you install the plugin, these files are copied to your theme. Please find these files in the folder with your theme and change the string
    <h1 class="home_page_title"><?php the_title(); ?></h1>
    to this string:
    <h3 class="home_page_title"><?php the_title(); ?></h3>

    5, Please add these strings to css file of your theme:
    .return_link {
    padding-bottom: 15px;
    }

    Kind regards.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags