cass
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Trackback issueSometimes they work for me.
Forum: Fixing WordPress
In reply to: Trackback issueIt looks like it already is fixed…anyone who knows anything about this…..please chime in……..
// Send a Trackback
function trackback($trackback_url, $title, $excerpt, $ID) {
global $wpdb;
$title = urlencode($title);
$excerpt = urlencode($excerpt);
$blog_name = urlencode(get_settings(‘blogname’));
$tb_url = $trackback_url;
$url = urlencode(get_permalink($ID));
$query_string = “title=$title&url=$url&blog_name=$blog_name&excerpt=$excerpt”;
$trackback_url = parse_url($trackback_url);
$http_request = ‘POST ‘ . $trackback_url[‘path’] . ($trackback_url[‘query’] ? ‘?’.$trackback_url[‘query’] : ”) . ” HTTP/1.0\r\n”;
$http_request .= ‘Host: ‘.$trackback_url[‘host’].”\r\n”;
$http_request .= ‘Content-Type: application/x-www-form-urlencoded; charset=’.get_settings(‘blog_charset’).”\r\n”;
$http_request .= ‘Content-Length: ‘.strlen($query_string).”\r\n”;
$http_request .= “User-Agent: WordPress/” . get_settings(‘version’);
$http_request .= “\r\n\r\n”;
$http_request .= $query_string;
if ( ” == $trackback_url[‘port’] )
$trackback_url[‘port’] = 80;
$fs = @fsockopen($trackback_url[‘host’], $trackback_url[‘port’], $errno, $errstr, 4);Forum: Fixing WordPress
In reply to: removing commentsThanks! I got the comments (0) thing gone.
I understand the menu ordering but here is a sub-issue. (I can change the order of search, calender etc) but how do I order the way the things I have as catagories diaply. I have two catagories and I’d like to be able to add more and control the order they list in, and right now I can’t.