Forum Replies Created

Viewing 15 replies - 271 through 285 (of 288 total)
  • Thread Starter csleh

    (@csleh)

    Is it possible to have the loop show something like this:

    -if page=id9, show posts in category2

    I’ve seen an if is=home statement — does that work for any page?

    (having a hard time making sense of the documentation. help greatly appreciated!)

    Thread Starter csleh

    (@csleh)

    Perhaps I’m thinking all backwards —

    how might I have links to posts in 1 particular category, but only from 1 particular Page?

    Page A shows links (category apples) posts macintosh, gala, etc.

    Page B shows links (category baking) posts pies, cobblers, etc.

    Thread Starter csleh

    (@csleh)

    I found this on another post:

    change the htaccess line to:
    RewriteRule (.*) /blog/index.php/$1 [L]

    adding the (.*) and /$1 worked — finally — for both pages and posts.

    Thread Starter csleh

    (@csleh)

    Have not given up. Home page works great, but when I try to link to anything else, I get a 404 error. This is both for posts and Pages, and doesn’t matter what method of pretty or almost pretty url I put in.
    Also, no matter which I choose, the generated code for .htaccess is always the same. Should it be?

    Thread Starter csleh

    (@csleh)

    It’s even stranger! Posts have no span in their titles. Estate Sale and Parisian are fine, but Chair Affair does the same thing as our mission. Home was also pushed right, until I added words before it. No span in that title either.

    The google ad column gets in the way between main content and the right sidebar — the ads are just noise to me — so I’d like to see the two right columns switched.
    It is a nice design; the color scheme is exciting at the top and understated elsewhere which is perfect for reading the posts. Nice job!

    no trouble loading here. Great colors, post typography is awesome. The font used in the section area images looks a bit ‘scary movie’ to me.
    Personally, anything beyond kubrik blue is decent — this is fabulous.

    Forum: Your WordPress
    In reply to: Redesigned Blog

    The design is very nice work. My suggestion would be to add more padding to your main content area, and also larger line-height. Then will feel more airy and easier to read. If you make it bigger than the smilies, they won’t add any space.

    Thread Starter csleh

    (@csleh)

    Okay, had to get the “force category template” plug in. Then on the page had to do a loop for each post:
    ‘<?php query_posts(‘p=21’); ?>
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    <h3><?php the_title(); ?></h3>
    <?php the_content(); ?>
    <?php endwhile; ?><?php endif; ?>’

    because it wouldn’t allow me to enter p=21,22,23 etc.

    Now the page displays all posts in one category.

    One final note to self: had to use the same query for each post to put just a few on a sidebar, with a link ‘a href=”index.php?cat=5″‘ to show the complete category page.

    Why did I do this? Because I needed each post to be individually editable by the client (much easier for them) but show the complete posts on one page in multiple columns. The secondary sidebar shows just the top few, with a link to the page. Each post gives credit to sponsors in a different sponsorship category (but all the same Wordprss category).

    Thread Starter csleh

    (@csleh)

    OK, I moved on to another project and found most of my answer.
    How can I list only posts 21, 22, 23 and 24 — all within one category — in my sidebar? There are other posts but I need these specific 4 to always be the sidebar content.

    csleh

    (@csleh)

    oops! Okay the < li > isn’t needed. The < ul> was closed right before it.
    There are some empty li’s on the page. Just an FYI.

    csleh

    (@csleh)

    The link shows what the error was, and the code you input.

    I’m pretty sure the last (around line 143) isn’t needed. The was closed just before it. I didn’t comb all the code, but that seemed to be the last ul that needed closing.

    It’s strange to have div’s and h tags in lists. Also you have some empty

    • ‘s too.

    Thread Starter csleh

    (@csleh)

    future reference in case anyone else has the same problem:
    add
    RewriteEngine On

    at the very beginning of htaccess

    (still not working for me though; am going to forget pretty urls. not as easy as it should be)

    csleh

    (@csleh)

    You are going to need to edit the styles to match your current, but this works. ALTHOUGH it might not in ie5 or ie6 — so test it to be sure.
    for the css file:

    #navigation ul {
    margin:0;
    padding:0;
    list-style:none;
    font-size:1em;
    float:left;
    }
    #navigation ul li {
    position:relative;
    display:block;
    float:left;
    width:12.18em;
    height:2em;
    }
    #navigation ul li a {
    display: block;
    text-decoration: none;
    color: #000;
    padding: 5px 0 2px;
    font-weight:bold;
    text-align:center;
    }
    #navigation li ul {
    position: absolute;
    left: 0;
    top: 2.1em;
    display: none;
    }
    #navigation ul li ul li {
    height:1.6em;
    }
    /* lists nested under hovered list items */
    #navigation li:hover ul {
    left: 1px;
    margin-left: -1px;
    display: block;
    }
    #navigation ul li ul li a  { /*change dropdown items */
    color:#000;
    font-weight:normal;
    width:100%;
    }
    #navigation ul li ul li a:hover { /*hover to gray background */
    background-color:#f0f0f0;
    }

    and the html:

    <div id="navigation">
     <ul id="nav">
    <li class="current_page_item"><a href="https://themediterraneancupboard.com/about/" title="About Us">About Us</a></li>
    <li><a href="https://themediterraneancupboard.com/tastings/" title="Tastings">Tastings</a></li>
    <li><a href="https://themediterraneancupboard.com/farmers/" title="Producers">Producers</a></li>
    <li><a href="https://themediterraneancupboard.com/projects/" title="Resources">Resources</a>
    <ul><li><a href="https://themediterraneancupboard.com/projects/recipes/" title="Recipes">Recipes</a></li>
    </ul>
    </li>
    <li><a href="https://themediterraneancupboard.com/job-opportunities/" title="Job Opportunities">Job Opportunities</a></li>
    <li><a href="https://themediterraneancupboard.com/" title="Home">Blog</a></li>
      </ul>
    </div>

    There were problems with the html not set up properly (an li element out of place enclosing the entire set) but mostly in the css. The drop down bit needs be defined separately, hidden then shown.
    Hope this works for you!

    Forum: Your WordPress
    In reply to: www.Wastednews.com
    csleh

    (@csleh)

    Very modern, clean. I especially like the right sidebar boxes with background.

    Problem though with the search box, it covers up the header text. Maybe bring down inline with nav boxes?

    Add some right padding to the images in posts so the text is offset a bit.

    I find the left column really distracting. Maybe take off the underlines and/or boxes, or make text smaller than the articles? Or not bold?

Viewing 15 replies - 271 through 285 (of 288 total)