• Resolved sergis

    (@sergiselvas)


    Hi,

    I’m trying to create a Grid Builder by adding taxonomy of the post, including its image. Now I have somethin like this:

    [pods]{@custom_taxonomy.term_id}[/pods]

    from which to display id of the taxonomy, but I need to display the image. Is there an easy way to just add the url for example.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Jim True

    (@jimtrue)

    If your term meta custom field you added to the Taxonomy was called something like tax_image, you would just use the same style above:

    [pods]<img src="{@custom_taxonomy.tax_image._src}" />[/pods]

    See Using Magic Tags, specifically the section on Image handling:
    https://docs.pods.io/displaying-pods/magic-tags/using-magic-tags/#Image_Attachments

    Thread Starter sergis

    (@sergiselvas)

    It works fine, but <img code turns info < kind of code so it displays the image html input as text input.

    I’m using WPBakery Custom fields on the Grid Builder, is there any way to sort this our?

    Thanks!!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Display Taxonomy Image using Shortcode/WPBakery’ is closed to new replies.