Automattic / Automattic/jetpack

Shortcodes: portfolio using random order, only works on first page load

Open
#8,084 1 comment 0 reactions 0 assignees View on GitHub
[Feature] Custom Content Types [Feature] Shortcodes / Embeds [Pri] Low [Status] Stale Bug
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

Raised by @davoraltman

When the portfolio shortcode is used, such as:

`[portfolio orderby=rand]`

... the items will be randomized only on the first load. Reloading the page doesn't randomize the items.

Reported by a user in 876783-hc

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.