Shortcodes have stopped working

I am using the accordion shortcode on my site and it stopped working all of a sudden. I am using a child theme. I was editing .css files and other custom pages, and then the shortcodes stopped working. This is the page I am referring to:

https://peaksandprofessorsucla.org/faq/

Thanks for your help.

Hi There,

I put your shortcodes under the text element and they’re working fine:


Please make sure you’re in the HTML tab not text tab.

Regards!

Not sure what the “HTML tab” is, I only see “Visual” and “Text”.

Hello There,

I can see that you are using a custom page template. You might not have properly inserted the correct code which is why the shortcodes did not work. Could you please post the actual code of your custom page template so that we can check it? If you do not mind, please provide us access to your site as well for further investigation.

Thank you in advance.

Sure, how do I give access to the site?

Hey There,

Please provide the following in a secure note:

  • WP login url
  • WP username
  • WP password

To know more about secure note and how to get support, please check this out: https://theme.co/apex/forum/t/how-to-get-support/288

OK I will do that.

Hello There,

Thanks for providing the information. After further investigation, I was able to resolve your issue. The FAQ page is now working. It turns out that the child theme’s style.css was corrupted and is empty. I was able to edit it and reverted it back to its original content. I added the code below:

/*

Theme Name: X – Child Theme
Theme URI: http://theme.co/x/
Author: Themeco
Author URI: http://theme.co/
Description: Make all of your modifications to X in this child theme.
Version: 1.0.0
Template: x

*/

Please check your site now.

Great thank you. I had deleted the content from style.css because there were issues with the site not updating when I modified style.css. So is the header necessary for the theme to work correctly?

Hi,

Yes, that is needed for the theme to work correctly.

That is required in wordpress for child themes

https://codex.wordpress.org/Child_Themes

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.