Skip to content

u/tw2113

In this archive from Sep 2010 to Aug 2016

21
posts
856
comments
0
media
1.9k
score

If you're aiming for making your theme/plugin translation ready, then the last one, esc_html(), doesn't apply. It's not one of the i18n functions. esc_html__() is, which I am guessing you meant.

Pretty much any time you have plain text that will be output to the browser, you should use one of them, but I'd recommend looking up what each do, so you know the right context to use them in.

1 points

The key then, from the above code, is to check the get_template_part() line, which looks for, at minimum, a content.php file. Possible, and by guess only, it may be something like content-excerpt.php or something similar. I'm not sure what $theme_options['posts_length'] may return.

Long story short, start looking in content-*.php files

2 points

It won't. No, PHP will still be a primary component of themes.

Calypso is a separate app. It uses the still pending REST API, at least for self hosted, to interact and manipulate the data. WordPress.com still has their own REST API that Calypso taps into.

As far as I'm aware, it's not replacing the current admin dashboard, so it's just an extra tool at the moment.

6 points

FTP into the server and upload it into the root directory. cPanel would do this fine, a dedicated FTP client would as well. I know WordPress SEO has robots.txt tools that can attempt to create it for you. Probably other SEO plugins have the same as well, but I don't have a wide experience with many of them.

2 points

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.