// _ WIP
Hey u guys…
Since the last package release I did.
I’ve been having a good play with my theme and trying to think in react+wordpress terms when animating stuff.
When animating elements with JS you need to know start position, tween, end position.
Then, in the ccs I would position the elements in their default ‘fallback’ position. Usually the end, so it looks nice even if JS is disabled.
However, using Frontity I need to think a bit different,
I’ve converted al the the css to CSS-IN-JS, added some content, styled specific page content, added config, etc.
I hit a few dominance issues with styling. It’s annoying not having code hints in string literals.
I’m now loading separate targeted styles for global, pages and posts. I’ve spent the last few weeks playing with the config of my theme.
My deployment of some new bits include creating temporal events as a cpt and animated timelines from custom taxonomies.
I initially experimented with adding styled scrollbars.
custom post types and taxonomies:
I have added the cf7 package
Testing - Not sure how to customise packages without breaking updates.
I’ve added the Frontity package and exposed my data studio reports on this page:
working on poststrips to display x number of post/cpt (by recent/random related tag/category would be the norm).
Think I’ve hit a wall getting WP Rest filter and ordering to work together. Need to create endpoints.
Aggregation and multiple data sources
Updates, Customisation align with core theme dev
Theming and recycling…
I think I want to separate my components and split the theme into packages ie:
primitiveone (the theme) - unique per site. contains mountains (views) + sand/dust (js/css)
primitiverocks (my component library)
primitivescenes (a component library with additional dependencies - gsap/scrollmagic)
I’d rather pull some config from WP so end users can edit themself. Can’t image this will be hard.
- will check what I usually have in functions.php, settings.php and options.php files.
Existing config and plugins
ACF + CPT UI
WP REST Cache
- does fontitity.settings have dominance over default settings in packages.
WP 2020 Child Theme