pods where clause in do_shortcode
-
Is it possible to quote the following pods shortcode in a do_shortcode call? It works ok without the where clause but gives a syntax error at the first { otherwise.
[pods name="author" limit="-1" where= "d.first_name like'%{@get.firstname}%' and d.last_name like'%{@get.lastname}%' " ] ....html with various other{magic tags} ...[/pods]
I could clearly rewrite the whole thing in php pretty easily but would prefer to use the shortcode and magic tags. The code is in a page template.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘pods where clause in do_shortcode’ is closed to new replies.