Αυτό το πρόσθετο δεν έχει δοκιμασθεί με τις 3 τελευταίες κύριες εκδόσεις του WordPress. Μπορεί να μην αναπτύσσεται ή να υποστηρίζεται άλλο και να έχει προβλήματα συμβατότητας με τις πιο πρόσφατες εκδόσεις του WordPress.

WP Anchor Header

Περιγραφή

Το WP Anchor Header δημιουργεί συνδέσμους για τις επικεφαλίδες (Η1-H6), δημιουργώντας μια επικεφαλίδα όπως αυτή:

<h2 id="the-heading">
   The Heading<a class="anchorlink dashicons-before" href="#the-heading"></a>
</h2>

Οι συνδέσμοι έχουν μορφοποιηθεί με το ακόλουθο CSS:

/* show IDs for anchors */
h1[id]:hover a.anchorlink:before,
h2[id]:hover a.anchorlink:before,
h3[id]:hover a.anchorlink:before,
h4[id]:hover a.anchorlink:before,
h5[id]:hover a.anchorlink:before,
h6[id]:hover a.anchorlink:before {
    content: "\f103"; /*dashicons-admin-links*/
    color: #888;
    font-size: smaller;
    text-decoration: none;
    vertical-align: baseline;
}
a.anchorlink {
    text-decoration: none;
    margin-left: 0.5em;
    font-size: smaller;
}

Ευχαριστίες

Το πρόσθετο είναι εμπνευσμένο από τον Christian Weiske και το άρθρο του Usability: Clickable heading links.

Εγκατάσταση

  1. Κατεβάστε το πρόσθετο και να αποσυμπιέστε το . zip
  2. Ανεβάστε τον αποσυμπιεσμένο φάκελο στον κατάλογο /wp-content/plugins/
  3. Ενεργοποιήστε το πρόσθετο μέσω του μενού “Πρόσθετα” στο WordPress

Συχνές Ερωτήσεις

Οδηγίες εγκατάστασης
  1. Κατεβάστε το πρόσθετο και να αποσυμπιέστε το . zip
  2. Ανεβάστε τον αποσυμπιεσμένο φάκελο στον κατάλογο /wp-content/plugins/
  3. Ενεργοποιήστε το πρόσθετο μέσω του μενού “Πρόσθετα” στο WordPress

Κριτικές

21 Μαΐου 2018
I installed and activated the plugin through the Wordpress "Add New" Plugin wizard, with no special configuration. I am running the plugin with the MH Magazine Lite theme. As soon as it was activated, it caused all content from all pages to be removed from the site. The content is not served at all (it's not just a stylesheet display:none issue). Fortunately deactivating the plugin allowed all my content to be served again (it was still stored in the database, but couldn't be viewed by visitors).
29 Ιουνίου 2017
This plugin saved me a significant amount of time adding anchor links throughout an existing website. It worked exactly as expected. My only suggestion would be a settings panel in the admin where users can specify exactly which header elements get anchor links automatically associated with them. So for example, I can go in and select "apply anchor links to <H4> only." The ability to have a setting to turn on/off the hover link icon would be very helpful too. I had to manually edit the CSS to hide these icons on everything but H4's in my entry content.
3 Σεπτεμβρίου 2016
To tell the truth I had no hope searching for a plugin that would add links to headers. And I was so surprised when this plugin did exactly what I wanted. Thank you, Per Soderlind, for this plugin! P.S.: Sorry for my English, I am Russian.
Ανάγνωση όλων των 6 κριτικών

Συνεισφέροντες & Προγραμματιστές

“WP Anchor Header” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει στη δημιουργία του.

Συντελεστές

Σύνοψη αλλαγών

0.2.3

  • Δοκιμασμένο & βρέθηκε συμβατό με το WP 4,7.

0.2.2

  • Δοκιμασμένο & βρέθηκε συμβατό με το WP 4,6.

0.2.1

  • FIX: Δεν εκτελείται όταν the_content είναι κενό

0.2.0

  • Eνημερωμένη έκδοση σύμφωνα με τα WordPress Coding Standards.
  • Δοκιμασμένο & βρέθηκε συμβατό με το WP 4,5.

0.1.8

  • Διορθώθηκε το bug UTF-8, προστέθηκε mb_convert_encoding σε Load HTML (): @ $doc-> Load HTML (mb_convert_encoding ($content, ' HTML-ΟΝΤΌΤΗΤΕς ', ' UTF-8 ')) ·
  • Προστέθηκε singleton
  • Προστέθηκαν σχόλια στον κώδικα

0.1.5

  • Αρχική έκδοση