Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Post-Kicker, -Byline & -Footer (http://forum.bytesforall.com/forumdisplay.php?f=17)
-   -   Post/Page Info Items - Trackbacks (http://forum.bytesforall.com/showthread.php?t=469)

Andrea Feb 20, 2009 05:19 AM

Post/Page Info Items - Trackbacks
 
Hello,

first of all: thanks to Flynn for this great theme. :)

Please excuse if anyone asked the same question ... I tried the search yesterday and didn't find an answer.

%trackback%

and

%trackback-linked('linktext')%

do not "work". I don't have problems to use the info items as you can see here

Does anyone have the same problem?

Regards
Andrea

Andrea Feb 20, 2009 05:31 AM

Oh, sorry, now I found the answer in " To do for Atahualpa 3.2.1", no need to answer

Jeeve5 Feb 27, 2009 05:13 AM

I was having the same trouble and since I was not gonna wait for the next release I did some troubleshooting on my own. After a lot of fiddeling I came up with this solution. At least %trackback% ist now working.

Goto bfa_postinfo.php in the functions folder of the theme and replace the 5 simillar looking trackback lines with the following:
Code:

#if (strpos($postinfo_string,'%trackback(')!==false) {
######## TRACKBACK ########
$trackback_url = get_trackback_url();
$trackback_link_text = preg_match("/(.*)%trackback\('(.*?)'(.*)/i",$postinfo_string,$trackback_matches);
$trackback_link = '<a href="' . $trackback_url . '">' . $trackback_matches[2] . '</a>';
#}

%trackback-linked% is still not working, but you can easily work around that by using this little HTML code:
Code:

<a href="%trackback%">Trackback</a>


All times are GMT -6. The time now is 05:01 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.