Title: ACF Tooltip
Author: dreihochzwo
Published: <strong>21 kovo, 2017</strong>
Last modified: 22 gruodžio, 2024

---

Ieškoti įskiepiuose

![](https://ps.w.org/acf-tooltip/assets/banner-772x250.png?rev=1620887)

Šis įskiepis **nebuvo išbandytas su 3 vėliausiomis WordPress versijomis**. Jis tikriausiai
nėra prižiūrimas ir palaikomas, todėl gali neveikti su naujausiomis WordPress versijomis.

![](https://ps.w.org/acf-tooltip/assets/icon-256x256.png?rev=1620887)

# ACF Tooltip

 Autorius [dreihochzwo](https://profiles.wordpress.org/tmconnect/)

[Parsisiųsti](https://downloads.wordpress.org/plugin/acf-tooltip.1.2.5.zip)

 * [Informacija](https://lt.wordpress.org/plugins/acf-tooltip/#description)
 * [Atsiliepimai](https://lt.wordpress.org/plugins/acf-tooltip/#reviews)
 *  [Diegimas](https://lt.wordpress.org/plugins/acf-tooltip/#installation)
 * [Kūrimas](https://lt.wordpress.org/plugins/acf-tooltip/#developers)

 [Pagalba](https://wordpress.org/support/plugin/acf-tooltip/)

## Aprašymas

If an ACF field requires a longer instruction text, the layout of the edit screen
is messy and a lot of space is wasted.

The ACF Tooltip plugin hides the field instructions, adds a help symbol to the field
labels and generates a tooltip based on the instruction text.

#### New in Version 1.2.0

The tooltip will not hide if moused over, allowing create a tooltip with a link 
inside without hiding the tooltip.

#### Custom settings

There are 7 filters that allow adjusting the design and the behavior of the tooltips.

**This plugin works only with the [ACF PRO](https://www.advancedcustomfields.com/pro/)(
version 5.5.0 or higher).**

#### Localizations

 * English
 * Deutsch

### Custom settings with filter hooks

There are 7 filters that allow adjusting the design and the behavior of the tooltips
can be adjusted.

#### Set the design of the tooltips

    ```
    <?php
    function acf_tooltip_style() {
        $style = 'qtip-acf';

        return $style;
    }
    add_filter('acf/tooltip/style', 'acf_tooltip_style');
    ?>
    ```

The available styles can be found on the [qTip options page](http://qtip2.com/options#style)
and are shown on the [qTip demo site](http://qtip2.com/demos/).

You can mix the styles; e.g. „qtip-acf qtip-rounded qtip-shadow”

If you like, you can define your own style, with the class name of your style from
your own CSS file (see next filter).

The qtip-acf style is the standard style, which is set without a filter.

#### Define your own CSS file

    ```
    <?php
    function acf_tooltip_css() {
        $css_file = get_bloginfo('template_url') . '/qtip-own.css'; // if the file is saved in your themes folder

        return $css_file;
    }
    add_filter('acf/tooltip/css', 'acf_tooltip_css');
    ?>
    ```

You will find a ‘qtip-example-style.css’ in the ‘/assets/css’ folder.

#### Positioning the corner of the tooltip

    ```
    <?php
    function acf_tooltip_position_my() {
        $position_my = 'center left';

        return $position_my;
    }
    add_filter('acf/tooltip/position/my', 'acf_tooltip_position_my');
    ?>
    ```

#### Position in relation to the tooltip icon

    ```
    <?php
    function acf_tooltip_position_at() {
        $position_at = 'center right';

        return $position_at;
    }
    add_filter('acf/tooltip/position/at', 'acf_tooltip_position_at');
    ?>
    ```

Check out the [qTip demo site](http://qtip2.com/demos/) to find your perfect positioning.

#### Apply tooltips only to fields with specific class

    ```
    <?php
    function acf_tooltip_class() {
        $class = 'with__tooltip'; // edit this to your prefered class name

        return $class;
    }
    add_filter('acf/tooltip/class/only', 'acf_tooltip_class');
    ?>
    ```

Add the class to the fields where you want to show tooltips.

#### Exclude tooltips on fields with specific class

    ```
    <?php
    function acf_tooltip_class_exclude() {
        $class = 'no__tooltip'; // edit this to your prefered class name

        return $class;
    }
    add_filter('acf/tooltip/class/exclude', 'acf_tooltip_class_exclude');
    ?>
    ```

Add the class to the fields where you _don’t_ want to show tooltips.

#### Add tooltips to the Field Editor

With this filter, you can specify whether the instructions in the Field Editor are
displayed as tooltips as well. By default, the instructions are displayed.

    ```
    <?php
    add_filter('acf/tooltip/fieldeditor', '__return_true');
    ?>
    ```

## Ekrano nuotraukos

[⌊ACF Tooltip in standard mode⌉⌊ACF Tooltip in standard mode⌉[

ACF Tooltip in standard mode

## Diegimas

 1. Upload the `acf-tooltip` folder to your `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Done!

## Atsiliepimai

![](https://secure.gravatar.com/avatar/7c04aec7f8289d1c303076cda1c97a59ab17839df986f491cb33b2e7015bbb23?
s=60&d=retro&r=g)

### 󠀁[Works like charme](https://wordpress.org/support/topic/works-like-charme-2/)󠁿

 [indysigner](https://profiles.wordpress.org/indysigner/) 21 rugsėjo, 2021

Installed it, activated it, and guess what? It just works! Great job, Thomas!

![](https://secure.gravatar.com/avatar/74653e09d86eca41f64dc2c33de34f923ade472a5bd1d6ed89ab55389e1f4174?
s=60&d=retro&r=g)

### 󠀁[Very useful plugin.](https://wordpress.org/support/topic/very-useful-plugin-959/)󠁿

 [dionysios](https://profiles.wordpress.org/dionysios/) 15 gegužės, 2020

Very useful plugin. Please keep it alive and updated! Thank you!

![](https://secure.gravatar.com/avatar/4d014efa87ba16a435aec963da1d15ad17246bf7a0d53e23e801e652a26648c6?
s=60&d=retro&r=g)

### 󠀁[Excellent!](https://wordpress.org/support/topic/excellent-7319/)󠁿

 [palmerijosh](https://profiles.wordpress.org/palmerijosh/) 7 vasario, 2019

Great plugin! Does the job well. However, a bit heavy; for large use cases where
you have many ACF fields, I have seen a significant performance drop in the WP dashboard
and increased load times.

![](https://secure.gravatar.com/avatar/d17ff61b1a90175bd9c750ce3a0aa795d30bc8539cf0c7c9b67882d2b75fe06d?
s=60&d=retro&r=g)

### 󠀁[Very useful](https://wordpress.org/support/topic/very-useful-1776/)󠁿

 [edmin](https://profiles.wordpress.org/edmin/) 16 gruodžio, 2018

Thanks for keeping it maintained, too.

![](https://secure.gravatar.com/avatar/0c7a2d9183c117bb04031d4d3cfe6cc84b39a0ba9eaf15506ba2b51a64307907?
s=60&d=retro&r=g)

### 󠀁[Saves so much space!](https://wordpress.org/support/topic/saves-so-much-space/)󠁿

 [FriendlyWP](https://profiles.wordpress.org/mmcginnis/) 16 lapkričio, 2018

For those who like verbose instructions, this plugin is a lifesaver. Works exactly
as expected. Thank you so much!

 [ Perskaityti visus atsiliepimus (6) ](https://wordpress.org/support/plugin/acf-tooltip/reviews/)

## Programuotojai ir komandos nariai

“ACF Tooltip” yra atviro kodo programa. Prie jos sukūrimo prisidėję žmonės surašyti
toliau.

Autoriai

 *   [ dreihochzwo ](https://profiles.wordpress.org/tmconnect/)

Įskiepis “ACF Tooltip” išverstas į 4 kalbas. Dėkojame [vertėjams](https://translate.wordpress.org/projects/wp-plugins/acf-tooltip/contributors)
už jų darbą.

[Išverskite “ACF Tooltip” į savo kalbą.](https://translate.wordpress.org/projects/wp-plugins/acf-tooltip)

### Domina programavimas?

[Peržiūrėkite kodą](https://plugins.trac.wordpress.org/browser/acf-tooltip/), naršykite
[SVN repozitorijoje](https://plugins.svn.wordpress.org/acf-tooltip/), arba užsiprenumeruokite
[kodo pakeitimų žurnalą](https://plugins.trac.wordpress.org/log/acf-tooltip/) per
[RSS](https://plugins.trac.wordpress.org/log/acf-tooltip/?limit=100&mode=stop_on_copy&format=rss).

## Pakeitimų istorija

#### v1.2.5

 * Fixed PHP8 compatibilty

#### v1.2.2

 * Fixed compatibilty error of 1.2.1 update if ACF is < 5.7.0

#### v1.2.1

 * Fixed [White-space bug](https://wordpress.org/support/topic/white-space-where-instructions-would-be-2)

#### v1.2.0

 * Tooltip is no longer hidden on hover

#### v1.1.0

 * Changed class name to prevent future conflicts with ACF

#### v1.0.0

 * Initial release of this plugin, tested and stable.

## Metainformacija

 *  Version **1.2.5**
 *  Atnaujinta **prieš 2 metai**
 *  Aktyvių instaliacijų **1 000+**
 *  WordPress versija ** 4.7 ar naujesnė **
 *  Ištestuota iki **6.7.7**
 *  Kalbos
 * [English (US)](https://wordpress.org/plugins/acf-tooltip/), [French (France)](https://fr.wordpress.org/plugins/acf-tooltip/),
   [German](https://de.wordpress.org/plugins/acf-tooltip/), [Japanese](https://ja.wordpress.org/plugins/acf-tooltip/)
   ir [Swedish](https://sv.wordpress.org/plugins/acf-tooltip/).
 *  [Išversti į savo kalbą](https://translate.wordpress.org/projects/wp-plugins/acf-tooltip)
 * Žymos
 * [acf](https://lt.wordpress.org/plugins/tags/acf/)[acfpro](https://lt.wordpress.org/plugins/tags/acfpro/)
   [advanced custom fields](https://lt.wordpress.org/plugins/tags/advanced-custom-fields/)
   [instructions](https://lt.wordpress.org/plugins/tags/instructions/)[tooltip](https://lt.wordpress.org/plugins/tags/tooltip/)
 *  [Daugiau](https://lt.wordpress.org/plugins/acf-tooltip/advanced/)

## Įvertinimai

 5 out of 5 stars.

 *  [  5 5-star reviews     ](https://wordpress.org/support/plugin/acf-tooltip/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/acf-tooltip/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/acf-tooltip/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/acf-tooltip/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/acf-tooltip/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/acf-tooltip/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/acf-tooltip/reviews/)

## Autoriai

 *   [ dreihochzwo ](https://profiles.wordpress.org/tmconnect/)

## Pagalba

Turite pastabų? Reikia pagalbos?

 [Peržiūrėti pagalbos forumą](https://wordpress.org/support/plugin/acf-tooltip/)

## Paremkite

Galbūt norite padėti plėtoti šį įskiepį?

 [ Paremti įskiepio kūrimą ](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=XMLKD8H84HXB4&lc=US&item_name=Donation%20for%20WordPress%20Plugins&no_note=0&cn=Add%20a%20message%3a&no_shipping=1&currency_code=EUR)