Site Doku

[local source: D:\PROJEKTE\tutner.mur.at\block.tutner.mur.at\content\site-doku.odt]

1 Just Doing

2 Todo

  • Comments: mark optional fields as optional

  • SEO

  • RSS Feed Title

  • How to connect (RSS, …)

  • Mobile Device testen

  • Fonts

  • Twitter / Privacy friendly share button

  • Pos1-Button

  • entry-date published & updated |sorting by updated

  • Cookie Disclaimer

  • Social Links? How to use? In ‘Menu 1’? (footer.php)

  • [[cloak]] shortcode for email addresses

  • Blättern für front page recent-posts

  • Better Web Statistics

  • Featured Image Mobile Styling

3 Hosting Environment

4 Links / Ressorces

5 Workflow

  • large and structured posts: LibreOffice Writer > Copy & Paste, ToC

6 Settings

6.1 Discussion

Attempt to notify any blogs linked to from the article

Disabled

Allow people to post comments on new articles

Disabled

Comment author must fill out name and email

Disabled

7 Theme

7.1 Base Theme: Twentyseventeen

7.2 Customization

Via AI.

  • Site Icon: Appearance / Customize / Site Identity

  • Columns: Appearance / Customize / Theme Options / Page Layout = One Column

7.3 Sub Theme

7.3.1 functions.php

  • “Fira Sans” / Google Font

  • shortcode [recent-posts]

7.3.2 comments.php

Source: https://developer.wordpress.org/reference/hooks/comment_form_default_fields/, https://crunchify.com/wordpress-comment-form-customization/

  • add_filter(‘comment_form_default_fields’,’modify_comment_form_fields’)

    • ‘[ optional ]’

7.3.3 Custom Styles (style.css)

Hierarchy like Twentyseventeen’s style.css.

  • 1.0 Normalize

    • background color, text color

  • 5.0 Typography

  • 6.0 Forms

    • for comments:

      • label { color: #777; }

      • .required

  • 10.0 Links

  • 11.0 Featured Image Hover

    • .post-thumbnail {display: none;}

Post Thumbnail zu groß. Bevor es kein Styling gibt, ausblenden.

  • 12.0 Navigation

  • 13.0 Layout

    • 13.1 Header

    • 13.4 Posts

      • Hide entry content at category-listings (About Page): hide div-class entry-content if body-class is category

      • Featured Image:

        • .single-featured-image-header {height: 23vw;}

        • .single-featured-image-header img { height: 20vw; width: auto; }

  • 14.0 Comments

    • #comments { background-color: #111; }

    • .comment-body { color: #ffffff; }

  • 19.0 Media Queries

  • A1: ‘Easy Table of Contents’-Plugin

  • A2: Unsorted Additions

7.3.4 /template-parts

  • /footer

    • site-info.php

      • text additions

  • /header

    • site-branding.php

      • two columns

      • 2nd column: bloginfo( ‘description’ )

7.3.5 /assets/css/editor-style.css

8 Plugins

8.1 LJ Maintenance Mode

8.2 TinyMCE Advanced

8.3 Easy Table of Contents

Settings (AI):

  • Counter: None

8.4 Statify

8.5 Twitter

8.6 Antispam Bee

9 LOG

28.04.2022 | Upgrade to WordPress 5.9.3; disabling comments: delete all comments, disable comments in all posts and pages

26.04.2022 | Event Organiser Plugin Ordner von NOC gelöscht

24.04.2022 | Vorbereitung Upgrade WordPress 5: Unused plugins und entsprechende tables i.d. Datenbank löschen; Event Organiser lässt sich nicht löschen, keine Berechtigungen für Plugin-Ordner => Mail an noc

17.05.2020 | Reducing contrast between background and font colors; Fixing header font sizes

06.06.2019 | Styling header (paddings, margins)

05.06.2019 | Styling Featured Image

31.05.2019 | Featured Image Caption (functions.php)

30.05.2019 | Styling Featured Image

03.05.2019 | UPDATE: Twitter Plugin 2.0.4, Twenty Seventeen Theme 2.1; DEACTIVATE: WP Migrate DB Plugin; INSTALL: Twenty Nineteen Theme 1.3 (nneds a WordPress 4.9.x version); comments form settings and stylings (comments.php)

02.04.2019 | comment styles

15.02.2019 | .comment-body { color: #ffffff; }

11.10.2018 | deleted old unused themes; changed WordPress Address (URL) and Site Address (URL) to https

30.09.2018 | adjusted .site-content padding-top

28.09.2018 | adjusted link styles for editor-style.css

18.09.2018 | updated and activated plugin Antispam Bee to 2.9.0

20.08.2018 | adding ‘Author’ to [recent-posts]

18.08.2018 | updated theme Twentyseventeen 1.5 > 1.7

10.08.2018 | updated plugin Statify 1.6.1 > 1.6.3

17.07.2018 | Migration in Docker-Umgebung (mur.at)

01.06.2018 | sub-theme editor-style.css; tweaking header styles

30.04.2018 | featured image / post thumbnail bei category listing ausblenden

29.04.2018 | deactivated plugin WPSSO Core; installed plugin Twitter

28.04.2018 | updated and activated plugin Statify; installed plugin WPSSO Core; styling: featured image in posts ausblenden

25.02.2018 | embedding “Fira Sans” as Google Font (functions.php)

24.02.2018 | styling [recent-posts]; styling entry-titles

20.02.2018 | shortcode [recent-posts] / functions.php; styling navigation-top wrap

19.02.2018 | ‘Static Front Page’ = ‘Your latest posts’

16.02.2018 | styling <h3>

13.02.2018 | link color; 3-columned footer; fucked up my style.css; oh yeah it’s back!

11.02.2018 | font-family: “Fira Sans”; <pre> background #555; adjusting line-height and <p> margin-bottom

05.02.2018 | updated Easy Table of Contents to v1.4

04.02.2018 | de-uppercased; 2-column header; Fira Sans

23.01.2018 | hide entry-content at category-listings (About Page, style.css)

20.01.2018 | changed Site Icon (The B)

A Appendix

A.1 Abkürzungen

AI … Admin Interface