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
Where in Thematic is site info links « ThemeShaper Forums

ThemeShaper Forums » Thematic

[closed]

Where in Thematic is site info links

(5 posts)
  • Started 3 years ago by Karl-Arne
  • Latest reply from helgatheviking
  • This topic is not resolved

  1. 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
    Karl-Arne

    Member

    Helle.
    I have been going through at book from sitepoint about WordPress.
    I have laern much from the book but lack information of how to update the link below footer were site-info is given.

    It is written at bottom of the pages:
    Driving by WordPress. Build on Thematic Theme Framework.
    (In norwegian. I translate it to explain the link text in English)

    I will write here.
    Driving by WordPress. Build on Thematic Theme Framework by The Web Coder.
    The work "WordPress" shall be a link. Thematic Theme Framework is anonter link and "The Web Coder" is a link to my homepages.

    Where can I do this?

    Thanks for your time

    Posted 3 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

    You'll need to add this to your functions.php in your child theme

    //add me to post footer
    function get_me($atts) {
    	return '<a href="http://yourwebsite.com">your name</a>';
    }
    add_shortcode('me', 'get_me');

    Than to display, go to theme options under appearance and add [me] - you'll see other shortcode examples below the box to.

    Posted 3 years ago #

  3. 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
    helgatheviking

    Moderator

    yes it is a theme option you can change under appearance > theme options

    you could also override the thematic_siteinfo() function with your own custom childtheme_override_siteinfo()

    function childtheme_override_siteinfo)(){
      echo "site powered by bacon";
    
    }
    Posted 3 years ago #
  4. vivojack
    Member

    I think I have found an error with the childtheme_override_siteinfo() functionality. Specifically in footer-extension.php you have

    if (function_exists('childtheme_override_siteinfo'))  {
    		function thematic_siteinfo() {
    			childtheme_override_siteinfo();
    		}
    	} else {
    	    function thematic_siteinfo() {
            	global $options, $blog_id;
    			foreach ($options as $value) {
            		if (get_option( $value['id'] ) === FALSE) {
                		$$value['id'] = $value['std'];
            		} else {
            			if (THEMATIC_MB) {
                			$$value['id'] = get_blog_option( $blog_id, $value['id'] );
    					} else {
                			$$value['id'] = get_option( $value['id'] );
      					}
            		}
    			}
            	/* footer text set in theme options */
            	echo do_shortcode(__(stripslashes(thematic_footertext($thm_footertext)), 'thematic'));
            }
        	add_action('thematic_footer', 'thematic_siteinfo', 30);
        }
    

    but because add_action('thematic_footer', 'thematic_siteinfo', 30); is inside the option that the user has not defined an override function, it needs to be added to the childtheme_override_siteinfo function. So Helgathevikings example above becomes:

    
    function childtheme_override_siteinfo)(){
      echo "site powered by bacon";
     add_action('thematic_footer', 'thematic_siteinfo', 30);
    }
    

    or else it does nothing. This is also true of childtheme_override_siteinfoopen() and childtheme_override_siteinfoclose() but I am assuming this is not what you intended.

    Thanks!

    Posted 3 years ago #

  5. 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
    helgatheviking

    Moderator

    please be sure you are using this version of thematic:
    http://developing.thematic4you.com/thematic-development-release/

    a lot of those errors were fixed

    Posted 3 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