ThemeShaper Forums » Thematic

[closed]

Site Info Replace

(6 posts)
  • Started 2 years ago by robYardman
  • Latest reply from robYardman
  • This topic is resolved
  1. I'm working on two multisite projects using Thematic as the default framework. I'd like to make the site info the same across all sub sites deployed by including the content in my default child theme's functions.php file.

    Is it possible to filter out and replace siteinfo?

    This will help reduce the time it takes to deploy a new website for the customer.

    Thanks.

    Posted 2 years ago #
  2. I have a feeling your problem is a little more complex than what it sounds like. You can however override the current site info/shortcodes in the siteinfo.

    function childtheme_override_siteinfo() {
        echo "do some shit";
    }
    add_action('thematic_footer', 'thematic_siteinfo', 30);
    Posted 2 years ago #
  3. scott if you are using the overrides you no longer need to add_action

    Posted 2 years ago #
  4. Whoops, chalk that one up to being so easy I wasn't paying attention, now corrected. ;P

    function childtheme_override_siteinfo() {
        echo "do some shit";
    }

    Thanks for the heads up on the mistake. Surprised it didn't throw up a PHP error.

    Posted 2 years ago #
  5. it shouldn't throw an error, but it might result in duplicate "do some shit"s. not sure.

    Posted 2 years ago #
  6. Thank you guys. Exactly what I was looking for.

    function childtheme_override_siteinfo() was the piece I was missing.

    Posted 2 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.