I'm putting the News module in place and wanting to be able to turn {$lastpage}, {$nextpage}, {$prevpage}, {$firstpage} into buttons.
It looks like these {$firstpage} convert to <a> tags. So I could wrap them in a div, but could love to be able to simply add a CSS class to the <a> tag and manage the button that way.
any ideas?
[SOLVED] News Module - change {$lastpage} html
-
michaywood
- Power Poster

- Posts: 280
- Joined: Thu Apr 15, 2010 12:27 am
[SOLVED] News Module - change {$lastpage} html
Last edited by michaywood on Wed May 20, 2015 2:54 pm, edited 1 time in total.
Re: News Module - change {$lastpage} html
{get_template_vars} is very helpful in those cases.
It would show you - when used in the news summary template - that {$firsturl} and {$lasturl} are available, allowing you to build your own button.
It would show you - when used in the news summary template - that {$firsturl} and {$lasturl} are available, allowing you to build your own button.
-
michaywood
- Power Poster

- Posts: 280
- Joined: Thu Apr 15, 2010 12:27 am
Re: News Module - change {$lastpage} html
beautiful. works perfect! thanks!

