• Resolved Tony New / TxCowboyDancer

    (@txcowboydancer)


    Hi, my site is https://txcowboydancerdesigns.com

    Here’s the problem. I have been using a PHP Shortcode plugin called “Post Snippets” that allowed me to create a shortcode that I could stick anywhere text was permitted to call the PHP script and display the output on the screen embedded so that it looked like part of the page.

    After upgrading to the current WordPress version, the plugin stopped working. I did some homework and discovered that the developer is busy with another project and won’t be supporting the plugin for an indefinite period.

    So I started looking for another plugin, resigning myself the arduous task of editing over a hundred pages and posts with the “new” shortcodes.

    But that is when upon my very first test, that no shortcode is working. I either get the PHP script displayed as straight ASCII or I get a page crass where nothing shows but my header and my “we’ve encountered a problem and my trained crew of retired circus monkeys are working on it” message. Amusing but frustrating.

    So…what’s up, is there a fundamental change in how WP handles PHP when inserted using a shortcode? Help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Tony New / TxCowboyDancer

    (@txcowboydancer)

    P.S. I’ve tried half a dozen different plugins that allow you to create PHP scripts as shortcodes. All of them that I’ve tried all say that they are compatible with 4.7.2 but all all generate the same error which leads me to believe that there is a single underlying broader issue rather than an problem with a specific shortcode plugin.

    Thread Starter Tony New / TxCowboyDancer

    (@txcowboydancer)

    I found out what the problem was: It wasn’t a WordPress Problem. It was a Zazzle Problem. In the storebuilder set of files, I needed to change the following:

    in file: zstore.php

    there’s a section for building the feed URL. In mine it’s line 198, but I’ve customized it a bit so the default might be different. Just search for “$dataURLBase” and change the “http” to “https” (“https://feed.”). At least it worked for me
    There are three https:// addresses at the same spot. Change all of them to https://

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Shortcodes no longer working…’ is closed to new replies.