Hi,
If you are a developer, you could duplicate the code from fancy1 and make the adjustments with your code. Then save it as fancy4.
Kind regards
Yes, that’s what I thought and I tried. But when I put the parameter: [sdm_show_dl_from_category category_slug=”feminismo-derecho-y-litigo-estrategico” fancy=”4″ pagination=”3″] it shows only a pagination.
I created a new folder fancy4 inside templates and named the file sdm-fancy-4.php.
In fact now I have a modified fancy1 and the new fancy4. Both are identical. But when I use 4 it shows only a pagination.
The modification is just that I use “none” on line 150:
$output .= ‘<div style=”none”></div>’;
instead of: clear:both
Thank you for your kind help.
Maybe I was not clear enough. The modified fancy1 and the fancy4 are identical now, but only fancy1 works. My problem is that each time there’s an upgrade I loose the change. Thanks again.
Hi, I have submitted a message to the developers to investigate further your issue.
Kind regards
Plugin Author
mra13
(@mra13)
The best option that I can think of is to use a filter hook to override the shortcode output.
https://simple-download-monitor.com/simple-download-monitor-filter-hook-reference/
Then that custom code will remain outside of the main plugin and you won’t lose the change during an upgrade.