Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Comments, trackbacks & pings »

[SOLVED] pingbacks not acknowledged in


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
 
Prev Previous Post   Next Post Next
  #1  
Old Jan 13, 2011, 11:02 PM
derekwbeck
 
151 posts · Nov 2010
[SOLVED] pingbacks not acknowledged in

I can't figure this out, and am now wondering if it is an ATA 3.5.3 issue: In comments.php I've added in the separate trackbacks/comments section the following code: (see my related post)

Code:
if ( ! empty($comments_by_type['pings']) ) : //only placed in if there are indeed pingbacks
	
			echo "inside"; 
			
			echo "<BR><h3 id='comments'>Pingbacks:</h3>";
			echo "<div id='pings'>";

			wp_list_comments('type=pings&callback=list_pings');
		
			echo "</div>";
			
		endif;
		//end add-in
This is apparently the standard way to go about this with others, but it my if statement is being completely ignored here. That is, it never gets inside, even on pages with pingbacks. (Note, the code inside the if statement works as expected if I get rid of the if statement.) So, something is wrong with the if statement, and I don't think it is the code or logic itself. Rather, I wonder if ATA 3.5.3 does not have the function

Code:
! empty($comments_by_type['pings'])
Does anyone have insights on this?

Thanks,
Derek
http://www.1775thebook.com

Last edited by derekwbeck; Jan 13, 2011 at 11:03 PM. Reason: signature
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with showing Trackback and Pingbacks, on Post page law Comments, trackbacks & pings 3 Sep 17, 2009 09:30 AM
allowing "Pings" ?? trackbacks and/OR pingbacks ?? Shepherd Jim Comments, trackbacks & pings 3 Sep 8, 2009 01:38 PM
Changing displayed text and style of trackbacks and pingbacks Gravity Comments, trackbacks & pings 1 Sep 8, 2009 10:47 AM


All times are GMT -6. The time now is 07:28 AM.


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