WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Custom types in custom Taxonomies not loading

[Resolved] Custom types in custom Taxonomies not loading

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author dcooney
    Participant

    @dcooney

    Hi alevalentini,
    You need to select at least one taxonomy term along with the taxonomy to in order to use the taxonomy query.

    Does that make sense?

    alevalentini
    Participant

    @alevalentini

    It does. Sorry, I pasted the wrong code. I use this:
    do_shortcode('[ajax_load_more post_type="articolosport" taxonomy="icarosport" taxonomy_terms="calcio" posts_per_page="10" button_label="Altri articoli"]'); but nothing happens.

    Plugin Author dcooney
    Participant

    @dcooney

    Do you happen to have a link you can share?

    alevalentini
    Participant

    @alevalentini

    Sure. here
    You can ignore the two termname= and termslug=… I was just testing in order to print the term name for the header.

    Plugin Author dcooney
    Participant

    @dcooney

    Thanks, it’s possible its not working because there are various JS errors throughout the site.
    http://cl.ly/image/3B2A462Z0a3i
    Which page has the shortcode?

    alevalentini
    Participant

    @alevalentini

    The jquery.mobile is known, shouldn’t be a problem.

    The other one is strange. The reference error f is not defined is known too, but it should not break your plugin. It work fine here, on main categories: http://www.newsrimini.it/wptest/?cat=2

    Plugin Author dcooney
    Participant

    @dcooney

    Ok, so which page has the taxonomy query not working? Sorry, the page you initially reference did not have Ajax Load More present in the source code.

    alevalentini
    Participant

    @alevalentini

    How is that? First link I pasted calls up a php file where I put the do_shortcode I pasted in my second post. That’s the point, it doesn’t load anything.

    Plugin Author dcooney
    Participant

    @dcooney

    Did you echo the do_shortcode?
    echo do_shortcode('[ajax_load_more]');

    This page(http://www.newsrimini.it/wptest/?icarosport=calcio) does not have Ajax Load More present in the source code.

    alevalentini
    Participant

    @alevalentini

    What are you saying? Who do you think I am? huh? One of those stupid, idiotic developers who forget the basic stuff and goes online asking for help, because they’re not intelligent enough to see their own mistakes?



    BECAUSE YES, I AM ONE OF THOSE.

    I’m SO SO SO SO sorry for wasting your time! Sorry, you’ve been very friendly and helpful. Thank you so much for your help, your time and your patience.

    Sorry again.

    Plugin Author dcooney
    Participant

    @dcooney

    haha, no worries at all. In fact I do the same with do_shortcode quite often.

    Happy to hear everything is working for you!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Resolved] Custom types in custom Taxonomies not loading’ is closed to new replies.