Formatting text to the page and Issue with displaying of shortcode on page load
-
How do I prevent short code from running on the page before a user makes a selection from a drop down ? I have a php function in functions.php that calls a python script for some analysis. The output is pasted on the screen in a big block of text. I want to format the output so its nice and separated into paragraphs and clean to read. The issue also is that the short code I wrote to call the python script is always executed upon page load. So to the screen it displays invalid comparison ran, because the user hasn’t selected the options. I want to make it so that the screen only shows the correct formatted text after a user makes a selection
- The topic ‘Formatting text to the page and Issue with displaying of shortcode on page load’ is closed to new replies.