Tagged: 3rd-Party Plugin, Crio
- AuthorPosts
- March 11, 2022 at 3:02 pm #48417LAWRENCE J DAYHOFFGuest
First of all I want to thank you for your fast response about me using my own templates. Now something weird is happening. I created a simple snippet
add_shortcode( ‘testprint’, function () {
print”<b>Why is this happing?</b>”;
} );
All that is on the test page is
[testprint]
the out put from the snippet is bboth on the page and above the banner.https://gotcooties.org/testprint/
Can you tell me what this idiot is doing wrong? All my database pages are ready to go but because of this print problem I don’t want to publish to the public.March 11, 2022 at 3:06 pm #48453Brandon CKeymasterHi Lawrence,
You’re so welcome. We are always happy to answer your Crio Pro questions.
You should probably review your code snippet in this case. There has to be something interrupting the functionality and it may just be a simple error in the code. The Code Snippets plugin has Template examples on how to set up snippets for different code types like “CSS” “JS” and “PHP”. You may be able to use one of those templates as a guide as to how to include your code.
I hope this helps.
- AuthorPosts
- The topic ‘Code Snippet is Not functioning Properly in my WordPress Theme’ is closed to new replies.