My Very First Theme, And a Few Questions
-
So, I finally created my very first theme. The design was done by a buddy, and I turned it into a WordPress theme with a few modifications. His CSS is a little beyond my knowledge, and I’m learning that there are “proper” ways to CSS a WP theme. At least, that seems to be the opinion of other theme creators out on the interwebs. The original CSS was not meant for WP at all.
You can see a sample at:
https://businesswithjosh.com/vivid/and download the files if you desire at:
https://businesswithjosh.com/vivid-download/Vivid.zipOn my end, everything looks ok, but I went through a lot of tutorials and consulted many websites to resolve issues that were dated (a lot from around 2008). I have no idea if the way I handled a lot of things are correct/up-to-standards, and the code is messy at best. I’m going through a few checklists I found, of which a lot of items are requiring me to learn more via the Codex, but I wanted to see if anyone had any pointers on next steps or areas that need attention.
I also have a question about accepted personal promotion via a theme. What I mean is, the sidebar on all pages other than the home page is widgetized, but has default content until a widget is applied to the area. I inserted a couple sites of my own, and that of the guy that designed the original theme. I also included links in the footer. All of this can be taken off, of course; and I’ve seen a lot of other themes do this, but if there is a line that the community as a whole feels shouldn’t be crossed, I would rather not cross it (I don’t wanna be “that guy”). However, I would like to point to our stuff where available.
On the top of my “to-do” list is the following:
- Get a search bar on there, and get it to work. I tried for about 5 minutes, and it didn’t. But I’m sure a few searches in the forum are probably sufficient.
- I also want to make use of thumbnails, but I am really bad at aesthetics and want to work with my designer to figure a pleasing way to present them.
- I also haven’t installed a single plugin yet, so I don’t know if anything breaks from there. I found a list of some of the most common plugins I should test, so will be doing that in the next few days.
- I know I need to create a thumbnail for it or whatever (the box you see in the theme selection page). I haven’t even looked into that yet, but I’m sure that’s not difficult.
Known Issues:
The addition of the “/” when using an apostrophe in any of the theme options fields. I have done a few initial searches and have found a few forum threads relating to problems with specific plugins, but this is coming from code that was hacked together by me in the functions.php (about 80% was found online, but it’s likely I did something to cause the problem).
I am going to look into that further; as requesting anyone to go through that at this point is asking a bit much.
Every once in a while, I will go to a page and the 3 middle boxes break. This happens to me in FF, but doesn’t appear to in Chrome. I haven’t given IE enough of a look (I’m on a Linux machine tonight and don’t have the browser switcher FF addon). If I refresh a few times, it works itself out. But if a few tests show a trend it will obviously become a priority.
I’m actually thinking this has something to do with the very slow machine I have, but will also look into it further. Could be the CSS, most of which came from the designer.
For the homepage to display properly, you must create a “Home” page and a “Blog” page. Then, use a static page as the home via the Settings>Reading options. I know I’ve downloaded other themes that have required me to do so, but I didn’t know if there was a workaround for that sort of thing. I’m sure I’m just not thinking through the logic enough.
I’m sure I’m missing something, but I’m just really excited to get something together. I have a lot to learn, and have only been at this for 2 days now, but man it’s been so much fun. Been really bogged down with work lately and it was nice to learn something new.
And suggestions/tips/etc. would be greatly appreciated. Of course, if you wanna use it, both myself and the designer are cool with that. That’s kinda the point anyway, right?
Thanks again in advance.
- The topic ‘My Very First Theme, And a Few Questions’ is closed to new replies.