Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have read on codewordpress about this issue. In the article "A WordPress child theme is a theme that inherits the functionality of another theme". And then on stylesheet use import style from parent style @import url("../twentythirteen/style.css"); Lets take example with twenty thirteen.

So I have current conclusion that is good system for fast & simple development. We no need build from scratch and no need update in future because parent update->child also updated.

But yesterday, I found that this theme claim is child from twenty thirteen. I check it, but I don't see any import style to twenty thirteen and all php file is all there (I create child theme and just php file from twenty thirteen that have in my theme as example function.php, header, footer, and content-_*).

Any wrong with my conclusion about child theme?

One other part of my question and for help me for mistake in future. If we use child theme and override some function and style on twenty thirteen. Does in future (when parent theme updated) the function and style still used?? For example:

#article {code override} Is this id/class will be still used?

function foo(){all code} Is this function (example) in functions.php will be still used?

I hope anyone can explained more to me so It confused will be done. Thanks

share|improve this question
    
I don't know what to say that isn't said in the Codex. –  s_ha_dum Feb 15 at 1:54

2 Answers 2

The theme you're talking about isn't a child theme. If you read the description, you'll see it's "based on the awesome TwentyThirteen." This just means it's inspired by and probably borrows code from TwentyThirteen, but it's not a child theme.

As for a real parent-child theme relationship, the goal is that when the parent updates you just reap the benefit of the update. However, if the parent theme changes its styling or the IDs it uses for various elements, you might need to update the related code in your child theme to match.

Most parent themes will retain their IDs (i.e. #article), but there's no guarantee.

share|improve this answer
    
Yes the if child theme no need update thats my goal so I can make website just one time of one client no need update (latest web has be hacked by someone because i never update and any risk security)... Do you have any idea?, I mean the best parent theme that no update class css/some function? For recent I love twenty thirteen. –  Lena Queen Feb 15 at 14:51

This is an example of a child theme:

http://wordpress.org/themes/2013-blue

Notice that we indicate it on WordPress.org by having a big "Parent Theme" button, pointing to the parent theme.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.