• I’m trying to work with template shortcodes to get a value from an woocommerce attribute but cannot get it to work, for example:
    %%ct_<custom-tax-name>%%
    my attribute field is called: brand
    so i amended the above as follow:
    %%ct_brand%%
    …when I check the results it does not seem to be working at all.

    I also tried the following alternative:
    %%cf_<custom-field-name>%%
    amended as follow:
    %%cf_brand%%
    but got same results…. Not working!

    Is this a bug or am I doing something wrong?

    https://www.ads-software.com/plugins/wordpress-seo/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter delta123

    (@delta123)

    Do the developers or associate plugin parties respond to questions here, like my question above?

    What action should I take next to establish if this is a regression bug or if this is simply not supported by the WordPress SEO by Yoast plugin?

    I really would appreciate some help ASAP!

    Thank You

    Thread Starter delta123

    (@delta123)

    My site SEO is well messed up for days now, I do need an answer ASAP!

    Is there an older stable release of this plugin that would fix this problem?

    Or should I just try out another similar plugin?

    Thread Starter delta123

    (@delta123)

    Just want to let you know that as nobody has responded to my question and this is impacting my production site, I will now have to rate your plugin 1 star!

    Thread Starter delta123

    (@delta123)

    It seems that this may have been raised before:
    custom field – yoast-seo-plugin – issue with the title and description template variables – WordPress Development Stack Exchange
    https://wordpress.stackexchange.com/questions/139254/yoast-seo-plugin-issue-with-the-title-and-description-template-variables

    takes here:
    Custom Fields In Titles Broken in Snippet Preview and SEO Title Output · Issue #916 · Yoast/wordpress-seo · GitHub
    https://github.com/Yoast/wordpress-seo/issues/916

    But is still broken for me….

    any idea what I should do next?

    Thread Starter delta123

    (@delta123)

    Looks like i been talking to myself ??

    +1 here. You will see lots WooCommerce website BLANK %%ct_<custom-tax-name>%% out there (from thier page sources).

    FYI, for product attribute/category/tag should ct_pa_brand, ct_product_cat, ct_product_cat….. But stop working.

    I workaround to use %%term_title%% which (if) same as %%ct_<custom-tax-name>%%.

    ^.^

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘problem working with template shortcodes’ is closed to new replies.