go41

Simple Tags – Autolink not working

von blogdot admin am 1. Apr. 2010 | 2 Kommentare

did you realize that in the latest version of the WordPress plugin Simple Tags the ‚auto link tags into post content‘ is not working?

The solution how to repair is to edit your plugins/simple-tags/inc/client.php

Open this file with a text editor and find (line 118ff):

function autoLinkTags( $content = '' ) {
// Get currents tags if no exists
if ( $this->link_tags == 'null' ) {
$this->prepareAutoLinkTags();
}

// Shuffle array
$this->randomArray($this->link_tags);

by adding (in line 121) this :

$link_tags = $this->link_tags;

Your code here should look like this:
function autoLinkTags( $content = '' ) {
// Get currents tags if no exists
if ( $this->link_tags == 'null' ) {
$this->prepareAutoLinkTags();
}
$link_tags = $this->link_tags; // add in line 121
// Shuffle array
$this->randomArray($this->link_tags);

Now the keywords in your content should be linked to the tags archive.

Inspect an HTML Element: Right-click on an element (or a blank area), and choose "Inspect" to see what elements are made up of (you will see both the HTML and the CSS). You can also Voici 5 conseils pour réguler et optimiser les tags sur votre blog. 5 bonnes pratiques pour optimiser les tags d’un blog 1. Gardez le contrôle. Ne perdez jamais de vue l’objectif premier des tags, à HTML Basic . Syntax: content Example: tag is used for paragraph and is closed by . tag is used for headings and is closed by . 2. HTML Attribute. Attributes attach extra information to the Comment insérer un nuage de Comment insérer un nuage de tag dans un blog WordPress. 26 juillet 2008. Un nuage de tag – tag cloud en anglais – affiche la liste des mots-clés ou étiquettes dans lequel la taille de Tags: comment, insérer, nuage,

2 Kommentare

  1. gold guide wow sagt:

    The number of of you guys here play WoW and will reroll either a Goblin or a Worgen inside the new expansion?

  2. see here for info sagt:

    An ecellent post, well planned and constructed. Congratulations!

Schreibe einen Kommentar

Pflichtfelder sind mit * markiert.


Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.