Comments (6)
Options in taxonomies? That sounds interesting!
I want to get on to this, although I have some planned updates :)
It would be great if you can do a fork and get started with this in the meantime
from titan-framework.
I might be able to tackle this, although at my current skill level I think it's a bit over my head, so don't count on seeing anything too great. :) Perhaps somebody else who has the skills would want to take this idea and go with it.
from titan-framework.
+1 to this. Categories, tags, custom taxonomies... Possibly links? Menus? WordPress has a wealth of "types" which can have data associated with them. Being able to extend them all w/ arbitrary options would be ridiculously powerful.
from titan-framework.
I'm not sure about the menus though. Tried that once, WP doesn't have an API for that and the techniques are hackish at best :(
from titan-framework.
Wasn't sure about menus either. Honestly not even sure what it'd be used for… but thought I'd include it just to get another perspective on it. :D
from titan-framework.
The Thesis theme (at least in v. 1.8.5) created an entirely new table to store taxonomic meta options in. It would then do a SELECT * on the table to pull all of the data in, on every page load. On a site with an extensive taxonomy (such as thousands of tags), each with potentially having options set, that's an EXPENSIVE query for every page load.
The best option I've found is to create an option for each taxonomic ID (e.g., titan_tax_##), with that option containing the serialized meta, and with it being set to not autoload, so that it only is pulled when needed on the taxonomy in question.
from titan-framework.
Related Issues (20)
- Dead? HOT 5
- Need help with color picker after WP 4.9 update HOT 13
- create multiple option with same id HOT 1
- Date option default expects timestamp, docs state Y-m-d formatted string HOT 3
- undefined js function for number option HOT 2
- New problem with Color Picker and NextGen Gallery HOT 5
- Customizer Container, Font Field - Two Color Pickers?
- CSS ID contains inappropriate characters
- Docs and main website down HOT 1
- Quick Edit not working
- $titan->setOption() not saving data to database HOT 1
- Suggestion add more Filters in output file url
- Wrong check in the CSS Generation function
- Typo in docs
- Is this framework dead?
- Is Titan Dead? HOT 20
- PHP 7.4 issue HOT 1
- Documentation site is down, Siteground changed IP address
- [WARNINGS] Theme check for Wordpress.org HOT 1
- wpColorPickerL10n not defined in WP 5.5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from titan-framework.