Support Forum

recent posts widget compatibility and functions compatibility

WA wazina
wazina
Member

I’m doing my due diligence before upgrading to 5 from 4.5.x and was wondering:

a: will the new recent posts widget work with my current custom css for that widget?

b: will my custom filters and functions be relatively portable?

c: am i totally nuts and we’ll see what breaks when we get there?

 

I’m trying to get an idea of how much downtime there is going to be.

 

Thanks 🙂

3 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

In a nutshell (a) No; (b) Maybe; (c) I guess we’ll find out!

The widget has been changed quite a lot mainly to have more options and be more easily styled in that there are more classes defined and made available.

It depends on what your functions are, do and where they do it. so without that information it is hard to say. We have abandoned the old program hooks in favour of standard WP filters/actions which are liberally spread throughout the code. As the documentation for 5 is in its early stage we can obviously help with identifying what you will need to use.

You make a decision and with V5 it was to be a complete rewrite to support themes and plugins and to throw out the stuff that didn’t work too well or had seen better days.

WA wazina
wazina
Member

ahhh, growing pains.wink

I think I’ll set up a dev duplicate site instead of taking the risk that I know what I’m doing.

 

Thanks

 

Side note:

I think you made the right decision to make the change as painful to some as it may be.

YS Yellow Swordfish
Yellow Swordfish
Member

Absolutely right. And it wont be that hard I promise.
The dev site sounds good.