This plugin hasn’t been updated for many years and now causes a PHP fatal error.
I have swapped to Easy Table of Contents and found it works very well.
https://www.ads-software.com/plugins/easy-table-of-contents/
mwm_aal::remove_excerpt_display()
function remove_excerpt_display($excerpt){
$data = __($this->options['displayTitle'],'mwmall');
foreach ($this->links as $val) {
$data .= strip_tags($val[2]);
}
$excerpt = str_replace($data, '', $excerpt);
+ if (isset($tag)) {
$excerpt = str_replace($tag, '', $excerpt);
+ }
+ if (isset($htmltag)) {
$excerpt = str_replace($htmltag, '', $excerpt);
+ }
return $excerpt;
}
]]>
Runing my WordPress install with Debug mode = true on the latest version at the time of posting (5.6.2) I am seeing the following message in relation to this plug-in within my admin panel:
Deprecated: has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /opt/bitnami/apps/wordpress/htdocs/wp-includes/functions.php on line 5143
Deprecated: contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead. in /opt/bitnami/apps/wordpress/htdocs/wp-includes/functions.php on line 5234
I don’t think it’s a big issue, but might need a little patch.
]]>Hi, I have many issues on name attribute of better anchor link.
Is it possible to put id attribute?
Check link validatorw3 that I attach for check it.
Thanks
]]>I had changed my site to php7 and php 7.1 and BAL broke the site. I’ve changed it back to php 5.6 and all fine.
Is there a way to work with php7 with this plugin or a alternative plugin up to date ?
Thanks a lot !
]]>Hi, plugin dos’nt work with persian or arabic lang.
please tell me what can i do now?
i get Fatal error: Call to undefined function iconv() in /home/xxxwebsitesxxx/public_html/wp-content/plugins/better-anchor-links/mwm-aal-class.php on line 189
i turned off plugin and all is well now with the content section of my page.
i only vaguely remember what this old plugin does but i really liked it!
]]>Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; mwm_aalLoader has a deprecated constructor in wordpress/wp-content/plugins/better-anchor-links/auto-anchor-list.php on line 30
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; mwm_aal has a deprecated constructor in wordpress/wp-content/plugins/better-anchor-links/mwm-aal-class.php on line 14
]]>
If you use this on sites with Cyrillic all links are cutted and to be the same
]]>Hey guys,
We are having problems with this plugin on one of our clients sites and we’re hoping you can help. When the plugin is activated and in-use on a page, the page content stops working.
Here is how the site looks without your plugin activated: https://drive.google.com/file/d/0B1zXTGKXqxYbNWU3TWxxeUFhR3c/view?usp=drivesdk
And here is how it looks when the plugin is activated: https://drive.google.com/file/d/0B1zXTGKXqxYbQkdObFNCMzNGMjQ/view?usp=drivesdk
I would be hugely grateful if you could offer your help and advice on this issue.
Sincerely,
Conor
Is it possible to disable anchors on some particular pages ?
]]>Hello everybody,
We had the problem that “Better anchor links” does not work with Cyrillic (Russian) characters. We changed the source code in terms of transliteration, now it works.
Perhaps you can use it for your next update.
The modified rows are marked with: //!
Here you will find the mwm-aal-class.php File.
Best regards,
Riedldesign marketing agency
Hey,
for SSL Support please change in the file auto-anchor-list.php in line 109 “WP_PLUGIN_URL” in “plugins_url()”.
WP_PLUGIN_URL don’t make https links.
Regards Erik Abele
]]>I’ve been desperately searching for a solution that could add an anchor link to my title. This plugin might help but there is no direction whatsoever how to use it or what kind of anchor link it produces or where to find it or anything else. Too bad.
]]>I very much love your plugin. It has been very helpful to me.
Can you tell me how I would go about changing the color of the links? Right now they are in yellow.
Dan
]]>I would like my list to not have line breaks after each item (see this page for an example: https://www.urbancraftuprising.com/vendors/summer-2015/). Rather, I would like the list to be on one line (or a couple), with the categories separated by bullet points.
How do I make this happen?
]]>FYI, I have DEBUG turned on and am getting the following errors (displayed in the WP interface)…
has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in <b>***/wp-includes/functions.php</b> on line <b>3508
and various ‘undefined index:’ error notices on the plugin settings page. These seem to go once some settings have been saved.
These don’t prevent the plugin from working but are not ideal as some are rendered in the admin menus etc.
??
]]>Just discovered this plugin, will come in very useful!
Just a suggestion – it would be good to also be able to allow the reader to get the heading anchor link by clicking the heading itself (for example if they have just scrolled to the heading, rather than clicked the links at the top).
Basically, same functionality as used on github, where you rollover a heading and a link icon appears to the left of the heading.
Could be handy.
Thanks
I have unchecked ‘Auto Display In Content’ and yet I am getting markup from your plugin on one of my pages, where there is no shortcut related to your plugin included. Specifically this is the markup I am seeing below <h3> tags:
<img src=”https://www.dropbox.com/s/jezdwfqwuxvqqci/Screenshot%202015-05-06%2018.26.30.png?raw=1″></img>
How do I prevent this from happening?
Thanks,
Nick
]]>Just installed this plugin and it seems to work except for the indenting. Whether bullets or numerical, lists are rendered flat (no indentation). I have the “Auto Links indentation” selected in the backend.
And yes, I have multiple H definitions properly nested within my posts.
Sincerely,
Simon
how can I translate “Contents” word at the top of the contents list?
Thank you!
]]>Is it possible to have the auto indentation in the sidebar widget too?
]]>Similar to this issue:
https://www.ads-software.com/support/topic/using-output_content_links-in-theme-impossible-to-display-aal-above-content?replies=2
The plugin only looks for links using the “the_content” meaning you cannot display the links before the content.
I’ve worked around this by using this code in my theme:
<?php
global $mwm_aal;
$mwm_aal->find_content_links(get_the_content());
echo $mwm_aal->output_content_links();
?>
A bigger problem is that the sidebar widget does not work if the sidebar is output before the_content is called (i.e is the sidebar is on the left).
]]>Hello elpresidento,
thanks a lot for your nice plugin! I’m just trying to launch it on an existing wordpress site (pages only ‘cms-style’ setup) with 1000+ content pages. To display the links automatically is impossible in my case (approx. 100 pages should be ‘anchor links free’) and adding the tag manually (900+ sites that should be fixed manually), too.
Therefore, I’m trying to use the PHP output_content_links-tag and added it below the content-area in the page-template. This works, but as a result of adding it below the content-area, the anchor links also appear below the content. They should be above the content at the very beginning of the pages …
I can’t solve this issue by using different CSS.
Please help me (and others) and invent a php-template-tag, that could be used above the content-area in the page-template file.
Thanks a lot in advance for your reply.
Sincerely,
Mikey
How do I hide the “*”/backlinks completely?
]]>I am new to WordPress, need to insert anchors into several pages. I downloaded this plug in, Better Anchor Links, installed and activated it, but now how do I use it? I do not see a tab on my Administration panel? Thanks
]]>This plugin isn’t properly nesting lists, and it’s messing up a CSS “counter” I’m trying to use to reformat the numbering so sublinks are numbered “1.1”, “1.2”, etc.
This is what the plugin is outputting:
<ol><li><a href="#Link1">Link1</a></li>
<ol><li><a href="#SubLink1">SubLink1</a></li>
<li><a href="#SubLink2">SubLink2</a></li>
<li><a href="#SubLink3">SubLink3</a></li>
</ol>
<li><a href="#Link2">Link2</a></li>
Proper nested HTML lists (W3 Wiki Page detailing this here) should be inside the List Item that’s their parent, like this:
<ol><li><a href="#Link1">Link1</a>
<ol><li><a href="#SubLink1">SubLink1</a></li>
<li><a href="#SubLink2">SubLink2</a></li>
<li><a href="#SubLink3">SubLink3</a></li>
</ol></li>
<li><a href="#Link2">Link2</a></li>
Any chance you can get the output working this way?
https://www.ads-software.com/plugins/better-anchor-links/
Hi,
first of all thank you for your great plugin, I love it.
I’ve B.A.L. version 1.7.4 and WordPress 4.0 and few days ago I’ve noticed a problem/bug.
In your plugin there is the setting:
“Check if you want activate backlink with text by char (only one char allowed)”
The problem is that even if this setting is unchecked, the plugin still display the backlinks with text.
How can I fix it? Thank you!
]]>i have a series of ‘services offered’ that i wish to link to from a Services (instead of Content) bulleted list at top of page. it is not clear WHAT i have to place WHERE. Do i need to put links in manually when i use this plugIn? WHY do you not offer a step-by-step instruction on how to use this, i.e., create list under Content. Then place [[mwm-aal-display] into content blaock while highlighting the link. i adjust making this stuff up because there is no clear instruction. not everyone who wants to use your plugin is a seasoned WordPress user. please clarify in a step-by-step process. thank you.
]]>I recently installed this plugin on my site and it caused important problems.
First of all, my home page began displaying a fatal error message.
Secondly, the admin bar was not showing on top of pages although I was logged in.
I disabled he plugin and everything returned to normal. I don’t know how it manages to cause those unrelated problems. So if you experience similiar problems after installing this plugin, just delete it.
]]>