Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Components specific to the page - How?
#5
PHP Code:
get_component('sidebar-'.get_page_slug()); 

You oly need a check function if you want to use a default if the component does not exist.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply


Messages In This Thread
RE: Components specific to the page - How? - by shawn_a - 2013-02-13, 02:48:38



Users browsing this thread: 1 Guest(s)