WordPress.org

Ready to get started?Download WordPress

Forums

Category Posts in Custom Menu
[resolved] Images showing url instead of actual image (4 posts)

  1. iamthestreets
    Member
    Posted 6 months ago #

    When i add %post_feat_image it shows the url to the image not the actual image.

    How do i fix this?

    http://wordpress.org/plugins/category-posts-in-custom-menu/

  2. Diana Koenraadt
    Member
    Plugin Author

    Posted 6 months ago #

    Hi and thanks for your support question.

    Indeed, it shows the URL. In order to stay flexible, the post navigation label allows HTML. In order to show an image, you should use:

    <img src="%post_feat_image" />

    You can set additional properties if you study the HTML documentation for the <img> tag

  3. Diana Koenraadt
    Member
    Plugin Author

    Posted 6 months ago #

    Hi,

    I've extended the plugin with additional wildcards:

    %post_featured_image creates the image for you
    %post_featured_image_url only shows the url

    The same holds for
    %post_featured_image_thumb
    %post_featured_image_thumb_url

    The old tags %post_feat_image and %post_feat_image_thumb will remain supported for the time being.

    The changes are checked in, when I release a new version of the plug-in, this change will be included.

    Kind regards,
    Diana

  4. Diana Koenraadt
    Member
    Plugin Author

    Posted 6 months ago #

    New wildcards added in 0.9.3

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.