• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Search results

  1. Jaxxon5

    RESOLVED Using Local Variables In Woody Ad Snippets

    Yes. I actually stacked four different shortcodes in a regular WordPress page and a post, and they worked flawlessly. No – not in any code that I have written. That appears to be true. I've been thinking for months that this is either (1) a Woody problem, which it clearly isn't; or (2) a...
  2. Jaxxon5

    RESOLVED Using Local Variables In Woody Ad Snippets

    I honestly gave up on this because it's become so frustrating. I tried again over the weekend and today, and I have put about 12 more hours into it so far. I had started out by using larger, more complicated chunks of PHP and converting them to shortcodes in Woody, and the page (a WooCommerce...
  3. Jaxxon5

    RESOLVED Move Woody Snippets to Woody Ad Snippets

    Dude, it's a public forum...😃
  4. Jaxxon5

    RESOLVED Using Local Variables In Woody Ad Snippets

    Artem, One last question on this topic: we've purchased the PRO version of Woody, installed and activated it. Now that it's running, we've got two iterations of the plugin installed: Do we keep both versions active, or can we deactivate and delete the free version without any issues (such...
  5. Jaxxon5

    RESOLVED Using Local Variables In Woody Ad Snippets

    Artem, That worked!:geek: I see that you also wrapped the snippets in <p> </p>. Did that happen automatically, or does that help the code work? Either way, I appreciate your help. This does exactly what we needed! I'm paying for the PRO version today. You went above and beyond to help me...
  6. Jaxxon5

    RESOLVED Using Local Variables In Woody Ad Snippets

    Artem, Here's a screenshot of the "local" PHP snippet for Washington State – it appears in the body of the Washington State page, before the Woody snippet that merges these variables into a common set of text: Note that in this example Woody automatically adds the front <php but NOT the...
  7. Jaxxon5

    RESOLVED Using Local Variables In Woody Ad Snippets

    Artem, Thank you for your reply, and I apologize for being a pest! You wrote: How do I do that in a PHP snippet? When I do this, Woody automatically adds the opening <?php (but not the closing ?>) which breaks the page. Thanks again! D.J. EDIT: Contrary to what I wrote here, this is NOT...
  8. Jaxxon5

    RESOLVED Using Local Variables In Woody Ad Snippets

    Artem, I noticed in another forum thread that you mentioned: global $myDB; global $start; global $end; Since I am using two snippets on the same page, inline like this– [wbcr_php_snippet id="3014"] [wbcr_php_snippet id="3023"] –do I need to add a similar line to each of my original PHP...
  9. Jaxxon5

    RESOLVED Using Local Variables In Woody Ad Snippets

    Artem, Thank you for your reply! I think I'm explaining this wrong, and I appreciate your patience. Actually, what I'm trying to do is create 50 different pages – one for each state. Each page would have specific information for that state (for example, Texas) but since a chunk of text is...
  10. Jaxxon5

    RESOLVED Using Local Variables In Woody Ad Snippets

    Hello! I'm converting an HTML-based website to WordPress, but many of the HTML pages incorporate PHP to duplicate text that is common across the website. Here's my question: how do you combine a series of variables such as this: <?php $state = "California"; $city = "Los Angeles"; ?>...