WordPress.org

Ready to get started?Download WordPress

Forums

CPT-onomies: Using Custom Post Types as Taxonomies
[resolved] Very thanks, really! (3 posts)

  1. luizhrqas
    Member
    Posted 1 year ago #

    Hello, Rachel!

    This post isn't a report of problem.

    It is just for thank you about your plugin. Is very useful and save me. Thanks! :D

    And sorry for bad english, etc. I'm not north-american. ;]

    http://wordpress.org/extend/plugins/cpt-onomies/

  2. Rachel Carden
    Member
    Plugin Author

    Posted 1 year ago #

    Hi!!

    Thanks for the nice post! You're welcome! I'm glad CPT-onomies has been so helpful!!

    If you haven't done so already, I would really appreciate it if you gave the plugin a 5-star rating.

    Thanks again!

  3. luizhrqas
    Member
    Posted 1 year ago #

    I gave the 5-star rating, hehe.

    Nothing! I'm really happy about that.

    One thing:

    I'll write in portuguese and after translate to english.

    Portuguese:
    Eu notei que quando você usa o plugin e faz um relacionamento de um CPT com outro, depois de você cadastrar um novo registro com esse relacionamento, para você poder puxar esse relacionamento do post, no Loop você usa as funções de taxonomia, ou seja, você não pode puxar algumas coisas como por ex., o Thumbnail do post relacionado. Eu desenvolvi uma solução para isso, fazendo uma query direta no banco de dados. Não sei se é a forma mais saudável de ser feita, mas foi a única solução que encontrei. Veja se isso lhe agrega de alguma forma para atualizar o plugin, ou coisa do tipo.

    English:
    I noticed when you use your plugin and do a relationship from an CPT with other, after you created a new register with this relationship, for you use the informations of the relationship inside the Loop, you need to use taxonomies functions. But, if you do this, unfortunately you can ONLY use these functions. You can't use the thumbnail from the relationship, for example. I developed a solution for this, doing an query direct to the database, with global variable $wpdb. I don't know if this is the best mode to do, but its the unique solution i founded. See if this helps you to update your plugin, or something like that.

    http://pastebin.com/GupvbPmF

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.