Forum Replies Created
-
AuthorPosts
-
achase409Member
I removed the function from my previous post, and added the one you wrote. The results are still unchanged. The post info is displaying on all categories, regardless of the conditions that are declared within the function.
I spoke with my co-worker, and we think that some of the plugins we have installed may be preventing the function from working. The suspect is:'Download Manager' which uses custom post types.
Thoughts on this?
achase409MemberThe only other place in the functions file that 'post_info' is referenced is in this filter:
<code>
/** Customize the post info function */
add_filter( 'genesis_post_info', 'post_info_filter' );
function post_info_filter($post_info) {
if (!is_page()) {
$post_info = '
<div class=\'date-info\'>' .
__('posted on', 'executive' ) .
' [post_date format="F j, Y" before="<span class=\'date\'>" after="</span>"] ' .
__('by', 'executive' ) . ' [post_author_posts_link] [post_edit]
</div>
<div class="comments">
[post_comments]
</div>';
return $post_info;
}
}</code>achase409MemberOkay, here is the site:
I will unhide the post info in my CSS until you msg me back. Here is a link to a test post that is in the category 'test': http://gregthompsonmediator.com/this-is-a-test-post-3/
achase409MemberThanks for the reply braddalton. I tried using your function, and it is still not working for me. The post info displays on the news posts, which is good, but it also displays on other categories as well even though the function is excluding them. I have tried adding a filter as well as an action. Neither of them have worked. I have come to the conclusion that the theme for whatever reason just doesn't support displaying post info conditionally. It's either on all or on none.
Any other ideas/suggestions??
-
AuthorPosts