Giter Site home page Giter Site logo

Comments (6)

bfintal avatar bfintal commented on June 30, 2024

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.

philipnewcomer avatar philipnewcomer commented on June 30, 2024

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.

DangitRick avatar DangitRick commented on June 30, 2024

+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.

bfintal avatar bfintal commented on June 30, 2024

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.

DangitRick avatar DangitRick commented on June 30, 2024

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.

DangitRick avatar DangitRick commented on June 30, 2024

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)

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.