Forum Replies Created

Viewing 15 replies - 121 through 135 (of 137 total)
  • Thread Starter rustybulb

    (@rustybulb)

    OK for the benefit of other ppl, I found out myself how to do it (no-one else was gonna tell me!)

    I found the images in the Library. The confusion lay in one part of WP calling it a Gallery, and another calling it a Library.

    So there you go.

    Hi Poogy,

    I see what you mean. The designer’s site works ok. But WP experts might not know the answer as it is a theme question.

    Is it possible you could contact the designer of the theme? Just leave a comment – I’m sure they’ll be glad to help.
    https://ahren.org/code/ahimsa

    Good Luck

    Try adding /wp-admin/ to your blog domain, as I once did that and it accepted my login when I was having trouble. I also think the login is case sensitive.

    Good Luck

    Thread Starter rustybulb

    (@rustybulb)

    I’m still stuck!

    Thread Starter rustybulb

    (@rustybulb)

    Anyone?

    Thread Starter rustybulb

    (@rustybulb)

    PEBCAK

    Sorry folks – I’ve been calling an image a .jpeg when it should be .jpg

    Duh.

    Thanks for your help

    Thread Starter rustybulb

    (@rustybulb)

    Still unsolved – thanks

    Thread Starter rustybulb

    (@rustybulb)

    OK I found out the webroot is public_html.

    That takes me back to the beginning. I already put the image in the images folder within public_html to start with and it didn’t work. Just tried it again to double check.

    Did I misunderstand stvwlf’s advice?
    Or is there another way of making an image url?

    On a normal website, I’d know how to do this. How come WordPress is different?

    Thanks a lot

    Thread Starter rustybulb

    (@rustybulb)

    Thanks for your reply.

    I tried the two URL examples you gave me:
    https://mywpblog.com/wp-content/uploads/pic001.jpeg
    and
    https://mywpblog.com/wp-content/themes/{themename}/images/pic001.jpeg

    but I still got ‘No Page Found’ when I typed those urls in the box (with my details in obviously).

    Perhaps I should mention that the image is supposed to be a static ad on the right panel, not within a post. I uploaded the image via Filezilla to the folders you mention.

    Also, I would try the third option but I could not find the ‘webroot’ in Filezilla.

    How do I access the Webroot please?

    Thanks

    Thread Starter rustybulb

    (@rustybulb)

    Thanks.
    I just deleted the apostrophe after the 20 and it’s fine – Phew!

    Thanks everyone!

    Thread Starter rustybulb

    (@rustybulb)

    OK The Privacy page is number 20 so this is the code I need to put in:

    <ul>
      <?php wp_list_pages('exclude=20' ); ?>
    </ul>

    asechrest said I should adjust this line:
    <?php wp_list_pages(); ?>

    but that line is nowhere in my header code. I have this instead:

    <ul>
       <?php if ($flex_nav_home == "no") { ?>
           <?php } else { ?>
        <li><a href="<?php echo get_option('home'); ?>/"><span>Home</span></a></li>
        <?php } ?>
    <?php echo preg_replace('@\<li([^>]*)>\<a([^>]*)>(.*?)\<\/a>@i', '<li$1><a$2><span>$3</span></a>', wp_list_pages('echo=0&orderby=name&exclude=&title_li=&depth=1')); ?>
    </ul>

    How should I adjust this please?

    I just tried putting 20′ after exclude= but now I get this:
    “Parse error: syntax error, unexpected ‘=’ in /home/allthe/public_html/wp-content/themes/flexibility2/header.php on line 48”
    where my site should be!

    Thanks

    Thread Starter rustybulb

    (@rustybulb)

    Thank you

    Thread Starter rustybulb

    (@rustybulb)

    Thank you, yes the header makes more sense. Sorry I missed that earlier.

    I’ll look at the plugin thanks.

    Thread Starter rustybulb

    (@rustybulb)

    Thank you for your help.
    Ok, my pages don’t have numbers – only titles and my Privacy page is cunningly called /privacy/

    So I changed the code to this:

    <ul>
      <?php wp_list_pages('exclude=privacy' ); ?>
    </ul>

    but I had no idea where in the Page code to put it, so I whacked it in the middle, and it messed up. It did not exclude the Privacy page from the tabs, but it did make the two pages I have added appear as extra links underneath the header – Oh no!

    Luckily I had kept the original code, so I undid it.

    My Page Code is below. Please could someone tell me where to put the Exclude code and whether I have it correct in the first place as

    <ul>
      <?php wp_list_pages('exclude=privacy' ); ?>
    </ul>

    Complete Original Page Code:

    <?php
    global $options;
    foreach ($options as $value) {
            if (get_option( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_option( $value['id'] ); } }
    ?>
    <?php get_header(); ?>
    <?php if ($flex_feat_display == "no" OR $flex_feat_pages == "home only" OR $flex_feat_pages == "home and posts") { ?>
    	<?php if ( is_front_page() AND $flex_feat_display != "no" ) { ?>
    
    	<div id="feature"><div class="topshadow">
        <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('Feature_top') ) : else : ?>
       <?php include (TEMPLATEPATH . '/feature.php'); ?>
        <?php endif; ?><div style="clear:both;"></div>
        </div></div><?php } ?>
    
           <?php } else { ?>
        <div id="feature"><div class="topshadow">
        <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('Feature_top') ) : else : ?>
       <?php include (TEMPLATEPATH . '/feature.php'); ?>
        <?php endif; ?><div style="clear:both;"></div>
        </div></div><?php } ?>
    <div id="content">
    
      <div class="postwrap">
      <h2 class="pagetitle">
            <?php the_title(); ?>
          </h2>
    
        <div class="post"> <div class="postcontent">
          <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    
          <?php the_content("__('Read the rest of this page')
    "); ?>
          <?php edit_post_link(__('Edit'), '', '
    '); ?>
          <?php endwhile; endif; ?>
        </div></div>
        <?php if(comments_open()) : ?>
        <?php comments_template('', true); ?>
        <?php endif; ?>
      </div>
      <?php get_sidebar(); ?>
    </div>
    <?php get_footer(); ?>

    Thanks a lot

    Thread Starter rustybulb

    (@rustybulb)

    Still unresolved…

    Thanks

Viewing 15 replies - 121 through 135 (of 137 total)