Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Ron Rennick

    (@wpmuguru)

    The formatting/organization of the listing archive pages is controlled by your theme.

    Thread Starter lstambaugh

    (@lstambaugh)

    Thanks – yes, I know that. I had already copied over all of the related stuff from the stylesheet of the AgentPress theme to the new theme, the section labeled as:

    /* Property Listings
    ———————————————————— */

    in the style.css file.

    If you look at both of my pages, you can see that ALL of the formatting is there of the thumbnail, the address, the “sold” label, and so on. And the the individual listing pages are all formatted correctly. The ONLY missing item is the 2-per-row part of the listing. I had copied over all of the relevant info in functions.php as well as the other php files (archive-listing.php and so on).

    Is it possible that there is something inside any of those php files that needs to be adjusted for the theme name or something like that? I did find two places that used ‘agentpress’ which I changed to ‘executive’ but that did not seem to make a difference.

    Or is it just that the new theme will ONLY allow posts to be in 1 column instead of 2? I realize these listing pages are special forms of post archive pages, so maybe this is simply not allowed?

    Thread Starter lstambaugh

    (@lstambaugh)

    I keep looking through the code, the issue may be related to this..

    When I look at the listings archive page on the new site on Firefox, and use Inspector to see what’s going on, I can see that the first property in the list has this:

    <div class=”post-2958 listing type-listing status-publish has-post-thumbnail left entry”

    And the second property has this:

    <div class=”post-2955 listing type-listing status-publish has-post-thumbnail right entry”

    So it is indeed assigning the left/right status – but it’s still trying to assign each one to the full width (even though listing-wrap is set to 290px and there is plenty of room for 2 listings per line)

    On the old (current) site where it’s working, the line of code is this:

    <div class=”post-2958 listing type-listing status-publish has-post-thumbnail hentry left entry”

    So exactly the same, but I don’t know where “hentry” is coming from. I can’t find it in the stylesheets on either site.

    What am I missing here?

    Plugin Contributor Ron Rennick

    (@wpmuguru)

    For theme customization post a thread at http://www.studiopress.com/forums/.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘archive listings page showing 1 column instead of 2’ is closed to new replies.