Cannot call output_content_links before the_content()
-
Similar to this issue:
https://www.ads-software.com/support/topic/using-output_content_links-in-theme-impossible-to-display-aal-above-content?replies=2The 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).
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Cannot call output_content_links before the_content()’ is closed to new replies.