• Resolved Matt Hancock

    (@matthancocknz)


    I’ve been having issues implementing the shortcode into my website.

    So far, I’ve tried the following:

    • I’ve tried using the shortcode, [trustindex no-registration=facebook], as-is.
    • I’ve tried inserting it as PHP – <?php echo do_shortcode('[trustindex no-registration=facebook]'); ?>
    • Thinking shortcodes haven’t been enabled in the theme, I’ve put the following code in functions.php:
      function the_content_filter( $content) {
          return do_shortcode( $content);
      }
      
      add_filter( 'the_content', 'the_content_filter', 1000);

    The requested information can be viewed at https://controlc.com/042e1aaf (Pastebin thinks there’s swearing in it)

    Any suggestions would be appreciated. ??

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Shortcode not appearing on website’ is closed to new replies.