• I’m using the Toolbox theme as a starting point for my own theme.

    Within the Toolbox theme files is a folder called “bonus”.

    Questions:

    1. What is the “bonus” folder supposed to illustrate? The only “doc” is a link to this tweet thread. Is this folder (and files within) supposed to show people how to do some sort of “cool” technique, or is it just a superfluous addition not meant to be taken seriously? As a noob theme developer, I can’t tell.

    2. I assume I can delete this folder without any side effects?

    Thanks!
    Micky

Viewing 4 replies - 1 through 4 (of 4 total)
  • It’s just a bit of fun (see https://baldguy.files.wordpress.com/2011/07/pewpew.jpg ) and can quite safely be deleted if you don’t want it.

    Thread Starter mhulse

    (@mhulse)

    Hi Esmi!

    Thanks for the quick reply and help, I really appreciate it. ??

    Ahh, I see now! I totally missed the link to the image!

    My “noobiness” to theme development (and WordPress in general) is shining through.

    Speaking of the “bonus” folder, how does that CSS file that’s in there (sample.css) relate to laseers.php?

    Thanks again!!!! Much appreciated. ??

    Cheers,
    Micky

    I’ve not tried it out but it looks like an example style.css file that you could use to “skin” Toolbox. Try renaming the current style.css file in the main theme folder to something like style.css.old and then move the bonus style.css file into the main theme folder. You should get a new look theme.

    Thread Starter mhulse

    (@mhulse)

    Ahh! I see! That makes sense. Thanks for the clarification.

    For some reason, I thought sample.css was related to lasers.php… Now I feel silly. ??

    If you don’t mind me asking one last question… How would I go about using toolbox_super_laser_defense() function? Do I need to copy/paste the method into my functions.php file and/or include bonus/lasers.php in the calling PHP file?

    I tried calling toolbox_super_laser_defense() from the functions.php file, but got an error… I was thinking maybe WP included that method in the global scope automatically, but it looks like I might have to do what I mentioned in my last paragraph above, no?

    Thanks again for your help!!! I really appreciate it. ??

    Cheers,
    Micky

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Automattic Toolbox theme: What's with the "bonus" folder?’ is closed to new replies.