Directory Theme V9 Change Featured Listing ribbon text

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

Discontinued - The forum content is out of date. For theme support please use our support desk here.

WordPress Business Themes 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
    Super Guru 1,345 points

    @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' );
    April 6, 2019 at 2:47 am
  • Didn't find what you were after?

    Chat with us now

    or contact our support team