WordPress.org

Ready to get started?Download WordPress

Forums

Advanced Text Widget
Embed Slideshow Help! (2 posts)

  1. Duke Dillard
    Member
    Posted 1 year 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.

    http://wordpress.org/extend/plugins/advanced-text-widget/

  2. Max Chirkov
    Member
    Plugin Author

    Posted 1 year 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

About this Topic

Tags

No tags yet.