Transform "custom field" text link to buttons

WordPress Business Themes Forums Responsive Themes Directory Theme Transform "custom field" text link to buttons Reply To: Transform "custom field" text link to buttons

WordPress Business Themes Forums Responsive Themes Directory Theme Transform "custom field" text link to buttons Reply To: Transform "custom field" text link to buttons

  • JamesD
    JamesD
    Super Guru 1,296 points

    Place this in your child theme _functions.php file:

    add_action( 'wp_footer', 'load_footerjs' );
    function load_footerjs() {
        ?>
    <script type="text/javascript">
    <!--
    alert('here');
    	jQuery('.fieldtype-taxonomy a').addClass('btn btn-danger btn-sm px-2 my-1').attr({"role":"button", "aria-pressed":"true"});
    //-->
    </script>
    <?php } ?>
    May 9, 2019 at 7:50 am
  • Didn't find what you were after?

    Chat with us now

    or contact our support team