Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #315330

    Hi There,

    AMAZING THEME. so impressed with it. Quick question:

    I want to have a masonry portfolio grid but I want the images to open up in a Lightbox overtop of the gallery and not above it – how do I get this to work? I have several categories – and the masonry isn’t allowing them. The portfolio grid only opens them above the portfolio and I want them in a Lightbox with the title and excerpt underneath – make sense?

    #315618

    Hey creatiffco!

    Thank you for using Enfold.

    If you want the masonry overview page opens the image on a lightbox when you click a thumbnail, edit the portfolio item then look for the Overwrite Portfolio Link setting. Set to “Define custom link” then provide a link to the actual image.

    Cheers!
    Ismael

    #315893

    Hey Ishmael! Thanks for the response – That works well — but there no way for the masonry to allow the preview text to show it too right? I love the way the grid portfolio had that option but I just didn’t want it to push the other portolfio items to the bottom of the screen, I wanted it to appear on top, thoughts?

    • This reply was modified 10 years, 2 months ago by creatiffco.
    #316327

    Hey!

    I’m sorry but what do you mean by “Preview Text”? Do you mind if we take a look at your current installation? We would like to inspect it. A screenshot on how you want it to look will help.

    Best regards,
    Ismael

    #316608

    Hi!

    Thanks for helping me with this, I really REALLY appreciate it.

    I want to have a social share option in the excerpt so I have the Masonry portfolio set up, I’ve custom linked (just the first few items) to their own URL link (so they open up in their own light box) but I want to have the excerpt display social sharing icons (facebook, twitter, pinterest) on the rollover. Right now I have it set for excerpt to show on rollover but the code isn’t being picked up.

    Here it is: http://www.kidderconnell.com/portfolio/

    Help please on how you think I should do this…. I wish the rollover would display the preview text area so that it could display a shortcode, or do you think it will actually work on the excerpt?

    I am using this plug-in currently:
    https://wordpress.org/plugins/social-sharing-toolkit/screenshots/

    But I have looked into this one:
    http://wordpress.org/plugins/nextgen-facebook/

    What will work? I would like it to be similar to this website’s home page (except I’d like to keep Enfold’s rollover white bar height)
    http://bensasso.com/

    I hope this makes sense, please let me know if you need anything else!

    My best.

    #317269

    Hey!

    Honestly, we haven’t tested those plugins but if you’re going for the Social Sharing Toolkit, enable the shortcode then edit the config-templatebuilder > aviashortcodes > masonry_entries.php. Add the social shortcode somewhere on these line of codes starting from line 562:

    $items .=	"<figcaption class='av-inner-masonry-content site-background'><div class='av-inner-masonry-content-pos'><div class='avia-arrow'></div>".$text_before;
    					
    					if(strpos($this->atts['caption_elements'], 'title') !== false){
                            $markup = avia_markup_helper(array('context' => 'entry_title','echo'=>false, 'id'=>$entry['ID'], 'custom_markup'=>$this->atts['custom_markup']));
    						$items .=	"<h3 class='av-masonry-entry-title entry-title' {$markup}>{$the_title}</h3>";
    					}
    
    					if(strpos($this->atts['caption_elements'], 'excerpt') !== false && !empty($content)){
                            $markup = avia_markup_helper(array('context' => 'entry_content','echo'=>false, 'id'=>$entry['ID'], 'custom_markup'=>$this->atts['custom_markup']));
    						$items .=	"<div class='av-masonry-entry-content entry-content' {$markup}>{$content}</div>";
    					}

    Best regards,
    Ismael

    #317412

    Hey!

    Great, thanks. Where do I enter the shortcode in that code? The shortcode is [social_share/]

    • This reply was modified 10 years, 2 months ago by creatiffco.
    #317893

    Hi!

    If you’re using an excerpt on the masonry element. Look for this line of code:

    if(strpos($this->atts['caption_elements'], 'excerpt') !== false && !empty($content)){
                            $markup = avia_markup_helper(array('context' => 'entry_content','echo'=>false, 'id'=>$entry['ID'], 'custom_markup'=>$this->atts['custom_markup']));
    						$items .=	"<div class='av-masonry-entry-content entry-content' {$markup}>{$content}</div>";
    					}

    Replace it with this:

    if(strpos($this->atts['caption_elements'], 'excerpt') !== false && !empty($content)){
                            $markup = avia_markup_helper(array('context' => 'entry_content','echo'=>false, 'id'=>$entry['ID'], 'custom_markup'=>$this->atts['custom_markup']));
    						$shortcode = "[social_share/]";
    						$items .=	"<div class='av-masonry-entry-content entry-content' {$markup}>{$shortcode}{$content}</div>";
    					}

    See if it works.

    Regards,
    Ismael

    #318125

    Hi! Thanks for your response. I replaced the code but now all that shows is the shortcode… the actual HTML text… is there a way to code in sharing icons (facebook, twitter and pinterest) in the excerpt?

    Thanks for all your help, I really really appreciate it.

    Jane

    #319283

    Can someone reply to my question? :/

    #319594

    Hi!

    My bad. Please replace the code with this:

    if(strpos($this->atts['caption_elements'], 'excerpt') !== false && !empty($content)){
                            $markup = avia_markup_helper(array('context' => 'entry_content','echo'=>false, 'id'=>$entry['ID'], 'custom_markup'=>$this->atts['custom_markup']));
    						$shortcode = do_shortcode('[social_share/]');
    						$items .=	"<div class='av-masonry-entry-content entry-content' {$markup}>{$shortcode}{$content}</div>";
    					}

    Cheers!
    Ismael

    #319935

    Why is it still not working? http://www.kidderconnell.com/portfolio/ It shouldn’t be this difficult?

    #323096

    Hi!

    The shortocde should be added with whatever the actual shortcode is:

    '[social_share/]'

    So if that isn’t correct you can change it to whatever is.

    Regards,
    Devin

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