Forum Replies Created

Viewing 15 replies - 106 through 120 (of 288 total)
  • oops, used a different browser and am able to get around in admin again. sorry, skipped over that bit in the tips.

    Also FYI, sometimes a plugin says it’s compatible, but it might not be 100%, only you don’t find that out until everything is upgraded. If a plugin is critical and you aren’t a coder, might be best to wait until other people have confirmed compatibility.

    hmm. upgraded to 2.8. was a bit buggy. disabled all plugins. dashboard only shows “loading…” but no articles. Theme admin is showing files inside a folder within the theme folder. Side menu items stay open until another menu is chosen, except posts which will not shut. Reinstalled 2.8. cleared cache, logged in again. Cannot choose “default” for permalinks; message says updated but custom is still selected. Using php 5.
    Something isn’t working properly but it doesn’t seem like a plugin is the issue.

    edit the themes category.php file

    in the loop, change
    the_excerpt
    to
    the_content

    Thread Starter csleh

    (@csleh)

    This seems to be causing all sorts of issues, the shopping cart that was working now won’t display properly because WP is reading the files inside a nested folder.

    Wouldn’t this also affect child themes? Anyone else having a problem with this? Will 2.8.1 fix this issue?

    Forum: Fixing WordPress
    In reply to: cart work with 2.8
    Thread Starter csleh

    (@csleh)

    Bummer! statement from eshop author:

    Posted on July 2, 2009 at 11:44 am in
    Many people have been contacting me saying there may be issues with eShop and WordPress 2.8. Looking through the issues reported with WP2.8 I have decided to delay updating eShop until after WP 2.8.1 is released. As soon as I can after that I will make any necessary changes to get things working again.

    looks WP 2.8 is messing up other carts too.

    Any other solutions, anything that works with 2.8?

    Thread Starter csleh

    (@csleh)

    no, but a plugin has a folder in the theme directory. WP is showing those files in the admin screen.

    Thread Starter csleh

    (@csleh)

    Urgh. Upgraded to 2.8, tried about 6 navigation plugins, tried a tutorial on grabbing the grandparent from page id, like that. Nothing works so I’m back to the above code.

    There are only 2 issues:
    – doesn’t show parent category on a post, only grandparents. I can live with this

    – shows “no categories” in an area that isn’t as deep as the other areas

    I’d like to either get rid of the message OR conditionally hide the category listing in the one slim area.

    I’m going to change to a page for that slim area for now, until it expands to more categories. Still seems funny this functionality isn’t built into wordpress yet. someday!

    Forum: Fixing WordPress
    In reply to: WPML trouble
    Thread Starter csleh

    (@csleh)

    disabled plugin, using a different cobbled solution. bummed.

    Thread Starter csleh

    (@csleh)

    this shows a link back to parent page.

    <?php
       if (!empty($post->post_parent)) {
        $parentTitle = get_the_title($post->post_parent);?>
      <a href="<?php echo get_permalink($post->post_parent); ?>" title="<?php echo $parentTitle; ?>">Back to <?php echo $parentTitle; ?></a>
      <?php } ?>
    Thread Starter csleh

    (@csleh)

    Thank you.

    I see what I typed does sound funny. There is only one area with lots of levels of categories and more might come. So I am trying to get navigation that will work with whatever levels of categories a particular area has.

    this is actually a really super huge pain.

    my additional problem is that I found a way to display the subcategories that works and doesn’t break the site. It is not ideal, because when on a post only the great-grandparent categories show in the sidebar. But I’m no longer tearing my hair out on that.

    I have tried plugins but they screwed up my site (like no one could see Pages anymore)

    so this is what I’m using, but I can’t combine the example with it. If you could help me out I would REALLY appreciate it. I get this is all volunteer though.

    <?php
    if (is_category()) {
    $this_category = get_category($cat);
    }
    ?>
    <?php
    if($this_category->category_parent)
    $this_category = wp_list_categories('orderby=id&show_count=0&echo=0&exclude=4,6,20&title_li=&depth=2&use_desc_for_title=1&child_of='.$this_category->category_parent."&echo=0"); else
    $this_category = wp_list_categories('orderby=id&show_count=0&echo=0&exclude=4,6,20&title_li=&depth=1&use_desc_for_title=1&child_of='.$this_category->cat_ID."&echo=0");
    if ($this_category) { ?>
    <ul class="leftnav">
    <?php echo $this_category; ?>
    </ul>
    <?php } ?>

    http://www44.a2hosting.com/~traffic1/safety

    Thread Starter csleh

    (@csleh)

    Unfortunately I can’t delete it from the template, since there are a lot of categories on the site.

    I tried adding echo=0 like this:
    orderby=id&show_count=0&echo=0&exclude=4,6,20

    but it didn’t have any effect. “No categories” still displays.

    Thread Starter csleh

    (@csleh)

    any ideas? It’s really disrupting.

    which means that this works:

    <?php
       if (!empty($post->post_parent)) {
        $parentTitle = get_the_title($post->post_parent);?>
      <a href="<?php echo get_permalink($post->post_parent); ?>" title="<?php echo $parentTitle; ?>">Back to <?php echo $parentTitle; ?></a>
      <?php } ?>

    I’m using 2.7.1

    Thread Starter csleh

    (@csleh)

    cool! I’m going to need to learn php. To my untrained eye it looks like the & ! makes an “and” statement become a ” is not” statement

    Thread Starter csleh

    (@csleh)

    You’re right — I’ve been trying so many things I forget what’s been done. This is the Breadcrumb Trail plugin by Justin Tadlock. It’s customized to show &raquo between links, and to show “home” with a lowercase h to match the rest. There isn’t an option for skipping the home page.

    I tried wrapping it in variations of this:

    <?php
    if ( is_page('home')) {
    echo '';
    } else
    echo '<p class="breadcrumbs">'
    <?php if ( function_exists( 'breadcrumb_trail' ) ) {
    breadcrumb_trail( array( 'separator' => '»' , 'before' => '','show_home' => __('home', 'breadcrumb_trail') ) );
    }
    ?>
    echo '</p>';
    }
    ?>

    But it didn’t work.

    Since I’m calling a unique body id for each page, I’ll just set up css to display:none on this <p>.
    Should have thought of that earlier! Silly sleepy brain.

    Might what was i trying would work if I knew programming? Or because this is an “if” statement it wouldn’t combine with another “if” statement?

Viewing 15 replies - 106 through 120 (of 288 total)