Category: Programming

Oct 11

Python Script Execution

Learning Python and ran into an issue trying to get my first script to run. When I ran the script by calling it from an HTML file, I would get a 500 Server Error. In the logs I saw this: [Mon Oct 10 22:48:24.670771 2016] [cgi:error] [pid 312899:tid 140374432446208] [client] AH01215: suexec policy violation: …

Continue reading

Jun 05

Advanced Custom Fields – Shortcode

Ran into an issue where I wanted to create an interface where I could dynamically use the output of the ACF plugin within the pages, to allow a combination of the ACF and WSIWYG editor. I ended up creating the following function and adding it to ‘functions.php’ in my template: /* Advanced Custom Fields Shortcode …

Continue reading