Ready to get started?Download WordPress


Problem with customized image template and {TITLE} (3 posts)

  1. faberka
    Posted 6 months ago #


    I have a problem with the image template. I use the following customization:

    <div id="attachment_{ID}" class="wp-caption alignleft" style="width: {LARGEWIDTH};"><img class="size-large wp-image-{ID}" title="{TITLE}" alt="{CAPTION}" src="{LARGE}" />
    <p align="left">Full</p>

    According to the manual, {TITLE} is the same as {POSTTITLE}, and {POSTTITLE} gets replaced with the post title (subject) of the e-mail, right?

    However, with my customization, the title of an posted image is its file name, not the subject of the e-mail. When I tried the same with {POSTTITLE}, the title of the posted image became "tmptitle".

    To see if there is a general problem with my code I tested it with title="{ID}" and this worked fine. No idea what might be the problem, any hints are highly appreciated!



  2. Wayne Allen
    Plugin Author

    Posted 6 months ago #

    Thanks for pointing out this bug. I'll get it fixed.

  3. faberka
    Posted 6 months ago #

    Hi Wayne,

    thanks, I do not even know if it is a bug or if I did something wrong. Hope it will work soon, it is really a nice plugin.


You must log in to post.

About this Plugin

About this Topic