Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #980679
    elan
    Participant

    Hi,

    I’m wondering how I can add custom code to shortcodes,

    In particular, for the author shortcode, I would like to add a ‘itemprop=”author”‘ attribute to the tag that has the author name ( <h4 class=”h-author mtn”> author name </h4>, have it be automatically generated as <h4 class=”h-author mtn” itemprop=”author”> author name </h4> )

    The theme I’m using is integrity if that’s relevant

    Thanks

    #980788
    Rad
    Moderator

    Hi there,

    Thanks for posting in.

    Shortcodes are parts of cornerstone core and we don’t recommend of any core features.

    Thanks for understanding.

  • <script> jQuery(function($){ $("#no-reply-980679 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>