Support » Everything else WordPress » WordPress multi-column content

  • misterx100



    The problem is as follows: I have a local WordPress installation with default theme and no plugins. I need to display the content like this:

    bbbbbbbbbbb cccccccccc
    bbbbbbbbbbb cccccccccc
    bbbbbbbbbbb cccccccccc
    bbbbbbbbbbb cccccccccc

    How can this be achived?

    Sorry for my bad english.

Viewing 1 replies (of 1 total)
  • Michael


    Forum Moderator

    default theme = Twenty Eleven ?

    start by creating a child theme to work with:

    how much different?
    – just the formatting or also the output ?
    , such as different thum

    if the difference is just in the formatting:
    edit content.php in the child theme, and add some code in this line:

    <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>

    for instance:

    <article id="post-<?php the_ID(); ?>" <?php $full_half = ($wp_query->current_post == 0) ? 'full-width' : 'half-width'; post_class($full_half); ?>>

    this will give you an additional css class for the post which you could use to format any other than the first post as half wide.

Viewing 1 replies (of 1 total)
  • The topic ‘WordPress multi-column content’ is closed to new replies.