Viewing 7 replies - 1 through 7 (of 7 total)
  • Same thing here, has anyone got this to work?

    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

    Thread Starter kmoksha

    (@kmoksha)

    jilkey,

    Thanks a ton. Your code did work.

    Please also tell how I can put the back link at the beginning of the title list item or below it.

    Is it possible to have more than one characters as a backlink since many people do not understand it is a backlink with just one character.

    Thread Starter kmoksha

    (@kmoksha)

    Author of plugin,

    I noticed another problem with the plugin.

    In some posts, on saving page as pdf, the links generated in the table are not working.

    Please look into it and advice.

    Thanks.

    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>';

    Thread Starter kmoksha

    (@kmoksha)

    jlkiley,

    Great. Works quite good.

    But I would like to put the backlink at the beginning of the heading, before the content line, because it does not come in the way of reading that way.

    Is it possible for you to tell how to do that ?

    Thanks in advance.

    Plugin Author elpresidento

    (@elpresidento)

    Hi
    1. backlink in a PHP Template will fixed in next version
    2. backlink at the beginning of the heading will add in next version

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Backlinks not showing up even on selecting the option and saving’ is closed to new replies.