Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.
Closed 4 years ago.
Improve this questionI've been trying to mimic the kinds of websites/blogs that mathematicians have with WordPress and typically their theme is "pub"--it shows up in their style.css, ".css".
I looked it up on / but couldn't find a result. Does this theme even exist? Apologies if this question elementary. And another question that might relate to the pub theme--this one is a little bit more specific--how do I mimic the wide and long blog posts that appear on / ?
Closed. This question is off-topic. It is not currently accepting answers.Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.
Closed 4 years ago.
Improve this questionI've been trying to mimic the kinds of websites/blogs that mathematicians have with WordPress and typically their theme is "pub"--it shows up in their style.css, "https://s0.wp/wp-content/themes/pub/rubric/style.css".
I looked it up on https://wordpress/themes/ but couldn't find a result. Does this theme even exist? Apologies if this question elementary. And another question that might relate to the pub theme--this one is a little bit more specific--how do I mimic the wide and long blog posts that appear on https://almostsure.wordpress/ ?
Share Improve this question edited Jul 17, 2020 at 7:24 Tom J Nowell♦ 61k7 gold badges79 silver badges148 bronze badges asked Jul 17, 2020 at 5:09 isoiso 1 2- You would need to ask someone who uses it. It could be a paid theme, a bespoke theme, or no longer available. – Jacob Peattie Commented Jul 17, 2020 at 5:16
- I answered your first question, and have ignored the second, we have a 1 question per question policy on the site, so ask separate questions as a new question. However, I'm pretty sure that last question is offtopic as it's a styling question, it's super wide because that's how that theme is built. I would recommend against super wide text though as it's innaccessible and makes reading difficult. You want too aim for a max of 40-60 characters per line for easy reading – Tom J Nowell ♦ Commented Jul 17, 2020 at 7:33
1 Answer
Reset to default 2There is no pub
theme, that's a quirk of how WordPress the premium 3rd party service ran by Automattic is internally structured. It's non-standard.
To be more specific WP doesn't use the normal theme folder structure, and instead of searching wp-content/themes
for theme folders, it searches wp-content/themes/pub
and several others for themes, but mostly pub
.
This is done purely to keep all the public themes together and was done a very long time ago as a result of technical decisions made early on. Specifically, the pub
folder is an SVN checkout of a shared theme folder repo containing lots of themes. To avoid putting internal things in a publicly visible SVN repository, somebody came up with the subfolder system. Now they're stuck with it for historical reasons.
I would not recommend doing this on your own site, or using the structure of WP as an example of best practices. WP is an enormous multisite install ( multi-network too ), with a lot of obscure historical changes, and user/site counts in the hundreds of millions and more. Normal rules don't apply here, nor do normal hosting structures ( for example wp is hosted across multiple data centres ).
If you want more details on that, you'll need to speak with someone who works at Automattic.