Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   Configuring Excerpt or Full Post for Custom Taxonomy pages? (http://forum.bytesforall.com/showthread.php?t=18456)

vinny@usestrict.net Sep 23, 2012 12:33 PM

Configuring Excerpt or Full Post for Custom Taxonomy pages?
 
Hi,

I have a custom post type "Products" and a custom taxonomy "Product Categories" and would like to display the full posts when showing a Product Category page. I looked under ATO -> Configure EXCERPTS and there's no option for Custom Taxonomies (Full Posts or Excerpts).

Am I looking at the wrong place? If not, do you plan on providing this setting soon? How can I force my Custom Taxonomy to show full posts instead of excerpts (current behavior)?

I'm using: Atahualpa 3.7.9, Wordpress 3.4.2

Thanks,
Vinny

juggledad Sep 23, 2012 02:13 PM

Did you try playing with all the settings? Narrow it down a bit?

vinny@usestrict.net Sep 23, 2012 03:24 PM

I switched every option to Full Post, and in the end, the only way I got it to show having full posts was by changing the code in functions/bfa_post_parts.php as follows:

120 function bfa_post_bodycopy($before = '<div class="post-bodycopy clearfix">', $after = '</div>')
121 {
122 global $bfa_ata, $post, $bfa_pagetemplate_name, $bfa_pagetemplate_full_post_count, $bfa_ata_postcount;
123
124 $do_full_post = 0;
125 echo $before;
126 if ((is_home() AND $bfa_ata['excerpts_home'] == "Full Posts")
127 OR (is_home() AND !is_paged() AND $bfa_ata_postcount <= $bfa_ata['full_posts_homepage'])
128 OR (is_category() AND $bfa_ata['excerpts_category'] == "Full Posts")
129 OR (is_date() AND $bfa_ata['excerpts_archive'] == "Full Posts")
130 OR (is_tag() AND $bfa_ata['excerpts_tag'] == "Full Posts")
131 OR (is_search() AND $bfa_ata['excerpts_search'] == "Full Posts")
132 OR (is_author() AND $bfa_ata['excerpts_author'] == "Full Posts")
133 OR is_single()
134 OR is_page()
135 OR is_tax('product-category') // force full posts when product-category is being viewed
136 ) { $do_full_post = 1; }

lmilesw Sep 23, 2012 04:30 PM

I was doing my periodic search of plugins and found this one that MAY be helpful in your situation.


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

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