Forum Replies Created

Viewing 15 replies - 16 through 30 (of 30 total)
  • Thread Starter simonbailey

    (@simonbailey)

    I think I have fixed it! It was errors in my code.

    I’m so sorry, just panicked a bit!

    Thank you so much for all your help!

    Sorry again :/

    Thread Starter simonbailey

    (@simonbailey)

    Sure, thanks for all your help…

    The htaccess file for lost-cats contains:

    IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /lost-cats/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /lost-cats/index.php [L]
    </IfModule>

    The htaccess file for lost dogs contains:

    IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /lost-dogs/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /lost-dogs/index.php [L]
    </IfModule>

    The code in the wordpress admin sections says to use the following for the htaccess…

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /lost-cats/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /lost-cats/index.php [L]
    </IfModule>

    Is this any help?

    Thread Starter simonbailey

    (@simonbailey)

    Hi xcott, thanks for replying bud.

    I tried to switch it back to the default ugly URL structure, but it has made no difference. Have left is as that, could you take a look?

    I didn’t change the template or htaccess when I implemented the new design, I just overwrote the existing code (around the wordpress code). The wordpress code remains as it was before.

    It is strange, because the list items for archived results work (the page 2,3,4,5 etc..)

    Not a clue what to do ๐Ÿ™

    Thread Starter simonbailey

    (@simonbailey)

    Can anyone help?

    Thread Starter simonbailey

    (@simonbailey)

    The code I am using to link to the permalink from each post is:

    <p><?php if(function_exists(‘wp_pagenavi’)) { wp_pagenavi(); } ?></p>

    <?php if (have_posts()) : ?>

    <?php while (have_posts()) : the_post(); ?>

    <div class=”post” id=”post-<?php the_ID(); ?>”>

    <h4>” rel=”bookmark” title=”Permanent Link to <?php echo strip_tags(the_title(”, ”, false) ); ?>”><?php the_title(); ?></h4>

    <small><?php the_time(‘F jS, Y’) ?> <!– by <?php the_author() ?> –></small>

    <?php the_excerpt(‘Read the rest of this entry »’); ?>

    <p class=”postmetadata”>Posted in <span class=”link”><?php the_category(‘, ‘) ?> | <?php edit_post_link(‘Edit’, ”, ‘ | ‘); ?> <?php my_comments_popup_link(‘No Comments »’, ‘1 Comment »’, ‘% Comments »’); ?></span></p>

    <br class=”clear” />

    </div>

    <?php endwhile; ?>

    <!–<div class=”navigation”>

    <div class=”alignleft”><?php next_posts_link(‘« Previous Entries’) ?></div>
    <div class=”alignright”><?php previous_posts_link(‘Next Entries »’) ?></div>
    –>

    <p><span class=”link”><?php if(function_exists(‘wp_pagenavi’)) { wp_pagenavi(); } ?></span></p>

    <!–</div>–>

    <?php else : ?>

    <h2 class=”center”>Not Found</h2>
    <p class=”center”>Sorry, but you are looking for something that isn’t here.</p>
    <?php include (TEMPLATEPATH . “/searchform.php”); ?>

    <?php endif; ?>

    Any help will be so good, really want to get this fixed as soon as I can :/

    Thread Starter simonbailey

    (@simonbailey)

    How do I check that?

    Thread Starter simonbailey

    (@simonbailey)

    Ahhhhhhhh yeah …. cool as, cheers beers

    P.S Don’t forget to close your brackets when being sarcastic ๐Ÿ™‚

    P.P.S Only joking chap, cheers for sorting it for me!

    Moshu, I don’t really understand. Do I use the plugin, even though my theme uses the_content?

    If not, where do I add <!–more–> etc? Not sure how to implement it

    Thanks

    Thread Starter simonbailey

    (@simonbailey)

    Fantastic, all fixed ๐Ÿ™‚

    Thanks alot nas ๐Ÿ™‚

    Thread Starter simonbailey

    (@simonbailey)

    Thanks alot nastaliq.

    I have made the php file and uploaded this, also I have changed the settings within my administration panel.

    I don’t really understand what you mean by comments_popup_link in my themes files.
    I can see comments-popup.php is this what you mean?

    I have looked in this file and can see no instances of comments_popup_link

    Is this what you mean?

    I have changed the code in my single.php file and that works perfectly so thanks alot.

    Comments are still not working though ๐Ÿ™

    Thread Starter simonbailey

    (@simonbailey)

    By the way – the code for this Posted section is:

    <p class=”postmetadata”>Posted in <?php the_category(‘, ‘) ?> | <?php edit_post_link(‘Edit’, ”, ‘ | ‘); ?> <?php comments_popup_link(‘No Comments »’, ‘1 Comment »’, ‘% Comments »’); ?>

    This is currently displaying:

    Posted in GenERAL WAFFLE! | Edit | KOKOPELLI!”>No Comments ยป

    The ‘KOKOPELLI!”>’ being the part where the tags need to be stripped from.

    Hope you can help!

    Thread Starter simonbailey

    (@simonbailey)

    That’s fantastic ๐Ÿ™‚

    nastaliq that has worked perfectly, thank you so much.

    How do I also edid the code to make this change for the ‘Posted in’ section, as at the moment the ‘No comments’ text is also showing some tags.

    Not quite sure how to change that.

    Thread Starter simonbailey

    (@simonbailey)

    I lied, not all solved .. if you look on my homepage: http://www.simonbailey.co.uk .. the first post reads:
    KOKOPELLI”>STAR KOKOPELLI
    when it should read:
    STAR KOKOPELLI

    The html I entered into the title field is:

    STAR <span class=”dark-grey-text”>KOKOPELLI</span>

    It is outputting the code quite strangely.

    Are there any solutions for this?

    Thread Starter simonbailey

    (@simonbailey)

    Any ideas guys?

    Thread Starter simonbailey

    (@simonbailey)

    All solved, thank you :O)

Viewing 15 replies - 16 through 30 (of 30 total)