WordPress.org

Ready to get started?Download WordPress

Forums

Hueman
Use More Tag Instead of Excerpt and Switch to 1 Column instead of 2 (4 posts)

  1. bck5WG
    Member
    Posted 5 months ago #

    Hi, I have two questions:
    1. Using More Tag instead of Excerpt. Is it possible to use the more tag instead of the excerpt so that the first image on the post is used on the blog list on the front page instead of the featured image. I don't use featured image because my pictures are in portrait layout and they turn out gigantic when used as featured image.
    2. One Column instead of Two Columns for the blog list. Is it possible to have just one column for the blog list that's below the featured content? My pictures are not all the same size so if the list is in 2 columns, they are not aligned.
    Thanks, please explain steps as I'm not well versed in changing code.

  2. Alexander Agnarson
    Member
    Theme Author

    Posted 5 months ago #

    Hi!

    1) In content.php / content-featured.php you would change the_excerpt to the_content with a child theme to show the full content and cut it off with a more link.

    2) Add this as custom css:

    .home .post-list .post { width: 100%; }

    Remove .home from it if you want it for all lists, not just home.

  3. bck5WG
    Member
    Posted 5 months ago #

    Hi Alex,
    I tried changing the_excerpt to the_content. It worked kind of... but what happened was, the homepage still shows placeholders for the landscape featured image. So the format looks like this:

    Landscape featured image first
    Post title, date, etc.
    First picture of the post
    First few lines of the post cut off by the more tag

    Is there a way to remove the placeholder of the featured image that still shows above the post title so that all that shows are the title, date, etc + first picture plus first few lines?

    Thank you!

  4. zomidaily
    Member
    Posted 1 week ago #

    Hi Alexander Agnarson,

    I used this code

    .post-list .post { width: 100%; }
    to change into one column, and it is working great.

    Just wondering how can I set image left alignment and wrap with text, similar like this http://prntscr.com/3z1mdu

    Regards,
    Joseph

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.