Plugin BLOG

Post Reply
HWU
Posts: 17
Joined: Tue Dec 26, 2017 5:46 pm

Plugin BLOG

Post by HWU »

Hello, I'm back with WonderCMS 3.x and it feels good. This time I took a closer look at the blog plugin.

You know - I am not a programmer - I am a freak, a tinkerer, a SEO enthusiast from the first hour.

So I wanted to find out if I can bring the plugin to a score of 100% in Google Lighthouse. And it really works! Ok, the code is not quite clean, the css is not (yet) clean either.

Test installation, link to Google Lighthouse in the footer:
https://www.webpin.ch/alltag/

Productive version for a new small project:
https://www.notiert.ch/

I look forward to more exciting plugins and themes. Thank you all for your work.
Many greetings, Heinz

Btw. wiz, thank you for your message. You see - I'm back. You know why? Because I never give up! :!:
User avatar
StephanStanisic
Developer
Posts: 37
Joined: Fri Jul 05, 2019 8:51 pm

Re: Plugin BLOG

Post by StephanStanisic »

Wow, is that the blog plugin?

Looks awesome! It's cool to see WonderCMS actually being used!
HWU
Posts: 17
Joined: Tue Dec 26, 2017 5:46 pm

Re: Plugin BLOG

Post by HWU »

Yes, StephanStanisic

It's your blog plugin. Good to hear that you're not totally horrified by my changes...! :mrgreen:

You're the professional - respect for the youth :idea:
otismo
Posts: 11
Joined: Fri Sep 21, 2012 12:02 am

Re: Plugin BLOG

Post by otismo »

@ Heinz Wüthrich

luv your blog - got a plugin ?

Thank You !

Cheers !
HWU
Posts: 17
Joined: Tue Dec 26, 2017 5:46 pm

Re: Plugin BLOG

Post by HWU »

Hello otismo :!:

Thank you for your inquiry. Unfortunately I don't have a plugin for it - the changes are hard coded and apply to WonderCMS 3.0.6 and Simple Blog 3.0.5. :idea:

I just wanted to prove that you can build WonderCMS websites that score "100" in all relevant disciplines in Google Lighthouse. And I succeeded with the productive version. :mrgreen:

Greetings, Heinz

Results (printscreen) from 2020-09-27:
Image
c0mp0ser
Posts: 13
Joined: Mon Jan 02, 2017 11:59 am

Re: Plugin BLOG

Post by c0mp0ser »

I start to test a latest WonderCMS (3.1.4) and I installed the Simple Blog plugin. Everything is working ok. Thank you! :) I have a suggestions to this plugin.
1. It would be very nice to implement a categories. It's very useful to helping the readers to quickly find the article they want. I know it from my own experience. Nothing is better than the categories or/and tags. So, imo, it's a "must have".
2. There is the problem with the "og:url" tag generated by this plugin. It's stricly pointing the hompage of entire service instead of the single article in the blog. Eg: "www.somewebsite.com" instead of the "www.somewebsite.com/blog/blog-article". The Facebook Sharing Debugger indicates it as the incorrect.
3. This plugin has no support. It would be nice to add the information to the plugin description - how to find any necessary code to adapt/localize it to other language. I did translation by myself, but there may be some people who may have some difficulties to do it.
Last edited by c0mp0ser on Sat Apr 17, 2021 9:09 am, edited 1 time in total.
c0mp0ser
Posts: 13
Joined: Mon Jan 02, 2017 11:59 am

Re: Plugin BLOG

Post by c0mp0ser »

I found something to change (improve) in the plugin. :roll:

On line 50 of

Code: Select all

/plugins/simple-blog/css/blog.css
it would be worth changing

Code: Select all

(max-width: 576px)
to

Code: Select all

(max-width: 1023px)
Blog Cards at lower screen resolutions become unpleasantly narrow. What do you think?
NorfolkGreg
Posts: 21
Joined: Wed Sep 01, 2021 7:50 am

Re: Plugin BLOG

Post by NorfolkGreg »

@ c0mp0ser
I haven't investigated your suggestion for a change in the max-width but it sounds reasonable...

@ StephanStanisic
I installed the Blog plugin immediately after installing WonderCMS. I'm a competent HTML coder so didn't feel the need for a WYSIWYG editor. I abandoned it as no edits to a published blog post could be made (A Save action appeared to take place but was lost in the process) nor could any post be deleted. I uninstalled the plugin!

Then, while exploring the WonderCMS demo (where both the Blog and Summernote Editor are installed) I found edits and deletion of posts could be made.

So I installed the Summernote editor and reinstalled the Blog plugin. I discovered that "uninstalling" the plugin merely unlinks it from the WonderCMS installation as my three test posts immediately reappeared but, more importantly, I could now my edit and delete Blog posts.

In summary:
The documentation should record that the Summernote Editor is required for the Blog Plugin to work!
NorfolkGreg
Posts: 21
Joined: Wed Sep 01, 2021 7:50 am

Re: Plugin BLOG

Post by NorfolkGreg »

I do have a feature request too!

Is it possible to make the date of a post editable. I am considering migrating a blog to WonderCMS and have around 300 posts going back eight years to transfer.

I suppose that as a temporary fix I could comment out the line

Code: Select all

    "date" => time(),

in new.php and add an editable area in which I can place the date. As you'll gather my PHP skills are extremely limited!
Post Reply