• Resolved StevenW123

    (@stevenw123)


    Hi,

    I used your widget on various pages in Beaver Builder modules, but at some point, they broke, an error claiming the widget no longer exists – did you change the name a while ago which has confused Beaver Builder?

    To get around this problem, I’m trying to use shortcodes, but they aren’t working.

    [tptn_list limit="10" daily_range="30" heading="0"]

    I use that to give the top 10 for the last 30 days, but instead, it gives the top ten overall since the plugin was installed.

    A bigger problem is that I’ve tried to use these for the daily top ten.

    [tptn_list limit="10" daily="1" heading="0"]

    [tptn_list limit="10" daily_range="1" heading="0"]

    Neither works. Just like the other shortcode, both of these give the overall top ten, not the top ten in the last 24 hours.

    What is going wrong and how can it be fixed, please?

    Thanks,

    Steve

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ajay

    (@ajay)

    Hi did you try passing both daily and daily_range? The first tells the shortcode that it needs to use the daily_range

    [tptn_list limit="10" daily="1" daily_range="1" heading="0"]
    Thread Starter StevenW123

    (@stevenw123)

    Hi Ajay,

    I did try that, yes, but it didn’t work. However, once you stated that was the correct shortcode, I went back and tried it again. It took a few attempts, but finally I got it to work. Don’t know what the problem was that caused the delay. Maybe a caching issue. Thanks for confirming the shortcode.

    Unfortunately, using the shortcode has now changed the font so it doesn’t match the rest of the page or the sidebar where the widget is still working and using the correct font. How can I correct that, please?

    Thanks, Ajay!

    Steve

    Plugin Author Ajay

    (@ajay)

    I don’t have your website URL – can you share that if it is public.

    If not, to change the font – will depend on what you’re styling. You can use .tptn_posts or .tptn_posts_daily which is the wrapping div and anything else within that.

    Thread Starter StevenW123

    (@stevenw123)

    Hi Ajay,

    Thanks for looking at this.

    The plugin is used in two places on this page – the sidebar widget displays it properly, but at the bottom of the page, the shortcode uses the wrong font. I don’t know why. I hope you know how to fix it, please.

    The website is https://seriesbooksinorder.com/

    Thanks,

    Steve

    Plugin Author Ajay

    (@ajay)

    @stevenw123

    There is something strange in the output of the bottom. For some reason, each list item is being wrapped by a code tag which is styled in a different font.

    What is the full shortcode that you’re using there? And, what do you have in your settings page > Outputs > HTML section

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Shortcodes not working’ is closed to new replies.