Forum Replies Created
-
AuthorPosts
-
nkeatMember
**The desirable html output would be something like <p class=”entry-meta”><span class=”entry-categories careers”>Careers</span> </p>
anything so i can uniquely target each category via css
Thanks!
nkeatMember**To clarify, the following function works for the first page, before the infinite scroll kicks in (ie I dont have to hide via css for the first page).
How can I adapt this function to include pages that are loaded by infinite scroll?
add_action('genesis_before','remove_some_actitons');
function remove_some_actitons() {
if ( is_home() ) {
remove_action( 'genesis_entry_content', 'genesis_do_post_content' );
}}
nkeatMemberYa here is the screenshot without the "display:none" (see inspector)
And here is how it is supposed to look with display none enabled (see inspector).
http://imgur.com/2ST3CGbThe issue is that obviously the pages created by infinite scroll increase every 10 articles. Hence the need to create css markup seen in my originial question.
I'm wondering the what the proper function is so I can achieve this (remove entry content from homepage index) without using css.
Thanks!
-
AuthorPosts