• Resolved Dani1091

    (@dani1091)


    Hi everyone,

      HERE IS MY WEB

    I’m trying to remove the entry_content excerpt that appears at this category page. I mean how can I remove the excerpt of all the entries that appears below of the entry title and the meta

    I think something have to be removed or modified from (look at this code) here but I’m not sure.

    [ Moderator note: Code edited with backticks, when sharing code examples, please wrap the code in backticks or use the code button. ]

    <div class="entry_content">
    				<?php if (get_option('trim_blog_style') == 'on') the_content(''); else { ?>
    					<p><?php truncate_post(1000); ?></p>
    				<?php } ?>
    			</div> <!-- end .entry_content -->

    I used firebug to locate the CSS and code but I’m unable to resolve this by myself…I need help. Also I trying looking for some help in the net but It was in vain.

    Thanks a lot,
    Daniel.

Viewing 12 replies - 1 through 12 (of 12 total)
  • go to your css file
    .entry_content
    {
    display:none;
    }

    entry_content thing r as such short description under your title (so you just want to display your titles? )

    the above code takes care of it as such

    Thread Starter Dani1091

    (@dani1091)

    Hi Robin thanks for your help,

    Yeah I just want to display the titles… I found the entry_content code on entry.php . This is because the theme.

    The code that you pasted recently don’t appears at the style.css . Where can I paste it ?

    Thanks.

    just add it anywhere in your css
    on top would be better as such

    Thread Starter Dani1091

    (@dani1091)

    Robin,

    I just added it and the excerpt remains appearing. It doesn’t work my friend.

    Do you have any other idea about what can I do ?

    where did u exactly added it as i dont see it in code

    Thread Starter Dani1091

    (@dani1091)

    Robin I added it in style.css. Actually it works but when I click the entry It was also hidden.

    I’m seeking How to just hide the info that is a excerpt of the entry. I don’t want the excerpt I just want the title… but the entry info has to remain… with the code

    .entry_content
    {
    display:none;
    }

    It hides the entire entry… all the entries got empty.

    There has to be one way to do this. Thanks a lot my man!

    Daniel

    <p><?php truncate_post(1000); ?></p>
    truncate_post(0);

    this tells php to display the number of character

    the other solution

    <p class="hide"><?php truncate_post(1000); ?></p>
    
    go to css
    .hide
    {
    display:none;
    }

    see which ever works best for you

    Thread Starter Dani1091

    (@dani1091)

    it WORKS!! The 2nd solution rocks!!!

    amazing, thanks a lot for your help Robin.

    great 🙂

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘How to remove entry_content excerpt on this theme’ is closed to new replies.