Update theme to work with WonderCMS 2.0.0

robiso edited this page Nov 12, 2017 · 4 revisions

Open your theme.php and replace your tags with the ones below

  1. Replace <?=$siteTitle?> with <?=wCMS::get('config','siteTitle')?>

  2. Replace <?=$title?> with <?=wCMS::page('title')?>

  3. Replace <?=$description?> with <?=wCMS::page('description')?>

  4. Replace <?=$keywords?> with <?=wCMS::page('keywords')?>

  5. Replace <?=wCMS::displayMessages()?> with <?=wCMS::alerts()?>

  6. Replace <?=wCMS::navigation()?> with <?=wCMS::menu()?>

  7. Replace <?=$content?> with <?=wCMS::page('content')?>

  8. Replace <?=$subside?> with <?=wCMS::block('subside')?>

Save your theme.php and you're done.

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.