Strict Standards: Redefining already defined constructor for class bbdb in /home/themes/public_html/forums/bb-includes/db-mysql.php on line 12

Strict Standards: Declaration of BB_Walker_Blank::start_lvl() should be compatible with BB_Walker::start_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_lvl() should be compatible with BB_Walker::end_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::start_el() should be compatible with BB_Walker::start_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_el() should be compatible with BB_Walker::end_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127
Child Theme and Library/extensions « ThemeShaper Forums

ThemeShaper Forums » Thematic

[closed]

Child Theme and Library/extensions

(6 posts)
  • Started 2 years ago by givemecoffee
  • Latest reply from ScottNix
  • This topic is not resolved
  1. givemecoffee
    Member

    I understand that for many customizations in Thematic we need to edit files inside the 'Library/extensions' folder. However, when using a child theme, what is the best way to make these edits and avoid issues when downloading Thematic updates? Because when I downloaded the latest release of Thematic, it overwrote my 'Library' folder and everything inside it.

    Posted 2 years ago #

  2. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512


    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512
    d_rec

    Member

    Best to make your modifications in your functions.php file and leave the core files of Thematic alone.

    Posted 2 years ago #
  3. givemecoffee
    Member

    Thank you for your response. But I tired that. As an example, I needed to remove the default footer text 'Powered by, etc' from my footer, but I need the div ID #siteinfo. The only way I've seen to remove that default footer text with a function is to remove that entire #siteinfo area. So I had to edit the 'footer-extensions' file inside the Library/extensions folder. Is there a better way?

    Posted 2 years ago #

  4. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512


    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512
    ScottNix

    Member

    The info contained in the #siteinfo div is all editable in the Admin section of WordPress. You can modify the text, or even add html to it by navigating to "Appearance > Theme Options > Text in Footer"

    The example is a little confusing, even if nothing is placed in there, you still have the siteinfo div. Also there are plenty of overrides to do everything inside the functions.php.

    As a last resort, you can move the files you need to modify from the /library/extensions/ folder into your child theme and the theme will use those instead. I can't really see a scenario where you would have to do this. The reason not to do this is you will have to then manage that file and it won't auto update (provided there is new code added or an error that needs to be fixed, which is the whole benefit to child themes).

    You may want to explain a little more of what you are specifically needing.

    Posted 2 years ago #
  5. givemecoffee
    Member

    I needed to create my own footer which essential was copyright information on the left and an image on the right. And in order to do this, I need to remove the 'Powered by Wordpress...etc' info. I used the following function to do that:

    function remove_thematic_siteinfo() {
    remove_action('thematic_footer', 'thematic_siteinfoopen', 20);
    remove_action('thematic_footer', 'thematic_siteinfo', 30);
    remove_action('thematic_footer', 'thematic_siteinfoclose', 40);
    }
    add_action('init','remove_thematic_siteinfo');

    After I did that, my footer information moved up about 30 pixels and I couldn't get it back into place. I tried using all types of css, but it didn't work.

    Posted 2 years ago #

  6. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512


    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512
    ScottNix

    Member

    So with the function above, you completely remove the #siteinfo div open, the content and the close.

    If you were to do away with that function you pasted and instead use this in the functions php you can override only the content, you could keep the site info div and just replace the content with

    function childtheme_override_siteinfo() { ?>
            <p>your code here</p>
    <?php }
    Posted 2 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.


Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GA_Filter::spool_analytics() should not be called statically in /home/themes/public_html/forums/bb-includes/wp-functions.php on line 586

Strict Standards: Non-static method GA_Filter::spool_this() should not be called statically in /home/themes/public_html/forums/my-plugins/googleanalytics.php on line 183