jlkiley
Forum Replies Created
-
Hey kmoksha,
For your question about the one character. I overrode that on mine as well.
Again edit the file mwm-aal-class.php
On line 93 change this line:
$linkback = '<a title="'.$this->options['backlink_text'].'" href="#Content-bal-title"> '.$this->options['backlink_char'].'</a>';
To something like:
$linkback = '<a class="mwm-aal-backlink" title="'.$this->options['backlink_text'].'" href="#Content-bal-title"> *Back to Top</a>';
The easiest way to move the back link would be to move it to the bottom by put a
<br>
at the beginning of the $linkback.
Something like this:
$linkback = '<br><a class="mwm-aal-backlink" title="'.$this->options['backlink_text'].'" href="#Content-bal-title"> *Back to Top</a>';
So the issue seems to be with how you implement the code…
I can get it to work if I enter the tag into every page or post using the visual editor:
[mwm-aal-display]
It will not work if you try to integrate this into a PHP template with this code:
<?php global $mwm_aal; echo $mwm_aal->output_content_links(); ?>
Because I need to implement this in the template, I came up with a quick fix.
Edit the file mwm-aal-class.php
Find this code at line 44:
if($this->options['is_backlink'] and $this->isTagUsed){ $content= $this->add_backlinks_to_content($content); }
And remove or comment out the if statement so you are left with only:
$content= $this->add_backlinks_to_content($content);
This will permanently turn on the backlinks.
Hope that helps
Same thing here, has anyone got this to work?
Forum: Plugins
In reply to: [Better Anchor Links] Show backlink next to heading featureI am seeing the same issue, everything is checked but it does not show up.
A quick write up on how to make it work would be great