BA Phot

Wordpress 2

Back - Archive - Old Page - Template

[not spellchecked ]

[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.


Create a subdomain and install WP

WP WP WP FileZilla WP WP WP
Box A
1. BAPhot subdomains
2. BAPhot lpe
3. BAPhot dic
4. Filezilla
5. template config
6. PHP version
7. WP setup

https://www.wpbeginner.com/how-to-install-wordpress/#installftp
https://www.lcn.com/support/articles/how-to-create-a-mysql-database/

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)


Setup in WP

from the old page, 9th Dec

  1. 1. activate theme twentytwenty
  2. 2. settings / general - set title, tagline, language and timezone
  3. 3. set static site - setting / reading - static site, set home page
  4. 4. appearance / customise / colours - set background colour to white; primary colour / custom - make it redder
  5. 5. appearance / customise / additional CSS - change header font size
    1. /* Smaller Heading Font please */
      @media (min-width: 700px) {
      h1, .heading-size-1 { font-size: 3.2rem; }
      h2, .heading-size-2 { font-size: 2.2rem; }
      h3, .heading-size-3 { font-size: 1.9rem; }
      h4, .heading-size-4 { font-size: 1.6rem; }
      }
    2. 5a. and remove underlines from links -
    3. /* Place this in your template CSS file or Theme CSS Editor */
      a { text-decoration: none!important; }
    4. fix to centre the image caption text link gives additional CSS below
      figcaption { text-align: center; }
    5. 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;
      }
  6. 6. appearance / widgets - remove the lot
  7. 7. appearances - create the main (and only) menu
  8. 8. delete any posts
  9. 9. add and activate plugins -
    1. Flexy Breadcrumb
    2. Akismet antivirus
    3. breadcrumbs
      Box B
      Flexy Breadcrumb
    4. Updraft Plus
    5. CF Page or Post Duplicator (Carlos Fazenda)
    6. Modula Gallery (or try another, it's nothing special)
    7. WPFront Scroll Top 
    8. and modify header.php for breadcrumbs ( see fig. B1)
    9. <?php echo do_shortcode( '[flexy_breadcrumb]' ); ?>
    10. Favicon by RealFaviconGenerator
    11. Twentig for customising?
    12. I'm looking for a decent PDF viewer for the zine [4Aug] DFlip Lite is excellent and free, see here.
    13. Category Tag Pages, see 12 below, and maybe Cool Tag Cloud
  10. 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.
  11. 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.
  12. 11. and modify the priorities (quick edit) on the main pages to control their sequence in the header menu
  13. 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

WP WP
Box D
Figs. n
© the artists, their agents or their estates
img: text; text

Head

[date] text

text

text

WP WP
Box D
Figs. n
© the artists, their agents or their estates
img: text; text

Head

[date] text

text

text

WP WP
Box D
Figs. n
© the artists, their agents or their estates
img: text; text

Template copied from the Old Page used for BaphotRef

First, I'm running through the 9th July checklist.

appearance / widgets - remove

[20Dec] Tag cloud - add plugin Category Tag Pages
Advanced Editor Tools plugin added to enable easy highlighting of text.

Additional CSS from IP

/* Smaller Heading Font please */
@media (min-width: 700px) {
h1, .heading-size-1 { font-size: 3.2rem; }
h2, .heading-size-2 { font-size: 2.2rem; }
h3, .heading-size-3 { font-size: 1.9rem; }
h4, .heading-size-4 { font-size: 1.6rem; }
}

/* Place this in your template CSS file or Theme CSS Editor */
a { text-decoration: none!important; }

.singular .entry-header {
padding-top: 2rem !important;
padding-bottom: 4rem !important;
}


References

author, (year) Title. Location: Publisher.

author (year) title [online]. website. Available from url [Accessed nn January 2020].


author (year) Title. Location: Publisher.

author, (year) Title. Location: Publisher.

author (year) title [online]. website. Available from url [Accessed nn January 2020].

author, (year) Book Title. Location: Publisher.

author (year) Title. Journal. Vol, pages.

author (year) Title. Newspaper. Date. pages.


Page created 30-Sep-2021 | Page updated 23-Nov-2021