Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’m having the same problem. Clean 1.5 install with kubrick scheme (modified)

    Been using the test site for trackback and pingback, but pingback does nothing. nothing in moderation and no e-mail either. Thought it might be an e-mail issue, but turned that off and no joy.

    Where does one start working out where/what the issue is ? I guess I should see some entries in HTTP logs, but my host doesn’t give me access to those.

    Any advice on how to resolve this issue would be appreciated.

    thnx

    howie

    Thread Starter howie

    (@howie)

    Thanky uo Kafkaesqui. That worked a treat.

    I won’t even ask how one learns about WP internal functions. Read through the code I guess? I reckon the PHP deve team needs to work on auto-generation of API docs, just like Java does

    thanks again

    howie

    Thread Starter howie

    (@howie)

    um… $tempTitle should read $title` oops!

    Thread Starter howie

    (@howie)

    Thanks Lorelle. Codex is back up. But the link is not really what I’m after. Seems awfully messy having to breakdown the URL just to get it’s slug. I’ll stick with using the page title and keep it to one word.

    Still far from perfect. There basically seems to be a complete lack of tags relating to pages. All the examples talk about post tags and loops. I’m new to WP and PHP, but why/how would I have a loop around content for a unique page?

    If my template is rendering a page it should know that a) it is a page and b) the name of the page. simple.

    Also, can’t understand why a post title is automatically padded with 2 spaces!

    I’ve got a solution in place, but what I need now is a tag to tell my template/header.php that the current content is a page. Otherwise every time I add a page through WP, I need to also change my template for the CSS to work 🙁 Code is as follows:

    <?php
    $title = trim(single_post_title('', FALSE));
    if($title != "photos" && $tempTitle != "links" && $tempTitle != "about" && $tempTitle != "contact") {
    $tempTitle = "home";
    }
    echo "<body id=\"$tempTitle\">";
    ?>

    Wonder how http://www.binarybonsai.com does this?

Viewing 4 replies - 1 through 4 (of 4 total)