Kenneth John Odle

Moderator

Forum Replies Created

  • Mod

    In reply to: How to get Recipe posts to appear on Recipe page

    #21535

    Even easier way: Use Kalin’s Post List plugin

    Mod

    In reply to: Show Title from Header-Picture on MouseOver

    #21546

    Okay, that’s good, because you can easily add a title attribute to a featured image.

    $header_img is a PHP variable. If you look at Graphene’s functions.php file, it’s defined on lines 1862-1866:

    $header_img = get_the_post_thumbnail( $post_id, 'post-thumbnail' );
    $header_img = explode( '" class="', $header_img);
    $header_img = $header_img[0];
    $header_img = explode( 'src="', $header_img);
    $header_img = $header_img[1]; // only the url

    So the question may be how to redefine this function in a child theme to include the title attribute.

    Mod

    In reply to: Warning on bottom of page

    #21574

    How long have you been seeing this error? Since the very beginning of your blog, or has this just shown up? Have you recently added any plugins or edited any core files (either WP or Graphene)? Most importantly, have you recently changed hosting providers, or has your host recently upgraded any of their software? I’m not sure about the first error, but the second one is an Apache error, I believe.

    You might want to read this post in the WP codex: http://wordpress.org/support/topic/unknown-php-errors-bottom-of-bloghelp?replies=16

    I would try Josh’s solution. Without a link to your site, it’s difficult to say more.

    Mod

    In reply to: Show Title from Header-Picture on MouseOver

    #21544

    You might want to look at this plugin:

    http://wordpress.org/extend/plugins/header-image-description/

    Not sure if it will work for you, but it’s a start.

    Mod

    In reply to: Show Title from Header-Picture on MouseOver

    #21543

    How are you using a unique header for each post? Is it through the “use featured image as header image” function?

    Mod

    In reply to: Trouble placing captioned images side-by-side

    #21501

    Because you are now using floats, you will want to clear them afterward, to prevent further alignment problems.

    Either add this just afterward:

    <div style="clear:both;"></div>

    or use the Tiny MCE Clear plugin, which is what I do.

    Mod

    In reply to: Trouble placing captioned images side-by-side

    #21500

    Are you using Firebug? That will make it easy to see what the problem is. The solution is not so easy, however. That is because WP makes it relatively easy to add a CSS class to an image (which can float it to the left or right), but not to a caption.

    WP places a caption within a unique <div>, which contains the image and the caption text (which is a <p>). After you have added your images and the caption text, go back and edit the post using the HTML editor. You should see something that looks like this:

    <div class="wp-caption alignnone" style="width: 310px">
    <a href="http://www.ashishmacwan.com/wp-content/uploads/2011/11/SampleImage1.png">
    <img width="300" height="253" alt="" src="http://www.ashishmacwan.com/wp-content/uploads/2011/11/SampleImage1-300x253.png" title="SampleImage#1">
    </a>
    <p class="wp-caption-text">Fig. 1. Sample Caption #1</p>
    </div>

    That first line is the one you want to edit. Change

    <div class="wp-caption alignnone"

    to

    <div class="wp-caption alignleft"

    and that will probably take care of your issue.

    I admit, it’s not an elegant solution, but I think it will work. Let us know how it works for you.

    Mod

    In reply to: Menu Title problems

    #21460

    Mine, either, which is why I’m thinking it’s some kind of plugin compatibility issue. (Possibly between the plugin and WP.)

    Mod

    In reply to: Menu Title problems

    #21459

    Cool site, BTW. Lots of useful information. Bookmarked.

    Mod

    In reply to: Menu Title problems

    #21457

    You really should use a custom menu. It’s more fun, and it gives you lots of control over your menus. It’s awesome.

    Did you see this post? https://forum.graphene-theme.com/general-talk/updating-to-wordpress-33#post-12995

    or this one?

    https://forum.graphene-theme.com/graphene-support/how-to-add-hover-text-to-secondary-menu

    You are now the second person to see this. I am wondering if this is some sort of bug or compatibility issue. Anyone else seeing this on their blog? Which plugins are you using?

Viewing 10 posts - 4,691 through 4,700 (of 5,839 total)