Support » Plugin: Custom Content Shortcode » How to hide post title when using image title loop

  • Resolved Moses001

    (@moses001)


    This plugin is fantastic. It has so many capabilities. I am just learning to use it.

    Is there a way to hide the post tile when I wish to display featured image title instead?

    I tried some things. The following did not remove post title.
    ‘[loop type=product exclude title]
    [field image-title]
    [field image-caption]
    [field thumbnail]
    [/loop]’
    Thanks for some direction.

    https://wordpress.org/plugins/custom-content-shortcode/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Eliot Akira

    (@miyarakira)

    Hello,

    The exclude parameter is for excluding posts from the loop, not fields. Only the fields that you specify with the [field] shortcode should be displaying.

    I tested the code above, and it only displays image title, caption, etc. Could you tell me where you’re seeing the post title?

    Thread Starter Moses001

    (@moses001)

    My mistake. When using another plugin I had to type title in image caption. The more I work with Custom Content ShortcoSos the more I like it. I have much more learning to do.

    So far I am using CCS Plugin to display Woocommerce products. It is really neat that using [field title] I get the product name and with [field image-title] I get the featured image title.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to hide post title when using image title loop’ is closed to new replies.