Kenneth John Odle

Moderator

Forum Replies Created

  • Mod

    In reply to: Help With 'Related Posts' Plugin

    #16734

    As it turns out, this causes the related posts listing to show up on the front page, even if you’re just showing excerpts on the front page. (?)

    But in the Related Posts settings, there is an option called “Auto Insert Related Posts? ” Ticking that box makes them show up automatically where I had placed them using an action hook, but they don’t show up in the excepts on the front page, which is easier.

    You can still use the action hook method if you want them to show up someplace else, however.

    Ken

    Mod

    In reply to: Help With 'Related Posts' Plugin

    #16733

    I tried using the first plugin (by Denis), adding this code to my child theme’s functions.php file:

    add_action('graphene_after_post_content', 'related_posts');

    function related_posts()
    {
    wp_related_posts();
    }

    It works! You can see it in action here.

    If you do this, be sure to include the opening (<?php) and closing (?>) PHP tags in your functions.php file. (I forgot to do this.)

    I added this just after the content, using the Graphene graphene_after_post_content action hook. You can add it someplace else by using a different action hook. The complete list of Graphene action hooks is here.

    Ken

    Mod

    In reply to: Help With 'Related Posts' Plugin

    #16732

    I actually see two plugins with this name. The first, by Denis, would require you to add this code to your templates:

    Place <?php wp_related_posts(); ?> in your templates

    which could be achieved using action hooks, I image.

    The second, by Thamizhchelvan, does not require this. It adds a “Related Posts” option to each post, which you would have to fill in by hand.

    Ken

    Mod

    In reply to: Showing Off Wasdale Mountain Rescue

    #16708

    I added link to stop the forum software mangling it.

    Using backticks is your best bet for this.

    Action hooks! I was just looking into this today and seeing how they could be used and then here’s a perfect example. Talk about serendipity. You’ve definitely given me a lot to think about here.

    Thanks,

    Ken

    Mod

    In reply to: Content wider than page allows…?

    #16695

    But it wants to be 1000px wide to not have horiz scrollbars. It’s set to 940px wide right now but…then the user has to scroll horiz which I think is bad.

    Yeah, it is bad, because a user shouldn’t have to do a horizontal scroll. But even worse, even 940px is too wide. There’s just a bunch of white space to the right of the form.

    Do you have any control over the iframe? If so, then you need to change

    scrolling="auto"

    to

    scrolling="no"

    or you could change

    width="940"

    to

    width="600"

    since the relevant portion of the iframe is only 570 pixels wide.

    If you don’t have control over these aspects of the iframe, there’s not a lot you can do. But I suspect if you go back to wherever you got the iframe, you should be able to make these changes.

    Ken

    Mod

    In reply to: How to modify the theme using a child theme

    #10928

    First, your links are bold. Try refreshing your page.

    Second, yes, there is a difference with regard to how some features are handled in a child theme vs. custom css. See this post I wrote for a (too short) explanation.

    Third, the rules in a stylesheet can overwrite each other. If you have a CSS rule early on in the sheet, and then inadvertently include another CSS rule later which affects the the same selector, the second rule is the one that your site will display. (This is one of the hardest types of errors to find, IMO.)

    Ken

    Mod

    In reply to: New navigation menu in version 1.4 – a heads up

    #15253

    Looks fine to me in latest versions of Firefox and IE. Awesome header image, BTW.

    Ken

    Mod

    In reply to: Configuring Home Page into Grid/Box Layout for Posts

    #16701

    Please include a URL to your site. This is something that I am interested in because I have been wanting to create a magazine style child theme for some time.

    Ken

    Mod

    In reply to: How can I add multiple pages to a blog post?

    #16653

    I see on your demo site that you have pages with links to “Pages 1 2 3 4” how the heck do I do that?

    That’s the plugin called WP-PageNavi, which is natively supported by the Graphene theme.

    Mod

    In reply to: Showing Off Wasdale Mountain Rescue

    #16706

    It looks good in IE9. In fact, it looks the same as it does in Firefox 6. I love what you have done with the top-nav bar and the footer. A very creative use of what is otherwise usually blank space. Please tell us how you did this.

    Thanks,

    Ken

Viewing 10 posts - 5,471 through 5,480 (of 5,839 total)