reply

Home Forums Responsive Themes Directory Theme Directory Theme V9 Change Featured Listing ribbon text Reply To: Directory Theme V9 Change Featured Listing ribbon text

  • JamesD
    JamesD
    April 6, 2019 at 2:47 am

    @Benny

    See if this helps using jQuery.
    Add this to your custom javascript file and change the text:

    jQuery(document).ready( function() {
        jQuery('.listing-grid-item .featured'). text("My Custom Text");
    } );

    If you don’t have a file for custom JS then you can add this to the bottom of your _functions.php file:

    function update_ribbon_text() { ?>
    <script type="text/javascript">
    	jQuery(document).ready( function() { jQuery('.listing-grid-item .featured'). text("My Custom Text"); } );
    </script>
    <?php
    }
    add_action( 'wp_footer', 'update_ribbon_text' );
  • Copyright © 2010-2020 PremiumPress Limited.

    secure payments