Skip to content

u/shkico

In this archive from May 2016 to Feb 2023

151
posts
200
comments
11
media
658
score
1 saved before deletion

How to easier add items in menu?

I have ~700 hierarchical product categories and majority of them I need to add in dropdown menus under main links in navbar. Under "View all" a lot of stuff is messed up. Some parent items have children listed but most of them don't. Also window for working with these options is terribly small so I...

0 points2 comments
Open on Reddit

Why does str_word_count give very different number compared to word count in classic editor?

Here is a simple code which will show word count for each post in admin listing. Works only after a post have been saved. Why is the number so different compared to the one in editor? add_filter('manage_posts_columns', 'my_columns'); function my_columns($columns) { $columns['wordcount'] = 'Word coun...

1 points3 comments
Open on Reddit

How to use Query Monitor with REST API?

I am not sure how to use Query Monitor with REST API? When I open regular pages all data is there to inspect but here I don't know where to start :) I am just curious In docs they say "It includes some advanced features such as debugging of Ajax calls, REST API calls, and user capability checks"

1 points2 comments
Open on Reddit

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.