Get info from more fields in mini loops
-
Hello i’m trying to get information from another plugin in the shortcode loop of mini loops.
I made this line:
echo do_shortcode(" [miniloop number_posts=10 post_status=published current_category=1] <li>[ml_title][ml_image from=thumb width=200 height=150][ml_vanaf]</li> [/miniloop]");
and in helpers.php i added:
add_shortcode( 'ml_vanaf', 'miniloop_vanafPrijs'); function miniloop_vanafPrijs() { meta("vanafPrijs"); }
But the output from ml_vanaf is not inserted in the
<li></li>
but created outside the
<ul>
Anyone out here who can help?
https://www.ads-software.com/extend/plugins/mini-loops/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Get info from more fields in mini loops’ is closed to new replies.