• Resolved aparsley

    (@aparsley)


    I haven’t kept real close track of the updates since the Wp shortcode update, but at some point the plugin stopped working on my [if] shortcode.

    I now get a “fatal error class ccs_to_acf…”

    If i take the [if image] condition out, then it works fine.

    [loop type="post" count="3"]
          <div class="col-md-4 wow fadeIn">
            [if image]
            <a href="[field url]" title="[field title]"><img src="[field image-url]" style="height:180px;" class="img-responsive"></a>
    				[/if]
            <h2>[field title-link]</h2>
            <h4 class="text-muted"><i class="fa fa-calendar"></i> [field date]</h4>
            <p>[field excerpt] ...<a href="[field url]" title="[field title]">More <i class="fa fa-long-arrow-right"></i></a></p>
          </div>
          [/loop]

    Thanks!

    https://ww.wp.xz.cn/plugins/custom-content-shortcode/

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

The topic ‘[if] fatal error’ is closed to new replies.