reply

Home 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,704 points
    May 9, 2019 at 7:50 am

    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 } ?>
  • New Business Themes for WordPress 2020

    Start your new website today!

    View Business Themes