• Hi, I wanted to try new shortcode feature but whatever I put, e.g. [news] or [news number=2], I do not get any output, just two space characters. Currently, I am using shortcode of Post Sliders & Post Grids and it displays news correctly. Any idea?

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

    (@mortenpeterandersen)

    Hi
    Which theme are you using?
    Try another theme, just for checking

    Plugin Author MortenPeterAndersen

    (@mortenpeterandersen)

    https://hjemmesider-dev.dk/simplenews/news-shortcode.png

    Is it looking like that in the Gutenberg Editor?

    Thread Starter mik9

    (@mik9)

    I am using it in code module of Divi Extra theme. But even if I try it in Gutenberg, I still get no output. There is no need to try another theme as I am using various short codes on the pages and all work OK, including Post Sliders & Post Grids short code [psc_print_post_grid] that shows news correctly.

    Your short code [news] is definitely recognized but it just does not function inside.

    Plugin Author MortenPeterAndersen

    (@mortenpeterandersen)

    Thread Starter mik9

    (@mik9)

    Yes, this I found when I experimented with the news more, but this is just pagination, news are showed OK on the main page and if I switch off pagination, it is fully OK. Post Grid short code OUTPUTS news. Unfortunately, short code from Simple News does not output anything.

    As far as I understand what parameters there are for [news] short code yet, I suppose there is no such thing as pagination, just offset, so I would have to script own pagination anyway. So probably short codes in Simple News not worth the effort yet, same as not worth the effort for you to fix it if no one else has similar issues with short codes. As it is new feature, you have at least a feedback that this still might need some tuning.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘No output using shortcode’ is closed to new replies.