Skip to main content

Dynamic CSS class from taxonomy or custom field value broken

Comments

7 comments

  • Ariel H.

    Hi Dustin,

    Thank you for sharing the details.

    Would it be possible for you to provide us with some screenshots to help illustrate the issue?

    Best regards,
    Ariel H.

    0
  • Dustin Sippel

    Sure. I've added a page to a test site to demonstrate: https://test.pressdev.site/index.php/broken-css-class/

    0
  • Ariel H.

    Hi Dustin,

    Would it be possible for us to have access to the WP Admin login details for this staging site as well?

    If this is feasible, please send the details to communitysupport@gmail.com and include the reference number 18799585553426 in the subject line.

    Best regards,
    Ariel H.

    0
  • Dustin Sippel

    Sorry for the late followup, login sent.

    0
  • Ariel H.

    Hi Dustin,

    Thank you for the update.

    Upon checking, this feature only works on dynamic pages. For instance, we created an Archive template named "test" and applied it to the Blog / Post page within the display conditions.

    The dynamic CSS was then implemented into a post's element.

    The posts page where this template was applied does not show the errors shown in your screenshot.

    You can view the page here: https://test.pressdev.site/index.php/posts/

    Please try this and let me know if you have any additional questions.

    Best regards,
    Ariel H.

    0
  • Dustin Sippel

    Hi Ariel,

    In my example I assigned a custom taxonomy "Animal Categories" to the CSS class. In your reply you used "Habitat" which is a custom field.

    There's no issue with custom fields, it's assigning a custom taxonomy which doesn't work: https://test.pressdev.site/index.php/posts/

    Thanks.

     

     

    0
  • Ariel H.

    Hi Dustin, 

    Thank you for your patience.

    I've taken the necessary steps to escalate this issue to one of my colleagues. They will thoroughly investigate the issue and provide you with a reply as soon as possible.

    Best regards,
    Ariel H.

    0

Please sign in to leave a comment.