I’m coding a theme and i want to create a configuration file (maybe ini) to control variables in the theme
For example,
I want to have a file with simple content like this
navigation: 1;
site_name: MYSITE;
^ dunno if the syntax is right…just an example
And then i want to use that file to show the content stored in those variables.
for example :
shows the value entered in the file
i also want to show/hide specific content based on the Boolean value entered in the value (navigation: 1 or 0)
something like
I hope i’m understandable. I’m a noob in PHP :’>
Perhaps take a look at
parse_ini_file().