Coder Social home page Coder Social logo

pfefferle / autonomie Goto Github PK

View Code? Open in Web Editor NEW
96.0 21.0 21.0 5.27 MB

"Autonomie" is a highly semantic, responsive, accessible and search engine optimized WordPress Theme. It provides HTML5 templates refined with microformats, microformats v2 and microdata (Schema.org). "Autonomie" supports a lot of OpenWeb plugins and is fully IndieWeb compatible.

Home Page: https://notiz.blog/projects/autonomie/

License: MIT License

JavaScript 5.45% PHP 57.41% SCSS 37.14%
microformat microdata wordpress wordpress-theme theme semantic schema microformats2 microformats zenpress

autonomie's Introduction

autonomie's People

Contributors

dependabot[bot] avatar krafit avatar mcleodchris avatar metbril avatar pfefferle avatar ramoonus avatar ruxton avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

autonomie's Issues

Fix the license

The LICENSE file says the license is Expat (MIT) but the README says it's GPLv3. Please fix it. I also suggest to license it under AGPLv3+. It's the best free copyleft license for the theme.

Featured images are only displaying as 88x88 thumbnails

I'm hoping you can help me troubleshoot this issue that appears with Autonomie (and, strangely, the Twenty Twenty theme as well).

I have assigned many of my posts featured images through the post editor. In other themes, these display without issue: the featured images appear in the blog feed with the posts, and on single post pages, the featured image displays as a full-width banner.

2020-02-18 - Brainthoughts Featured Images - Lovecraft

But when I switch to Autonomie, these featured images only display as 88x88 thumbnails, and are not featured at all in the header banner:

2020-02-18 - Brainthoughts Featured Images - Autonomie

You can see this live on my blog.

This behavior persists even after I have disabled all plugins. I have no idea where the 88x88 dimensions are coming from; that is not a defined image size in my WordPress installation as far as I can tell.

I'm confused because notiz.blog, which also uses Autonomie, appears to have no problem using featured images.

I'd greatly appreciate any help troubleshooting this. I very much want to start using Autonomie so I can IndieWebify my blog--but this is standing in my way. Thanks!

⚠️ Issue with Adding a Feature Image

I have been having issues with adding a feature image lately on Read Write Respond. The system registers the image as it shows up in the social media preview provided by Yoast SEO.

I am assuming that this somehow relates to the theme as I tested out two other themes and they worked fine. I also updated to the latest version of Autonomie and am running WordPress 5.5.3

Aside post format archive missing

I'm trying to use different post format types on my Zenpress site. The post formats work as expected in the posts, but they do not have archives. So, If you look at the top of this page:

https://billbennett.co.nz/e-mail/

You'll see the the word ASIDE, it links to a what should be an aside archive page: https://billbennett.co.nz/type/aside/

But that defaults back to my home page.

I notice on this page https://notiz.blog/2016/09/23/indiewordpress-wordcamp-frankfurt/

the VIDEO link does take the user back to a video archive.

I'm using a Zenpress child theme, but to check the problem is not down to the child theme I tried teh same using the parent theme and the aside link still breaks.

It's not an obvious plug-in conflict, I disabled them all to test and the link doesn't work as expected.

Recent posts without titles show as "untitled"

Using the latest update of the theme, and I'm not sure whether this is something that I have to go into the PHP files and fix myself, which I can, but if I'm missing something, let me know. Recent posts that do not have titles; notes, theck ins, reads, and so on do not have titles, so Wordpress displays "untitled" on the recents, and probably on the RSS, too, though I haven't looked. If there is a way of fixing this, how? I want just the first few characters of the note itself to show.

Gutenberg Columns block does not display as flex due to over-specific CSS rule

Issue summary

If you create a Columns block in the Block Editor, it will not display properly in the published post. Instead of creating horizontal columns as intended, the content of each column is just displayed as a block. Looking at the source, the column container element is rendered as display: block instead of display: flex.

Steps to reproduce

  1. Create a new page or post in the Block Editor
  2. Create a Columns block. For my testing purposes, I created one with two columns, one 33% wide, the other 66% wide.
  3. Put content in both columns.
  4. Preview or publish the post. You can see a sample of this here.

Expected outcome

The Columns block renders as a series of columns—the columns are displayed horizontally next to each other when there is sufficient horizontal space. The Columns container <div> is rendered with display: flex.

Actual outcome

Regardless of how wide the window is, the content of the columns is simply displayed as block elements, so what would be the first and second columns are instead just displayed vertically in that order. The source indicates the column container element is rendered as display: block.

Further notes

The SASS file responsive_default.scss is too specific on line 34. It reads (relevant parts only):

.entry-content > *, .entry-content > div {
    display: block;
}

This takes priority over the CSS rule that should designate this container <div> as display: flex, from style.min.css:

.wp-block-columns {
    display: flex;
    margin-bottom: 1.75em;
    flex-wrap: wrap;
}

Dutch translation errs

The "Powered by" line in the page footer isn't translated. The pot file says line 32 but it's line 31 in the source. How can the translation be kept up to date with code changes?

Span Issue - Related Posts

I have returned to ZenPress with my main blog - readwriterespond.com - and found another span issue, this time associated with 'Related Posts'. I am wondering if it relates to the issue associted Syndicated Posts.

screenshot 2018-03-19 at 11 00 42 pm

Syndication links icons don't show in Safari

(Sort of cross-posting from Sempress pfefferle/SemPress#89)

Syndication links icons don't show in Safari for Mac, iPadOS and iOS. They do in Firefox for Mac.
I've nailed it down to a CSS issue and have added a quick fix for the time being. But it would be nice if the theme's CSS was updated accordingly.

Example post: https://robertvanbregt.nl/2022/02/02/he-siri-ik-wil-staan/

Custom fix / workaround (copied from syndication links plugin css):

ul.relsyn li svg {
  height: 1rem;
  width: 1rem;
}

Safari for Mac:

Schermafbeelding 2022-02-04 om 13 30 04

Odd child theme behaviour

I like to set up WordPress themes with a child theme.

This runs into a problem with Autonomie

If I use this for the child css:

/*
Theme Name: Autonomie-child
Description: Indieweb chld theme
Template: Autonomie-master
Version: 1.0.0
*/

and this for the child functions.php

Understanding -width stylesheets

Sorry to ask such a noob question, but I just cannot see how the various -width stylesheets are called upon when needed. Can you point me to something I can read to try and get my head around this. I'm happy with the look of my site now, but there are a couple of difficulties on mobile that I think may be related to those specific stylesheets.

Thanks.

Widgets doubling up

I assume that the two options for the widgets are a case of left and right at the bottom of the page / post. I am finding that it is resorting to a default where it is listing my archive twice etc ... Even when I change this in Customise, it resorts back to this default.
My site is: https://collect.readwriterespond.com/

header image block is displayed when there is no header image set

I added a header image and then removed it. The theme still displays a blank block.

I think it comes from this declaration:
.page-banner{background-color:#5fa7c5;width:100%;position:relative;height:75vh;max-height:75%;min-height:500px}

If a header image is not set, the height of the banner can be reduced accordingly?

except text block in search archive missing left and right margin

On the large screen sizes, above 900px, the entry-content has left and right margins of 100px. However in the search archive page these margins disappear which makes the text look odd. I've read the CSS and it looks like you intended the entry-summary block to line up the same way, but it doesn't.

I think this is a bug, not a feature, but could be wrong.

Position of imported maps.

I really like this theme but there's one little problem I can't seem to fix. I use David Shanske's Simple Location plugin to pull in maps but the maps are stuck to the left side of the post page. I can't find the best solution to center them without affecting something else. Is there a good way to do this?

Here's an example: https://stephenpieper.net/7217-2/

Last updated date

Can there be an option (that can be enabled or disabled) to show when the post or page is last updated? We have the published date, it'll be awesome if we have last updated date too.

New widget area in footer

It would be nice to add a text (or html) widget in the footer above or under the WordPress and Autonomie note so people can add a copyright notice there. I'll attach a picture to show what I mean.

Screenshot_2021-04-11 Ali Reza Hayati

Special layout for links

Hey.

It would be great if there were a special layout for links, both for IndieWeb postkinds and WordPress post formats. Currently, it shows the title and the note you wrote. It would be great if the title of the post is hyperlinked to the link you insert.

Some previous WordPress themes have this. Even one of the IndieWeb themes have this layout.

max-width not applied to search result post summaries

Example: https://mrkapowski.com/?s=test
Autonomie version: 1.0.0-beta-2 (.zip downloaded 15-May-2019)

Search results with auto-generated excerpts from<?php the_excerpt(); ?> are not wrapped in any HTML tags, so they are not triggering the .entry-summary > * rule from default-width.css, resulting in the excerpt extending the full width of the screen.

Example output:

<div class="entry-summary p-summary entry-title p-name" itemprop="name description articleBody">
    Lorem, ipsum dolor sit amet consectetur adipisicing elit. Tempora quas, natus quod eaque vel esse debitis inventore culpa ea ullam saepe iure ab nostrum in. Commodi quaerat ullam quidem minima.…</div>

If the excerpt was wrapped in anything (p, span, whatever) then the correct max-width would be applied:

<div class="entry-summary p-summary entry-title p-name" itemprop="name description articleBody">
    <p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Tempora quas, natus quod eaque vel esse debitis inventore culpa ea ullam saepe iure ab nostrum in. Commodi quaerat ullam quidem minima…</p></div>

Special layout for quotes

It would be very good if we could have a special layout for quotes. Something like a big transparent “ ” before and after the quote. Currently, quotes don't have a title shown on the post and it's great but it would be good if we could make it more fancier and different with "aside" post type.

Issue with Adding a Feature Image

I have been having issues with adding a feature image lately on Read Write Respond. The system registers the image as it shows up in the social media preview provided by Yoast SEO.

I am assuming that this somehow relates to the theme as I tested out two other themes and they worked with featured images. I also updated to the latest version of Autonomie and am running WordPress 5.5.3

Hide post date for static pages

For static pages, like https://notiz.blog/contact/ the page date is shown below the header. Since static pages (imho) don't have a publication date, it would be nice if the date could be hidden from the reader.

Do you want to consider this, whether or not as an option?

Problem with child theme

Hello, I am trying to make a child theme of ZenPress.

If I leave the structure exactly as here, then WP gives an error that it cannot find the ZenPress parent theme.

If I take out the \zenpress folder out and put it under 'themes then everything seems to work fine, but I am worried about losing the 'sass folder.

Any advice?

Shariff wrapper sharing buttons are pulled into the post for Bridgy

STR with current ZenPress and the Indieweb plugins:

  1. Make sure to install the Shariff Wrapper and configure it to your liking. Defaults should do for this.
  2. Create a new post.
    A. Set its format to Status, and its Kind to Note.
    B. Don't enter a title. Only enter text in the main body.
    C. Set Bridgy to post to Twitter, and set the Shariff buttons to be used for this post.
  3. Hit Publish.

Result: Post gets published and posted to Twitter. The resulting permalink is added to the syndicated links automatically.

Now, view the post on Twitter. An example can be seen here. The heading and text of the Shariff buttons is being pulled into the post along with the rest of the post itself, if that still fits. In my case, it did.

Escaped HTML for the Author Name on purpose?

On line 371, you have esc_html( get_the_author() ), which is producing a span with attributes, the authors name and the element brackets as entities. So instead of the author's name showing up, it shows up the span as the name.

I think you want this:
<span itemprop="name"><span class='p-author h-card'>author</span>

What you're getting is this:
<span itemprop="name">&lt;span class=&#039;p-author h-card&#039;&gt;author&lt;/span&gt;</span>

Optional dark/light theme

It would be awesome if the blog admin could be able to force the theme to show dark/light colors. Like an option in "customize" section to choose whether we want dark theme or light or set it automatic like the way it is now.

Setting button colors is inconsistent

If you create a button using the Gutenberg Buttons block and do not set a custom color, it displays illegibly, with a white background and white text:

Autonomie - Blank button

If you select one of the default colors from the Button block's "Color settings" panel, it typically does not display:

Autonomie - Colorless button

If you select a "custom color" from within the same color settings panel, that color does display:

Autonomie - Custom blue button

This is inconsistent and frustrating. I would expect that (1) buttons would be visible by default, and (2) if I select a color in the Button block's color settings panel, it would display, regardless of whether it's a default swatch or a custom color.

Display of subtitles

I use a plugin https://github.com/wecobble/Subtitles to have a subtitle if I want one. At present, the subtitle is displayed everywhere that Autonomie uses the_title or get_the_title. In my view, this looks wrong in the H2 that Autonomie creates as a heading for the comments section.

The Subtitle plugin author says that themes should use the_title_attribute rather than the_title. I did try switching this out at various points in the templates, but it made no difference. As far as I can tell, with the plugin activated, the_title_attribute contains the concatenated title and subtitle. I could not get any of the suggested workarounds to work.

For now, I rewrote the section that creates the H2 Comment title. Changing this:

 				printf(
 					_n( 'One thought on %2$s', '%1$s thoughts on %2$s', get_comments_number(), 'autonomie' ), // removed quotation marks
 					number_format_i18n( get_comments_number() ),
 					'<span>' . the_title_attribute() . '</span>'
 				);
 			?>

to this:

				printf(
					_n( 'One response to %2$s', '%1$s responses to %2$s', get_comments_number(), 'autonomie' ), // removed quotation marks
					number_format_i18n( get_comments_number() ),
					'<span>' . 'this fascinating post' . '</span>'
				);

That works fine for me, now. I think this is the only place where the concatenated subtitle was giving me a problem, but I need to check very carefully.

Conflict with Yoast SEO

I don't need Yoast, so this is not critical, but when testing Yoast SEO I ran into the following error:

Google Search Console warns there is a “Unparsable structured data” on some of my pages. It reports:

Incorrect value type “@id

If I dig into the error I find this code:

`{"@type":"WebPage","@id":false,"url":false,"name":"0 – Page 3 of 298 – Bill Bennett"}}]}]}</script>

`

The page where the error is flagged is: https://billbennett.co.nz/type/standard/page/5/

There's a support thread about this on the Wordpress.org site:

https://wordpress.org/support/topic/incorrect-value-type-id-3/#post-12387557

As I said, this isn't a big deal for me... I intend to kill Yoast soon and don't care about SEO, but it could indicate a problem elsewhere. Or not. Would be interested to hear either way.

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.