• Resolved tcdeals

    (@tcdeals)


    Hello everyone, I am brand new to wordpress and need some help. Is it possible to make collapsable posts like this – https://slickdeals.net/ ? If so, I would appreciate some detailed instructions.

    Thank you,
    Scott

    P.S. Is that wordpress on their homepage?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Don’t think that is WordPress, but it is using AJAX to pull it off.

    You can download and learn how to use the WordPress plugin called AJAXed WordPress and you can do exactly that. It doesn’t do exactly that right out of the box, but it can do it. Read their FAQ, etc to learn how.

    Thread Starter tcdeals

    (@tcdeals)

    O.K. – I’ll check it out. Thank you.

    I tried to do this too (in FAQ docs section) –
    “How do I show only the titles of articles on the weblog homepage?

    To show only the title of posts on the weblog homepage, in index.php replace

    <?php the_content(); ?>

    With something like:

    <?php
    if (is_single()) {
    the_content();
    }
    else {//no content, nothing.
    }
    ?>

    This will show the post content only on the individual posts page.”

    I couldn’t find that original code “<?php the_content(); ?>”
    do you know where that is?

    Thank you

    It could look like several things. If you are doing it for the homepage look in the index.php of your theme.

    It could look a little different like:

    <?php the_content('Read the rest of this entry &raquo;'); ?>

    For example.

    That is the code that would display the content of a post. Would be in other places like single.php as well.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘how do you make “collapsable posts?”’ is closed to new replies.