Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
News Manager Addons plugin
(2018-10-01, 02:37:17)Carlos Wrote: I've not tested, but I think it should work:

- In your NM Addons template code, change:
Code:
<li style=...>
to:
Code:
<li id="nma_post_{{post_slug}}" style=...>

- Insert this in the <head> section of your template:
Code:
<?php if (nm_is_single()) { ?>
<style>
#nma_post_<?php nm_post_slug(); ?> { display:none; }
</style>
<?php } ?>

It works great, thank you very much!

I had almost the same idea but I just did not know where to put the if-clause...

Smile
Reply




Users browsing this thread: 1 Guest(s)