WP template tags in EM templates; formatting output
-
I’m trying to make a custom events list whose content includes material generated by WP template tags, *and* has pagination.
I’ve ben able to incorporate template tags using this method (EM_Events::get()), but even with the pagination flag set in the query, I don’t get any pagination tool. Pastebin code here.
Alternatively, I’ve been able to use the event-list.php template to do the formatting *and* get the pagination to work, but I can’t figure out how to include my WP template tags in there. When I use this code, I get an error of “current() expects parameter 1 to be array, string given in [path]/classes/em-events.php on line 171”.
I think I’m pretty close to the solution, but it still eludes me! Big help so far from threads like this and the other one linked above… I just am missing something.
Marvelous plugin, for sure. Help?
- The topic ‘WP template tags in EM templates; formatting output’ is closed to new replies.