Git Product home page Git Product logo

genesis-oik's Introduction

genesis-oik

screenshot

  • Contributors: bobbingwide
  • Donate link: http://www.oik-plugins.com/oik/oik-donate/
  • Tags: genesis, one-column, two-columns, sidebars, responsive-layout, accessibility-ready, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments
  • Requires at least: 5.3
  • Tested up to: 6.4.3
  • Version: 1.3.3
  • License: GPLv2 or later
  • License URI: http://www.gnu.org/licenses/gpl-2.0.html

Genesis Child Theme for oik-plugins and selected bobbing wide websites

Description

genesis-oik is a child theme for the Genesis Theme Framework

  • page layouts and widgets areas for custom post types
  • page layouts for archives
  • special 404 page
  • image.php - as in genesis-image
  • front-page does not display the title

Installation

  1. Purchase and Install the Genesis parent theme
  2. Download the genesis-oik child theme
  3. Install the genesis-oik child theme
  4. Activate the genesis-oik child theme
  5. Navigate to Appearance > Customize in your admin panel and customize to taste.
  6. Navigate to Genesis > Theme Settings to set other options
  7. Optionally, install and activate a range of oik-based plugins.

Change Log

1.3.3

  • Changed: Update acf-json files for field-block-for-acf-pro examples #18
  • Fixed: Avoid Fatal when viewing Category archive #19
  • Tested: With WordPress 6.4.2 and WordPress Multisite
  • Tested: With PHP 8.3

1.3.2

  • Fixed: Workaround for WordPress TRAC 59892
  • Tested: With WordPress 6.4.2 and WordPress Multisite
  • Tested: With PHP 8.3

1.3.1

  • Added: Add theme.json #17
  • Added: Enable ACF local JSON #18
  • Tested: With WordPress 6.3 and WordPress Multisite
  • Tested: With PHP 8.0

1.3.0

  • Changed: Add some styling for div.more. Not sure why there are 2 versions!
  • Changed: Tell Gutenberg to load separate core block assets. Add a smiley. Don't enqueue dashicons
  • Changed: Avoid Notice by not calling add_theme_support('html5') Fixes #16
  • Changed: Update PHPUnit test results - testing with PHP 8, PHPUnit 9 and WordPress 5.7-beta3
  • Changed: Remove background colour for the tag
  • Changed: Update tests to check genesis-oik is the active (child) theme
  • Fixed: Fix punctuation typo
  • Tested: With WordPress 6.0 and WordPress Multi Site
  • Tested: With PHP 8.0

1.2.2

  • Changed: Compatible with Genesis v3.2.1,#14
  • Changed: Update for PHPUnit 8,#15

1.2.1

  • Changed: Updated styling for author-box
  • Changed: Support styling for plugin dependency field

1.2.0

  • Changed: Change letter pagination for blocks and block examples, #12

1.1.1

  • Changed: Adjust theme for Gutenberg compatibility, #13
  • Changed: Adjust letter taxonomy for CPTs, #12
  • Added: Add templates for single-block and single-block_example, #12
  • Changed: Support styling of large SVG dash icons. e.g [bw_dash icon svg64].,#12
  • Changed: Improve styling of some shortcode examples, #10
  • Fixed: Smaller body size for the plugin's change log, #9

1.0.8

  • Changed: Use Monospace font for archive pagination under 480px
  • Changed: Continue switching to mobile first with responsive widths
  • Changed: Improve footer widgets for iPhone 4 and iPad
  • Changed: Move [wp v p m] from footer credits. Implement in a grandchild plugin.
  • Changed: front-page.css to mobile first
  • Changed: Use front-page.css rather than archive.css to style page_blog.php and home.php

1.0.7

  • Fixed: Disabled WordPress's custom CSS #5
  • Changed: Uses front-page.css rather than archive.css to style home.php and page_blog.php
  • Tested: Added PHPUnit tests for issue 5.
  • Tested: With WordPress 4.7.2

1.0.6

  • Changed: Upgraded to slightly customised version of jQuery UI v1.12.1 copying missing images #4
  • Fixed: Added tests to confirm removal of logic that's now in genesistant #3

1.0.5

  • Added: Single post templates with A to Z pagination #7
  • Added: Support for A to Z pagination #6
  • Changed: Add styling for Author box created using [bw_user class=author-box fields=gravatar,name,description]
  • Changed: Align secondary nav menu with the content that follows
  • Changed: Disable WordPress 4.7 custom.css #5
  • Changed: Improve styling on archive and taxonomy pages #8
  • Changed: Style the span.summary at 90% normal size

1.0.4

  • Changed: Improve styling on iPad and iPhone 4
  • Changed: Move archive styling into archive.css

1.0.3

  • Added: Add 404 page to handle pragmatic links
  • Added: Add styling for nested definition lists
  • Added: Single attachment template
  • Changed: Improve genesistant logic and add special EDD logic
  • Changed: Improve span padding
  • Changed: Invoke 'genesis_404' on the 404 page
  • Changed: Re-enable archive.php using genesis()
  • Changed: Remove _e_c() call
  • Changed: Set colour for site-footer text
  • Changed: Support not found for oik shortcodes
  • Changed: Removed genesis_all() logic - use genesistant instead #2

1.0.2

  • Add: Add temporary workaround for Chrome bug with the admin menu
  • Changed: Always display the full sized image in image.php
  • Changed: Better support for oik_sc_param
  • Fixed: shortcode expansion in footer on 404 page
  • Tested: With Genesis v2.1.3 but not Genesis 2.2.x

1.0.1

  • Added: jquery-ui.css for use by [bw_accordion] and other jQuery UI components

1.0.0

  • Added: First version, child theme of Genesis 2.1.2
  • Added: Some styling in style.css copied from oik410130c
  • Added: Other styling delivered in oik-custom.css - from oik-plugins.com

Copyright

(C) Copyright Bobbing Wide 2015-2024

  • This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

genesis-oik does not bundle third-party resources.

Notes

  • Dependent upon the Genesis Theme Framework
  • Uses genesis-footer-widgets, oik-a2z, oik-shortcodes-a2z and other oik plugins.

genesis-oik's People

Contributors

bobbingwide avatar

Watchers

 avatar  avatar

genesis-oik's Issues

Blog page showing all the contents of an oik-pluginversion. Ignoring more?

On oik-plugins.com, on the blog page, the oik v3.2.5 post ( oik-pluginversion ) is displayed in full, even though it contains a more tag. It’s Gutenberg content.

workaround

the post type did not support excerpt. I added this using oik-types and created an excerpt this resolved the issue.

So where’s the problem.... genesis, genesis-oik, oik-plugins or elsewhere.
Let’s hope it’s not Gutenberg.

Same problem on oik-plugins.co.uk. Need to check q.w/oikcom and s.b/oikcom

Improve styling of some shortcode examples

Update oik-custom.css to improve styling in the following areas:
For the [bw_table] shortcode:

  • Reduce font-size in shortcode examples
  • Reduce width of certain columns displayed de: modified, date
  • Use list-style-type: none; for lists in [bw_table]: cloned field

For other shortcode examples:

  • Improve styling of bw_code snippet and bw_code example paragraphs
  • Reduce font-size for p:lang(HTML)

Note: These changes may only apply to the local development version, until the examples are cloned.

Would genesis-oik benefit from a theme.json file?

  • Several of my block based themes have a theme.json file which supports setting a custom link color as well as a custom text color.
  • Several of my blocks support custom link colors. eg sb-children-block ( bobbingwide/sb-children-block#9 ) and sb-post-edit-block ( bobbingwide/sb-post-edit-block#4 ).
  • Would adding theme.json, with the right content ( settings.color.link: true ) automatically enable the options that these blocks allow?
  • What other benefits might we see?
  • What about the cons?

Requirements

  • add theme.json to the genesis-oik theme

Proposed solution

  • start simple and add things as required; copy theme.json from Fizzie - which was based on genesis-a2z / genesis-oik
  • test everything works as expected - compare what's on s.b/oikcom with oik-plugins.co.uk

Improve styling of content on archive and taxonomy pages

To coincide with the A to Z pagination it would be nice to improve the styling of content when displayed on archive pages.

General requirements

  • Display enough items to make it worthwhile
  • Apply background colouring and borders
  • Use images where appropriate
  • Format the summary separate from the title prefix
  • Use mobile first media queries
  • Applicable to every page displaying more than one post by default.

We won't specify the required CSS here. Suffice it to say there'll be quite a few changes, with new template files and associated CSS.

Add support for new CPTs in oik-shortcodes

In the new block editor Gutenberg, now released as part of WordPress 5.0, the editor now provides different types of Blocks. As blocks are developed for oik plugins we want to be able to catalogue different blocks in a similar way to shortcodes. This logic can also be used in WP-a2z, for plugins such as Jetpack, Yoast SEO and WooCommerce which already provide their own blocks.

We need to develop support for documenting and formatting Blocks, Metaboxes and Panels.

See bobbingwide/oik-shortcodes#61

Improve responsive display of Published | Last updated post info

For each bit of content in the genesis-oik and genesis-a2z themes the Published and Last updated dates are displayed in a paragraph of class "entry-meta" with a vertical bar / split bar separator before the Last updated label.

At certain display widths it makes sense to display the information on two lines rather than seeing it wrap. This could be achieved by enclosing the split-bar in a stylable span.

    $string .= '<span class="splitbar">';
    $string .= ' | ';
    $string .= '</span>';

The class name of splitbar looks odd. Perhaps it should be "sepbar"

Support for A to Z pagination

Add support for multiple letter taxonomies in the genesis-oik theme.

Notes:

  • The genesis-oik theme is currently being used by oik-plugins.
  • bobbingwidewebdesign.com is being upgraded so has also started using the theme.
  • This is a parallel issue to bobbingwide/genesis-a2z#5.

Notice on wp-a2z.org: Function add_theme_support( 'html5' ) was called incorrectly

Notice: Function add_theme_support( 'html5' ) was called incorrectly. You need to pass an array of types. Please see Debugging in WordPress for more information. (This message was added in version 3.6.1.) in /home/customer/www/bobbingwide.org.uk/public_html/wp-includes/functions.php on line 5831

The message wasn't issued to the front end in WordPress 5.9.3

Same issue as bobbingwide/genesis-a2z#28
but this time I want to determine why the message is only now appearing with WordPress 6.0

Links in the FAQ accordion are not obvious

Any link in the FAQ accordion is displayed in dark gray.

It's not immediately obvious that it's a link.

Effective CSS is .ui-widget-content a { color: #222222/*{fcContent}*/; }from jquery-ui.css

The colouring, font weight or style should be overridden

See:

http://oik-plugins.co.uk/oik-plugins/oik-weight-zone-shipping/?oik-tab=faq

image

There are also 7 404's Failed to load resource: the server responded with a status of 404 (Not Found)

  1. ui-bg_flat_75_ffffff_40x100.png
  2. ui-bg_glass_65_ffffff_1x400.png
  3. ui-icons_454545_256x240.png - reported twice.
  4. ui-icons_888888_256x240.png
  5. ui-bg_glass_75_dadada_1x400.png
  6. ui-bg_glass_75_e6e6e6_1x400.png

Disable WordPress 4.7 & 4.7.1 custom CSS

WordPress 4.7 introduced some new code that allows custom CSS to be entered in the customizer.
The custom CSS is saved as a custom post type which WordPress tries to load in the filter hook wp_custom_css_cb.

We don't need this for two reasons

  1. We have our own custom CSS code
  2. It's a performance overhead. Measured at approx 2% increase in server elapsed time.

Proposed solution

Remove the action hook.
remove_action( 'wp_head', 'wp_custom_css_cb', 11 );

Fatal error in genesis_oik_a2z_query_letter_taxonomy()

When visiting URL https://s.b/oikcom/category/events/custom-css-events/ I get the following Fatal error with PHP 8.3

Fatal error: Uncaught TypeError: Cannot access offset of type array in isset or empty in C:\apache\htdocs\wordpress\wp-content\plugins\oik-bwtrace\libs\oik_boot.php:133

Stack trace: 
#0 C:\apache\htdocs\wordpress\wp-content\themes\genesis-oik\functions.php(322): bw_array_get(Array, Array, 'letters') 
#1 C:\apache\htdocs\wordpress\wp-content\themes\genesis-oik\functions.php(289): genesis_oik_a2z_query_letter_taxonomy('letters', Array) 
#2 C:\apache\htdocs\oikcom\wp-includes\class-wp-hook.php(324): genesis_oik_a2z('') 
#3 C:\apache\htdocs\oikcom\wp-includes\class-wp-hook.php(348): WP_Hook->apply_filters('', Array) 
#4 C:\apache\htdocs\oikcom\wp-includes\plugin.php(517): WP_Hook->do_action(Array) 
#5 C:\apache\htdocs\wordpress\wp-content\themes\genesis\lib\framework.php(59): do_action('genesis_before_...') 
#6 C:\apache\htdocs\wordpress\wp-content\themes\genesis-oik\category.php(85): genesis() 
#7 C:\apache\htdocs\oikcom\wp-includes\template-loader.php(106): include('C:\\apache\\htdoc...') 
#8 C:\apache\htdocs\oikcom\wp-blog-header.php(19): require_once('C:\\apache\\htdoc...') 
#9 C:\apache\htdocs\oikcom\index.php(17): require('C:\\apache\\htdoc...') 
#10 {main} thrown in C:\apache\htdocs\wordpress\wp-content\plugins\oik-bwtrace\libs\oik_boot.php on line 133

On https://www.oik-plugins.com/category/events/custom-css-events/ I get two Warnings.

Warning: Illegal offset type in isset or empty in /home/customer/www/oik-plugins.com/public_html/wp-content/plugins/oik-bwtrace/libs/oik_boot.php on line 133

Warning: array_key_exists(): The first argument should be either a string or an integer in /home/customer/www/oik-plugins.com/public_html/wp-content/plugins/oik-bwtrace/libs/oik_boot.php on line 133

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.