Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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

PHP to call for comments total in Content Slideshow

Old Jun 25, 2013, 08:36 PM
NoisyDvL5's Avatar
27 posts · Jun 2010
This is likely one of those naive questions with an easy answer.

I'm playing around with including a featured content slider in my sandbox site ( http://itsalltrue.net/exp/ WP 3.5.2, Atahualpa 3.7.12) and I'd like for it to display the title and total comments instead of the title & an excerpt.

<a href="#main-post-<?php echo $counting; ?>" title="<?php the_title(); ?>">
<?php echo cut_content_feat(get_the_title(), 100, ""); ?><br />
<?php $excerpt = get_the_excerpt();?>
<p><?php echo cut_content_feat($excerpt, 100, "..."); ?> </p>


I've identified that I need to remove the bolded section from plugin file to eliminate the excerpt, but I've combed over comments.php & post parts.php in atahualpa and I can't determine the PHP call for the comments total. Am I missing something obvious?


Last edited by NoisyDvL5; Jun 25, 2013 at 08:38 PM.
Old Jun 26, 2013, 04:06 AM
juggledad's Avatar
23,761 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
this is where you need to dig into the wordpress codex (codex.wordpress.org' and see if there is a function you can use.
Old Jun 28, 2013, 12:19 AM
NoisyDvL5's Avatar
27 posts · Jun 2010
I found the code in the codex, but couldn't get it to return anything but zeroes. We changed the design so there isn't room for the comments number anymore, but I still wanted to thank you for the help!


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Anyone using W3 Total Cache or CDN Tools with ATA? lhanft Plugins & Atahualpa 2 Dec 12, 2010 12:29 PM
Creative ideas for d13 Slideshow or other Slideshow theadventurebite Plugins & Atahualpa 0 Jun 16, 2010 03:30 AM
[SOLVED] WP Content Slideshow thebookwright Plugins & Atahualpa 16 Nov 21, 2009 03:26 AM
Total novice! What do I do after I download Atahualpa? rachkitty New Versions, & Updating 4 May 16, 2009 07:58 PM

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

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