add class to custom attribute values-NOT Resolved
-
Hello,
I find it strange or even rude that you closed the topic I started for new replies asking for a line of code to add the functionality that all other property extensions I have worked with come standard (status banners). Now that I have invested so much time into your plugin and don’t want to change, I simply want to add a custom class to my status attributes so I can style each status a different color. You give me this idea and don’t tell me how to apply it so when I ask you tell me I need to hire you to do custom work. I have seen other users vote for this feature in your request feature web page.
You say I can use this:
apply_filters('wpp::draw_stats::attributes', $property_stats, $property, $args);
I just want to do something simple.
<?php if( !empty( $property['status'] ) ): ?> <span class="property_status"><?php echo $property['status']; ?></span> <?php endif; ?>
If I could add this and make the result have like 8 characters with no spaces, that would be perfect:
<?php if( !empty( $property['status'] ) ): ?> <span class="property_status <?php echo $property['status']; ?>"><?php echo $property['status']; ?></span> <?php endif; ?>
please don’t shut down this topic, perhaps there is someone out there that can help me. Its not important enough to hire you to do, its just something that I feel should already by an option for your plugin.
- The topic ‘add class to custom attribute values-NOT Resolved’ is closed to new replies.