• Is there an way to disable the image caption in WP 2.6 not showing under the actual image? I always add caption to my images(for alt tags) but I hate when the caption goes under the pic. How one can disable that?

    Tnx

Viewing 6 replies - 16 through 21 (of 21 total)
  • klugefest

    (@klugefest)

    Otto,

    Regarding your last post here, where in the Functions.php file are we supposed to put it? I’m really not that familiar with php.

    I tried just placing it somewhere and it didn’t fix the captions. Oh, I’m running 2.6.3. Does that make a difference?

    Thanks in advance,
    Tim

    Thx Otto…works perfect (so far..heheh)

    @klugefest: Anywhere before the final ?>

    peace,
    zOnk

    I used the add_filter(‘disable_captions’, create_function(‘$a’,’return true;’)); in my theme function file and the captions do not show on the home page, but they still show on the single post page. How can I disable them on the single page also????

    still no luck – my theme’s functions.php
    <?php
    if ( function_exists(‘register_sidebar’) )
    register_sidebar(array(
    ‘before_widget’ => ‘<div id=”%1$s” class=”widget %2$s”><div class=”widget-inner”>’,
    ‘after_widget’ => ‘</div></div>’,
    ‘before_title’ => ‘<h2 class=”widgettitle”>’,
    ‘after_title’ => ‘</h2>’,
    ));
    add_filter(‘disable_captions’, create_function(‘$a’, ‘return true;’));
    ?>
    I am still getting captions though – any help? version 2.8

    actually let me clarify — full size image has no caption – thumbnails do — should these be disabled the same way?

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    The captions on gallery thumbnails can be hidden by CSS:
    .gallery-caption { display:none; }

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘Image caption in WP 2.6’ is closed to new replies.