Forum Replies Created

Viewing 15 replies - 31 through 45 (of 79 total)
  • This would be the code you’re looking for.

    <a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">Read the Rest of this entry &raquo;</a>

    Thread Starter WildBil2Me

    (@wildbil2me)

    I thought I had tried those … I must have just used

    Thanks

    Thread Starter WildBil2Me

    (@wildbil2me)

    Lol – I was using ‘. No wonder!!

    <?php the_title(); ?>

    There ya go – it’s always something simple isn’t it.

    sorry – dupe post

    Can’t remember how to post code examples here lol.

    What we’re going to do is add a new permalink to the bottom of each post excerpt.

    To do that you’re going to want to locate the_excerpt on archive.php and search.php (lines 42 and 22 respectively.)

    Add a new line immediately after the line with the_excerpt and the closing </div>

    You can see the code in this text file.

    That ought to do the trick.

    Now – if you’re post is longer than 55 words and you haven’t used a <!–more–> tag in it you’ll see […] to mark where the excerpt ends. If you have used the <!–more–> tag you won’t see that […].

    Hope this helps.

    hi darcy,

    I didn’t mean that the more was redundant in general, just that it is when you use the_excerpt – and only in the sense of shortening your posts because the_excerpt shortens them automatically.

    I actually use the more tag a lot and you’re right! It’s a great tool for showing the reader that there’s more to your posts than just what they see on the index, search, category, or archive pages.

    ProSense is basically just using the_excerpt to cut down on “duplicate content” and keep those search, category and archive pages a bit quicker to navigate.

    If you’d like to add the “Read more” link to those templates you can do it pretty easily – you would just need to edit a couple of your template pages. If you’re interested in doing this, and no one beats me to the punch, I’ll gladly post some code later.

    I’m not at my dev machine right now so I’d hate to do it off the top of my head and be wrong.

    Sorry for any confusion.

    “/%category%/%postname%/” is actually perfectly acceptable code to use for your permalink structure too.

    Chances are there’s an underlying problem of some sort.

    Lassefm,

    Can you provide a URL where this is happening? If it is the permalink structure then you can manually change this by going into the WordPress database by using something like phpMyAdmin – it’s a little complicated but not too hard.

    The strange thing, though, is that you shouldn’t be blocked from accessing your /wp-admin or /wp-login.php files – at least not necessarily.

    If you could share the URL it might shed light on the issue.

    It actually is working as intended right now.

    In order to use the “more” tag and it’s settings you need to be using the_content within the loop to call your posts. ProSense actually uses the_excerpt for those pages. the_excerpt will only display an excerpt (the first 55 words) of your post rather than the whole thing so the more tag is a bit redundant with it.

    My guess is that the folks at DoshDosh who put together ProSense were aiming at making those Search, Archive and Category pages a little more SEO friendly.

    If you really want to change it it wouldn’t be too hard – but it’s not really necessary.

    Can you provide a link to where this is actually happening?

    It sounds to me like there’s a 404 happening. If you don’t have a proper 404.php setup sometimes when it hits a bad URL WordPress will display what looks like the homepage instead. I’ve had this happen recently on two themes I was developing.

    You can test if it’s returning a 404 by just adding a blank 404.php file to your theme. Once that’s done click through to a post – if a blank page appears then that’s what’s happening.

    Now – if it’s a 404 then we talk .htaccess. If it’s not a 404 there are a few other things we can try.

    Forum: Fixing WordPress
    In reply to: Ads not working

    jack40k,

    I’m actually seeing the google adsense banner on both of those pages.

    Thread Starter WildBil2Me

    (@wildbil2me)

    Thanks rudolf,

    If I’m reading this right the PHP would look like

    if ((is_home()) && !(is_paged()) {}

    I’ll give it a try and check back.

    One option would be to use the “Optional Excerpt” dialog.

    In your index.php file you’d need to swap “the_content” with “the_excerpt” and then add a link that mimics your more tag. When you’re writing your post just put the text you want on the index page into the “optional excerpt” dialog box and everything you want to appear on the Single post into the regular area.

    This would prevent you from using “the_excerpt” in the usual manner though.

    I wouldn’t call this optimal but it’s certainly one way of doing it.

    Forum: Fixing WordPress
    In reply to: Pages stop loading
    Thread Starter WildBil2Me

    (@wildbil2me)

    Curious as they offer WordPress via the Hosting Metropolis. I’d say the tech that said that may not be ‘informed’.

    What’s even more curious is that five minutes after the phone call it’s loading just fine. I’ll be calling and writing the number and email they gave me for filing complaints and will be looking into other avenues for hosting ASAP.

    Forum: Fixing WordPress
    In reply to: Pages stop loading
    Thread Starter WildBil2Me

    (@wildbil2me)

    I just got off the phone with GoDaddy who told me “WordPress is not the ideal solution for most users.”

    Funny – for two years it ran without a problem and suddenly (without an updgrade, any new plugins or any significant changes) it’s “not ideal.”

    I guess it’s time to hunt for a new host afterall… thanks for your help folks.

Viewing 15 replies - 31 through 45 (of 79 total)