Advanced Text Widget
Embed Slideshow Help! (2 posts)

  1. Duke Dillard
    Posted 2 years ago #

    I'm really excited about your widget, I think its going to fix my problem, even though I'm having problems with it. I inserted the following code into the widget:
    <?php echo do_shortcode('[satellite post_id=45]'); ?>

    I have a slideshow to show my top posts and I've been trying to insert it into my theme but its not working. The error that pops up is:

    Parse error: syntax error, unexpected T_STRING in .../advanced-text-widget/advancedtext.php(79) : eval()'d code on line 9

    I've looked through the code but I couldn't find what the problem is. Do you have any idea? Thanks.


  2. Max Chirkov
    Plugin Author

    Posted 2 years ago #

    It looks like there is an error in your actual shortcode function and not in this particular line. You see how error refers to line #9 within the eval()'d code? Well, the actual code that's being evaluated is a single line, the one you pasted, but the error is on line #9. Make sure that the satellite shortcode/function actually works with the passed argument.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Advanced Text Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.