[19Nov21] I need clean austere module based Wordpress sites for Final Assessments so that I can keep this original Baphot its labyrinthine, obscurantist but entertainingly wholesome self.
But I have always struggled with the setting up of WP in subdomains. This year i tried again and have more-or-less succeeded.
I set up a new domain baphot2.co.uk so that I could experiment with no danger of damage to the old BAPhot. Having (I think) git the hang of it, I can let BAPhot2 expire — I might even manage to copy over BAPhotRefs one day.
I have set up subdomains for LPE, DIC, PR, CA, MP to cover levels 2 and three. I also set up template.baphot.co.uk and populated it with pages and structure in the hope of cloning this to all the others using the plugin Duplicator, but I can't get that to run. I am going to build lpe.baphot.co.uk so that I can make a start on paralleling BAPhot and get back to work. https://www.wpbeginner.com/wp-tutorials/how-to-clone-a-wordpress-site-in-7-easy-steps/
So here are the setup instructions, edited from the Archive Page, where I document my failures.
1. create a subdomain in LCN. 2. copy the latest Wordpress FileZilla (Host - ftp.hosts.co.uk; Username - baphot.co.uk; Password - the ftp pwd set up at LCN) into the web directory of the subdomain by drag-and-drop. 3. Now create the MySQL database - DB_NAME LN022859_lpe_baphot; DB_USER lpebaphot; DB_HOST appdb2.lcn.com + DB_PASSWORD, see fig. A2. 4. update the PHP version (PHP in the LCN control panel). 5. update the wp-config.php file (transfer with
FileZilla, update with Dreamweaver). how-to-edit-wp-config-php-file-in-wordpress
Note - it didn't work at first - I checked and couldn't find anything wrong so I reloaded Worpress, updated the config file again and all was fine. Moral - keep checking and don't panic.
If images don't show in the Media Library, right click wp-content / uploads and set permissions to 755, make sure images have alt-text and captions or try uploading direct into the page rather than via the Media Library.
(or sometimes 744 for Recurse-directories and 644 for Recurse-files), see wpengine.co.uk)
/* Place this in your template CSS file or Theme CSS Editor */
a { text-decoration: none!important; }
fix to centre the image caption text link gives additional CSS below
figcaption { text-align: center; }
5b. [28Jul] reduce the headline space and many other goodies from Om Prakash Chowdhury
.singular .entry-header {
padding-top: 2rem !important;
padding-bottom: 4rem !important;
}
I'm looking for a decent PDF viewer for the zine [4Aug] DFlip Lite is excellent and free, see here.
Category Tag Pages, see 12 below, and maybe Cool Tag Cloud
10. one teeny additional problem has been noticed. The menu navigates correctly but the page navigation, e.g. the list of assignments switches to their original C&N source. That was a bit of a pain but only took an hour so.
10a. and the priorities should be set on the assignment pages so that they are ordered correctly on the menu - this should be on the save version - consider saving EyV before populating. Done 15Jul20.
11. and modify the priorities (quick edit) on the main pages to control their sequence in the header menu
12. [19Aug] I have been trying to organise a Tag Cloud. Tags are normally reserved for posts rather than pages, but the plugin Category Tag Pages allows page tags. There is a simple WP widget that makes a plain tag cloud, implemented on this page, but I'd like soemthing prettier and tried Cool Tag Cloud. I am trying to insert this on a page rather in a footer, where widgets seem to want to go.
Head
[date] text
text
text
Head
[date] text
text
text
Head
[date] text
text
text
Template copied from the Old Page used for BaphotRef
First, I'm running through the 9th July checklist.
Theme 2020 and delete the others ✓
Settings / General ✓
Settings / Reading - set static site ✓
appearance / customise / colours - white and redder ✓
appearance / customise / additional CSS - change header font size + the other bits - copied from IP WP ✓ see below
appearance / widgets - remove - not sure how, come back to this
appearance / menus start with the default aleady set up ✓
delete any posts ✓
Plugins:
Flexy breadcrumb, leave that for now
Akismet antivirus - make sure you get the free, non-commercial one ✓