Bio not provided
@ChrisZarza Hey Chris, one site that I have this working on is http://thatverynextthing.com
3 months, 1 week ago on NextGen Gallery Tweet and Like Buttons
@jeremib Awesome! Glad you found it useful!
3 months, 3 weeks ago on NextGen Gallery Tweet and Like Buttons
@nicowegher Can you post the site you're having trouble with? Sounds like it might be a CSS issue, though.
6 months, 3 weeks ago on NextGen Gallery Tweet and Like Buttons
@HenryMKalango Glad you got it figured out! What was the culprit?
@HenryMKalango I'm not sure...I think Yoast's SEO plugin generates it, though. I suppose it could also be hard coded into your header.php file as well.
7 months, 1 week ago on NextGen Gallery Tweet and Like Buttons
@WOCTX As long as you have the "Single Image" template file created as I've outlined above, all you need to do is create a new, blank page within WordPress and select the "Single Image" template from the drop-down list in the "Page Attributes" section as shown in this screenshot: yfrog.com/kh35931538j
@HenryMKalango Glad I could help! It looks like you have "<link rel='canonical' href='http://kalangoseco.com.br/single_image' />" in your header. Also, the lines after "<!-- Start AL2FB OGP -->" are specific to Facebook's OpenGraph and the "og:url" may interfere with this also.
Try removing the "<link rel='canonical'..." mentioned above first and see if that works. If not...I think that other block of code is coming from the "Add Link to Facebook" plugin.
Let me know what you find out.
@WOCTX Nope! Once you have the "Single Image" utility page and template made, that one page will be used for all images.
@HenryMKalango I see that you have the actual template set up correctly but I don't think you've actually set the 'single_image' page to use that template in WordPress. Here is the body tag I see when I click on "Compartilhe Imagem" <body class="page page-id-1460 page-child parent-pageid-11 page-template-default chrome">. I think the "page-template-default" shows that it's not set to a particular page template within the WordPress admin.
You're correct...the theme you're using should not matter.
Also, you have an unclosed <script> tag right before "</head>
@HenryMKalango Ok. Is your 'single_image' page set to use the 'single_image' page template?
@HenryMKalango That block of code goes within “singlepic.php” (from your theme folder>nggallery).
@gabstero Try copy/paste from the code section above in the tutorial...not from my reply.
8 months ago on NextGen Gallery Tweet and Like Buttons
@gabstero Alright, I think I know what the issue is. Zigzagad was having a similar issue and I've updated the code that goes into gallery.php see my edit above. The code should now be:
<a href="<?php echo $image->imageURL ?>" title="<?php echo $image->description ?> <a href="<?php echo get_page_link(pageID); ?>?pid=<?php echo $image->pid;?>">Share Image</a>" <?php echo $image->thumbcode ?> >
Try replacing that and see if that fixes the problem.
@zigzagad No problem!
@zigzagad See my edited code for gallery.php above. Apparently I got a little too excited encoding the angle brackets and had encoded the ones around the php tags. Let me know if that fixes things. Thanks!
@zigzagad Sorry...I meant 'gallery.php'
@gabstero Hey Gabstero! The way this tweak works is that the page we created that uses the "single image" template basically serves as a sort of 'utility' page. Meaning that every gallery you use this technique with will use that page to serve a single, sharable image url. Let me know if that makes sense.
@zigzagad Hey zigzagad, can you post a link to your full code from your "singlepic.php" someplace like pastebin.com? I'll be able to get a better idea of what happened but it looks like the php code isn't being parsed.
@JosephBraun I just switched over to the shutter effect on my test install and everything still worked. The "Share Image" text didn't look very pretty so you may want to tweak the styling, though.
8 months, 3 weeks ago on NextGen Gallery Tweet and Like Buttons
Awesome...glad you got it figured out!
10 months ago on NextGen Gallery Tweet and Like Buttons