Support » Plugin: Ambrosite Next/Previous Post Link Plus » [Plugin: Ambrosite Next/Previous Post Link Plus] use thumbs only, with title as tooltip.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author ambrosite

    (@ambrosite)

    Try setting the ‘format’ parameter to an empty string, and use the ‘tooltip’ parameter to specify custom tooltip text.

    thanks.

    this:

    <div id="navi">
                <div id="prev-post">
                <?php previous_post_link_plus( array(
    'order_by' => 'post_date',
    'max_length' => 30,
    'thumb' => 'thumbnail',
    'format' => '',
    'tooltip' => '%title'
                        ) );?>
                </div>
    			<div id="next-post">
    <?php next_post_link_plus( array(
    'order_by' => 'post_date',
    'max_length' => 30,
    'thumb' => 'thumbnail',
    'format' => '',
    'tooltip' => '%title'
                        ) );?>
                </div>
                </div>

    still prints text titles, and the tooltip on the images are derived from the img title=”text” parameter.

    though not ideal, i can hide the text links with display:none. i see the anchors wrapping the images do get the proper post title tag.

    Plugin Author ambrosite

    (@ambrosite)

    “the tooltip on the images are derived from the img title=’text’ parameter”

    There is nothing I can do about that. The thumbnail HTML is generated by the standard WP function get_the_post_thumbnail. The only way you might be able to get rid of that is by opening the thumbnail image in the media library and clearing out the Title and Alternate Text fields.

    i was going to attemt that, however, the media library requires title tags for images. and i don’t want to modify any core. not a big deal. i can live without that- just making sure it’s not something simpler.

    thanks for the prompt responses, and the super plugin.

    best

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Ambrosite Next/Previous Post Link Plus] use thumbs only, with title as tooltip.’ is closed to new replies.