Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Eliot Akira

    (@miyarakira)

    Is this with the [pass] shortcode? Could you try explicitly passing the field?

    Sorry about the change – I removed one line of code with a comment above it that said, “Deprecate this for better performance”. As far as I could see, it was an undocumented feature to render predefined field tags even when they were not specified.

    Are you using this feature in many places – i.e., would it be troublesome to change your code to specifically pass the fields that you need?

    Thread Starter Agent Codesmith

    (@agent-codesmith)

    I tried with pass too with no luck. That should still work, right? It is still listed as a predefined field. It used to be well documented. I see the trail of breadcrumbs has been gobbled up.

    I use the slug to match a taxonomy to retrieve matching posts. I suppose I can still access it by passing a query variable, like: [pass global=query fields=slug]. I’ll give that a try tomorrow.

    Everything in following link are developed using your plugin exclusively. The only php I was used to return “pretty date ranges”.

    I’ve used it to get the resources for a specific product: https://www.sencha.com/products/extjs/#resources

    Here for the regions: https://www.sencha.com/company/roadshow/

    And everything about this relies on it: https://www.sencha.com/training/#ext-js

    Here with WooCommerce store and single products: https://www.sencha.com/store/extjs/

    And here it’s used to grab the right partners with the “technology-partner-program” term: https://www.forescout.com/partners/technology-partner-program/

    Those are my heavy hitters’ websites. But dozens of my clients are leveraging the predefined fields.

    I’ve found your plugin is One-of-a-kind and have used it everywhere for the last 2 years. You had merged my branch for the singular post type labels. This plugin changed the way I develop for WP. I have not found any single plugin that is more critical to my workflow than this. Thanks so much. You are a brilliant and gifted developer.

    Plugin Author Eliot Akira

    (@miyarakira)

    Thank you for the kind words! That’s really cool to hear that the plugin is used on Sencha’s website. I also use it for templating on pretty much every website I build. Knowing that sites are depending on it, I do my best to keep it stable and reliable.

    I tested passing the post slug in the following ways, and confirmed that these are working:

    [pass field=slug]{FIELD}[/pass]
    [pass fields=slug]{SLUG}[/pass]
    [loop type=post count=1 fields=slug]{SLUG}[/loop]

    So it looks like you’re doing something differently.

    I use the slug to match a taxonomy to retrieve matching posts.

    Could you give me an example of how you’re using it?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Predefined field {SLUG} not longer passed’ is closed to new replies.