最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Default Wordpress shortcodes not working?

programmeradmin3浏览0评论

For whatever reason, the WP shortcodes don't seem to be working.

I'm using the theme Verbosa, on the off-chance that matters.

When creating a custom page, the shortcodes are just rendering as text rather than actually executing. I'm making sure I'm using the shortcode block on the Gutenberg editor. Any ideas please??

Is it possible that the theme developer was able to block the shortcodes?

For whatever reason, the WP shortcodes don't seem to be working.

I'm using the theme Verbosa, on the off-chance that matters.

When creating a custom page, the shortcodes are just rendering as text rather than actually executing. I'm making sure I'm using the shortcode block on the Gutenberg editor. Any ideas please??

Is it possible that the theme developer was able to block the shortcodes?

Share Improve this question asked Feb 15, 2019 at 10:05 Jon McCallumJon McCallum 11 silver badge1 bronze badge
Add a comment  | 

1 Answer 1

Reset to default 1

[display-posts] is not a default shortcode that's included in the WordPress software. It is, however, part of the WordPress hosted service. You can read more about the differences between the two here.

So the reason the shortcode is not working is because you don't have a WordPress hosted site (I can tell because would not support the Litespeed Cache plugin you're using).

The list of shortcodes included in the self-hosted WordPress software is available here. The included shortcodes at the time of posting are:

  • [audio]
  • [caption]
  • [embed]
  • [gallery]
  • [playlist]
  • [video]

Shortcodes are on the way out though, in favour of blocks, so I wouldn't expect any more to be added.

The Jetpack plugin adds many WordPress features to the self-hosted version, so you might want to investigate that and see if it includes the shortcodes you want to use.

发布评论

评论列表(0)

  1. 暂无评论