astro-wpress.ncvp.me

using ncvp.me/wp for all content

All posts in category Admin

Sort out astro-wpress routing

This is all about the mapping between site-url/xxxx/yyyy/zzzz and Astro pages. Even though there are no files in the /src/pages tree, the magic files [slug].astro, [...path].astro perform the same sort of rôle as if there were. Add these to /src/: └── pages    ├── author    │   └── [slug].astro    ├── category    │   └── […]

Source of media files

Move images and other media files which have to be loaded by URL to the cloud so the URLs don't have to be fiddled with as the site is copied around. Is it important that these external files come from SSL protected sites? Here's one from wikimedia.org

Reduce canonical WP

Something basic with the master at localhost/wp/wp and distributed around to the various default cloud sites

Move away from block editor

Now it's clear that I don't need full site editing and only need the block editor for the Home and Blog pages, convert all other pages and posts to the classic editor.

Different menus on different pages

If these can be made to work smoothly I may not need a hybrid site, like my new garden, but look carefully at Planting Plans. This may be another case like CAS membership form with payment where I can use a shortcode to basically dump code on a WP page and not worry about registering […]

Post with a gallery

The gallery shortcode is much more concise than raw HTML, but there's no control over thumb and slide captions beyond what's in the media library. Moving sites around is more of a pain because the image ids are (usually) different in the different sites.

Post with an image

Raw HTML seems to be the way forward. This one doesn't pop-out: Hellebores This one does. As usual, you have to enter the img url twice: Hellebores There's inevitably some fiddling required when sites are moved around, but it's probably less than the single-image gallery method.

Setting 'allow comments' flag

You can't seem to do this from the normal edit page, but have to go to the quick edit page. Irritating. OK I've found it now. Check 'Discussion' in screen options.

Force strong passwords

I'm surprised this isn't part of WP core. There are a few plugins which address the problem, at least one of which admits to being susceptible to being bypassed by a knowledgeable hacker. It ought to be possible to see how strong a user's password is from the dashboard.

Second level page

The root is level 0. We never see it. The pages in the top menu are level 1. This menu is effectively static. The menu item for this level two page appears at the extreme left of the side menu.

Presentation slide page style

Something between a page and a series of posts. Initial experiments quite promising, but requiring a child theme for each theme used is not a good thing. This post is showing its age. Presentations were abandoned long ago in favour of PowerPoint.

Rendered by src/pages/category/[slug].astro