WordPress.org

Ready to get started?Download WordPress

Forums

Postie
Problem with customized image template and {TITLE} (1 post)

  1. faberka
    Member
    Posted 5 months ago #

    Hello,

    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>
    </div>

    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!

    Greets

    https://wordpress.org/plugins/postie/

Reply

You must log in to post.

About this Plugin

About this Topic