marcolongoni

Member

Forum Replies Created

  • In reply to: How to build a child theme from a modified theme/stylesheet

    #21929

    i guess this thread should be “not a support question”, is it? 🙂

    Moderators are welcome to edit the post to make it better, clearer, and correct my bad english! 😉

    have a good 2012

    In reply to: How to build a child theme from a modified theme/stylesheets

    #18468

    yes, indeed they are.

    diff does in the bash shell a line by line comparison of two plaintext files; you can of course ignore tabs spaces or blank lines.

    users of linux and mac have bash shell already (just open terminal) windows users could use diff through a framework called cygwin.

    i’ve got a question: am i allowed to put an alternative functions.php file in the child theme or i will always need to import my differences at every update?

    In reply to: hard cssing, removing shadows

    #16931

    It is

    Code:
    #top-bar {margin-top:25px;}
    #header {margin-top:25px;}

    to ensure detachment even if top-bar is hidden in theme options.

    Still having some trouble in removing the main frame shadows (top of the header, left and right of the body, bottom of the footer)

    In reply to: Child theme: php strings substitutions

    #16553

    So, if i need to modify one line of a php file (or if i need to remove one) i can just put the whole modified file in the child folder.

    If i need to add a function, i can just put the new function to an empty functions.php file in the child folder.

    I made a few mods, but can’t remember all. I will have to diff the two folders (orig and mod) in bash to get the modifications out of the theme.

    In the child folder, there’s no need to keep the files that are equal to the orig folder.

    Is everything right?

    does this apply to images folder too?

    ty

    Marco

    In reply to: Show the author, but hide its link!

    #16483

    Your solution now works like a charm (loop.php mod): http://www.marcolongoni.com/blog/

    Anyway, i don’t give up on building my own child theme, as i don’t want to miss any updates!

    Thank you so much!

    In reply to: Show the author, but hide its link!

    #16481

    The blog page now dies after the title of the first post, with this: Fatal error: call to undefined function get_post_author() in /full/path/to/loop.php on line 117

    In reply to: Show the author, but hide its link!

    #16479

    Unfortunately i’ve never created a child theme, as i’ve been playing with wordpress and your theme for many days before getting on this forum and reading about child theme.

    I don’t want to go offtopic, but i’m wondering if i may make some type of diff and output redirection in bash to get my modifications out of the code… i did modifications to php even, not just the css!

    about the colors, i’ll tell my friend and art director Filippo about your appreciation!

Viewing 7 posts - 1 through 7 (of 7 total)