using html as shortcode attribute

Pass just the element names and convert them to tags in your shortcode:

[irt_top_posts post_type="showcase"  container="div" number="10"]

In your callback:

$return "<$container>$return</$container>";

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)