WordPress.org

Ready to get started?Download WordPress

Forums

Need Suggestions From Professionals (13 posts)

  1. teckn1caLity
    Member
    Posted 2 years ago #

    Hello, I have a few questions and was hoping some of you experienced wordpress site designers/developers/coders could give me some suggestions. I've been fooling with wordpress sites, codes and plugins for almost 4 years now. I can basically edit my way to getting things to appear how I want them.

    I guess what I need is a framework, but one that is really gutted to only having the core necessities/files. Need suggestions.

    Also, how would I go a bout making a child theme? How do they even work? And, would you recommend using a child theme?

  2. jnhghy
    Member
    Posted 2 years ago #

    Hi,
    About creating a child theme there is a codex page that you can access here.
    Read about it, it will give you the right info about child themes.
    Just to point out some info over here also what you need is:
    1. A template theme (the one you will use to create your child theme)
    2. Create a directory -give it the name you want your child theme to have.
    3. In thi directory you will have to create a style.css file with the fallowing info :

    /*
    Theme Name:     Twenty Eleven Child
    Theme URI:      http://example.com/
    Description:    Child theme for the Twenty Eleven theme
    Author:         Your name here
    Author URI:     http://example.com/about/
    Template:       twentyeleven
    Version:        0.1.0
    */

    4. if you don't want to change any css rules at first then all you have to do is to add:
    @import url("../twentyeleven/style.css");
    -it is recommended to have this row in your theme even if you make changes to your child theme css rules
    5. using a ftp client copy any file from your template theme to your child theme folder and you will be able to edit them in the theme editor.
    -this is a basic ideea please read the codex it has the right info that you need!

  3. michael.mariart
    Member
    Posted 2 years ago #

    Ok first off...

    A 'framework'? What do you want the framwork to do? In essense WordPress is itself a framework that you can build on using custom content types, themes, plugins and more. Is there any specific functionality that you want/expect from an additional framework on top of it?

    Secondly...

    Child themes are one of the best things ever *. Use them. Now.

    The basics of how they work is that they over-write the templates in the parent theme, so if you have header.php in your child theme, it will use that, and if you don't have it, it will use the header.php file from the parent theme. The biggest advantage is that if you update your parent theme, the chagnes in the child theme are still there. if you just update a themes files any updates will over-write any chagnes that you've made.

    * Well, as far as themeing goes on WordPress.

  4. teckn1caLity
    Member
    Posted 2 years ago #

    Would Twenty Eleven be a good theme to start from as a framework?

  5. jnhghy
    Member
    Posted 2 years ago #

    Twenty Eleven is the theme most used by theme developers so I assume this is the right one to use, only time will tell.

  6. teckn1caLity
    Member
    Posted 2 years ago #

    I'm trying to add a child theme and it's prompting me to overrite the existing one, is there something I must do so I can use both?

  7. michael.mariart
    Member
    Posted 2 years ago #

    Does your child theme have the same name as your parent them? If so, then it won't like it. You need to give it an individual name.

  8. teckn1caLity
    Member
    Posted 2 years ago #

    Okay I got it. How would I go about essentially changing what stylesheet is viewed by view source? As this is a custom theme and I don't want it completely tagged as Twenty Eleven.

  9. jnhghy
    Member
    Posted 2 years ago #

    Read the codex

  10. michael.mariart
    Member
    Posted 2 years ago #

    You don't change what stylesheet is "viewed by source". The parent stylesheet is loaded first, and the stylesheet from the child theme is loaded after that to over-write any definitions from the parent theme.

    Also just wondering what you mean by "tagged as Twenty Eleven"? Where are you concerned about this showing up?

  11. teckn1caLity
    Member
    Posted 2 years ago #

    I think something like this is more of something im looking for. Would this be a bad idea or would going with the other be better?

  12. teckn1caLity
    Member
    Posted 2 years ago #

    For some reason I start out with some simple code in the style.css in what i just linked and when I click "Update File" it goes to a blank white page?

  13. teckn1caLity
    Member
    Posted 2 years ago #

    I'm not able to edit anything through the panel and im guessing its that starter theme that is glitched :/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.