About this topic

  • Posted by Pagal 1 year ago. There are 2 posts. The latest reply is from byron.
  • This topic is not resolved
  1. 3rd Question:
    I use <?php echo wp_get_attachment_url(); ?> in my image.php to get the single photo from a gallery.
    And now formate is like that
    http://www.my-webiste.com/attachment/image-name

    So, I also want to show the information for this image in this page, what will be the code?
    I mean how can I use [caption][full_caption][file_name][user_name] or uploaded date etc alone this for image.php?

    Thanks for your time and kind help,
    Regards,
    P.

  2. Hi Pagal,

    I'm not sure I understand the question, but I'll give it a try. If you want to just show a single image, you can use:

    [psmash image_id=1102 layout=std]

    So you can build a custom layout, using all of those tags ([caption][full_caption][file_name][user_name]) and just reference the layouts name in that shortcode.

    Hope that's what you were looking for.

    Byron

RSS feed for this topic