Forum Replies Created

Viewing 8 replies - 91 through 98 (of 98 total)
  • Thread Starter David Calhoun

    (@dpcalhoun)

    Thanks, that fixed it.

    You know any reason why ‘title_li=’ wouldn’t work? Or is the ‘categorize=0’ required?

    Thread Starter David Calhoun

    (@dpcalhoun)

    I was able to apply the template manually to the page, by checking “Page Template” in the advance fields menu. For some reason I have to select the template while editing the page to get the template to be applied. Not really sure why.

    Thread Starter David Calhoun

    (@dpcalhoun)

    Thank you guys for all the helpful information. I decided the best/easiest way to accomplish the “multiple editable regions on a page” was with the posts category idea or something similar.

    I created a new posts category called “Home Sub Sections.” And whenever I need to bring in that information on the home page, I used:

    <?php query_posts('category_name=Home Sub Sections); ?>

    or I will call that specific post number with:

    <?php query_posts('p=61') ?>

    So, now I have my multiple editable regions, and for my “News” page that uses the normal post timeline, I just removed all posts in the category “Home Sub Sections” from being queued into the timeline on that page with:

    <?php query_posts('cat=-3'); ?>

    Once again, thanks for all the help. And if anyone ever runs into this problem, the link below is also helpful with dealing with this:

    http://codex.wordpress.org/Template_Tags/query_posts

    Thread Starter David Calhoun

    (@dpcalhoun)

    Flutter looks interesting. It might be what I’m looking for, but I don’t know. I’ll have to dive into deeper and see.

    Thanks for the link!

    Thread Starter David Calhoun

    (@dpcalhoun)

    So, it seems like the only way to accomplish this is through use of posts, and not actual “page” content.

    Thread Starter David Calhoun

    (@dpcalhoun)

    Well, yeah. I’m making custom templates.

    I’m using WordPress as a CMS, so I’ve created several different templates for several different page layouts. But the thing I’m trying to get around is having a templated page that has more than one “content” box.

    So that I can have two different <div>’s, that are both pulling dynamic information that can be edited in the WordPress Admin panel, and that are styled differently.

    So, when the page is generated, something like:

    <div1  class=first>
    Content 1
    </div1>
    <div2 class=second>
    Content 2
    </div2>

    And then either in a CSS file, or in-line code on the page template:

    .first {
         background-color: black;
    }
    
    .second {
         background-color: white;
    }
    Thread Starter David Calhoun

    (@dpcalhoun)

    I’m not quite sure I’m understanding this. Are you saying using “posts” as the different regions on a single page? Assigning different categories to the posts and only calling that specific category?

    From your linked CSS files, it looks like you are using some sort of grid system? Typically grid systems have the margins/padding built into them.

    But to add space between the sidebar and middle column you would have to add either margin or padding to one or both of the <divs> in the CSS. Like:

    .divname {
         margin-right: 20px;
    }

    or

    .divname {
         padding-right: 20px;
    }

    The “.divname” would be the name of the <div> your side bar is included in.

Viewing 8 replies - 91 through 98 (of 98 total)