Custom shortcode appears at the top of every page

I have created a very simple custom shortcode:

function short_description_subtitle_shortcode( $atts ) {
return "<h4>" . $atts['val'] . "</h4>";
}
  add_shortcode( 'short_description_subtitle',  'short_description_subtitle_shortcode' )

I have put this shortcode file in the Betheme folder, then used:
include( get_stylesheet_directory() . '/shortcode-function-classes-range.php' ); 
in the functions.php file.

However, this is just appearing in text at the top of every page in the website above the body. See http://upholsteryskillsonline.com/. How can I fix this?

Thank you

Comments

  • Hi,

    What you ask for, requires files customization what in reference to Item Support Policy is not allowed. So if you want to modify files and don't know how, you should contact your web developer. Item Policy says:
    Item support does not include services to modify or extend the item beyond the original features, style, and functionality described on the item page. For customization services that will help you tailor the item to your specific requirements, we recommend contacting the author to see if they privately offer paid customisation services or checking out the great service providers on Envato Studio

    thanks
Sign In or Register to comment.