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
changing output in entry-utility in Thematic 1.0 « ThemeShaper Forums

ThemeShaper Forums » Thematic

[closed]

changing output in entry-utility in Thematic 1.0

(4 posts)
  • Started 2 years ago by onelittlemoose
  • Latest reply from em hr
  • This topic is not resolved
  1. onelittlemoose
    Member

    I had some custom code to remove "trackbacks are closed but you can leave a comment" that appears at the end of post. Updating to new Thematic 1.0+ has broken it, and it now ends with
    "This entry was posted in [category]. Bookmark the permalink. . Bookmark the permalink. Post a comment."
    And when I am logged in, it gives me 2 edit links.
    Here is my code:

    // OVERRIDING WHAT APPEARS IN THE POST FOOTER FOR CLOSED COMMENTS TRACKBACKS ETC
    function childtheme_override_postfooter_postconnect() {
    $postconnect = __('. Bookmark the ', 'thematic') . '<a href="' . apply_filters('the_permalink', get_permalink()) . '" title="' . __('Permalink to ', 'thematic') . the_title_attribute('echo=0') . '">';
     $postconnect .= __('permalink', 'thematic') . '</a>.';
    if ((comments_open()) && (pings_open())) { /* Comments are open */
    $postconnect .= ' <a class="comment-link" href="#respond" title ="' . __('Post a comment', 'thematic') . '">' . __('Post a comment', 'thematic') . '</a>';
    $postconnect .= __(' or leave a trackback: ', 'thematic');
    $postconnect .= '<a class="trackback-link" href="' . get_trackback_url() . '" title ="' . __('Trackback URL for your post', 'thematic') . '" rel="trackback">' . __('Trackback URL', 'thematic') . '</a>.';
    } elseif (!(comments_open()) && (pings_open())) { /* Only trackbacks are open */
    $postconnect .= __(' Comments are closed, but you can leave a trackback: ', 'thematic');
    $postconnect .= '<a class="trackback-link" href="' . get_trackback_url() . '" title ="' . __('Trackback URL for your post', 'thematic') . '" rel="trackback">' . __('Trackback URL', 'thematic') . '</a>.';
    } elseif ((comments_open()) && !(pings_open())) { /* Only comments open */
    /* CHANGED FROM THEMATIC ORIGINAL TO REMOVE Trackbacks are closed, but you can */
     $postconnect .= __(' ', 'thematic');
    $postconnect .= '<a class="comment-link" href="#respond" title ="' . __('Post a comment', 'thematic') . '">' . __('Post a comment', 'thematic') . '</a>.';
     } elseif (!(comments_open()) && !(pings_open())) { /* Comments and trackbacks closed */
    /* CHANGED FROM THEMATIC ORIGINAL TO REMOVE TEXT both trackbacks and comments are closed */
     $postconnect .= __(' ', 'thematic');
     }
    // Display edit link on single posts
     if (current_user_can('edit_posts')) {
    $postconnect .= ' ' . thematic_postfooter_posteditlink();
    }
     return apply_filters('childtheme_override_postfooter_postconnect',$postconnect);
    }

    I know this is quite clumsy, and obviously since it's broken in the new version, this was the wrong way to do it. As the trackbacks are closed for this particular site, I don't want a mention of trackbacks in the post footer.

    Anyone else run into this, or have any insights? Thanks.

    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 Bet? Thematic has sort of moved so you might find asking this question here; http://thematictheme.com/forums/
    More beneficial.

    Posted 2 years ago #
  3. onelittlemoose
    Member

    Thanks drec. But hmmm, can't seem to register on the new forum. My confirmation page is blank.....

    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
    em hr

    Moderator

    onelittlemoose,

    Thanks for your patience. Your login on the new site should be sorted now :)

    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