- April 11, 2015 at 9:43 am #4761AndrewGuest
Hi! Explain me, please, where i need insert shortcode? My home page is dynamic and i need to load all posts on it in masonary way using your plugin. But when i put shortcode in the index.php nothing happens, if i insert it in the post editing window it works, but not correct (if you click first link on the trekhacker.ru site you`ll see). Please, help me.April 11, 2015 at 1:51 pm #4766AndrewGuest
The problem has been solved. There was mistake in code. Plugin wrote that shortcode is:
[wmls name="masonry" id="1"], but if you want to paste it in the your index.php you must use that code with out “” after id=. So in my case all works when i wrote:
<?php echo do_shortcode(“[wmls name="masonry" id='1']“); ?>April 13, 2015 at 4:19 pm #4800Masonry GuyKeymaster
Glad you fixed the problem and thank you so much for posting the solution for others.