User Tools

Site Tools


components-depending-on-the_page

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
components-depending-on-the_page [2017/02/28 00:50]
Timbow [Several Pages Each with Different Components]
components-depending-on-the_page [2017/02/28 00:56]
Timbow [Several Pages Each with Different Components]
Line 13: Line 13:
 else {get_component('​mary'​);​} ?> </​code>​ else {get_component('​mary'​);​} ?> </​code>​
 which in English reads which in English reads
-  ​**If** the page slug is //index// insert the component //peter//, **otherwise if** the page slug is //about// insert the component //paul// and **otherwise** just insert the component //mary//.+ 
 +>**If** the page slug is //index// insert the component //peter//, **otherwise if** the page slug is //about// insert the component //paul// and **otherwise** just insert the component //mary//. 
  
  
components-depending-on-the_page.txt · Last modified: 2017/02/28 00:56 by Timbow