WordPress.org

Ready to get started?Download WordPress

Forums

Advanced Text Widget
[resolved] Does not work with shortcode (7 posts)

  1. Treebeard
    Member
    Posted 2 years ago #

    I am only trying to add shortcode, not PHP code and on the frontend all I see the the shortcode itself. Am I doing something wrong?

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

  2. Max Chirkov
    Member
    Plugin Author

    Posted 2 years ago #

    Shortcodes should work just fine - I just checked on my own site and they do work. Make sure your shortcode is correct (no misspellings) and the plugins that is responsible for it is active.

  3. Treebeard
    Member
    Posted 2 years ago #

    Thanks, actually I copied/pasted the shortcode from the settings page for that plugin. I ended up just using an Include to load a page that contained the shortcode instead, and it works fine. It wasn't working from the widget though for some reason, I just thought you should know.

    Thanks again for getting back to me.

  4. Max Chirkov
    Member
    Plugin Author

    Posted 2 years ago #

    Can you try a shortcode from a different plugin or a core shortcode like [gallery id="xx"] - where xx is the ID of the post to which a gallery attached. I just tried it again on my home dev machine (my previous test was on a live server) and it worked again as well. Therefore I'm not exactly sure where the bottleneck in your case.

  5. Treebeard
    Member
    Posted 2 years ago #

    I have some shortcodes from other plugins in use, WP FAQ is working with a shortcode. I also have some other plugins that might be conflicting somehow? I'm using More Fields, Magic Fields, Use Shortcoes in Sidebar Widgets, for instance. I've used Ultimate TinyMCE many times with some of these other plugins but never installed add-ons with it. So far, this is the only one causing the issue.

    I'm going to try uploading an editorstyle.css file and see if that changes anything.

  6. Treebeard
    Member
    Posted 2 years ago #

    That didn't work either. And I noticed something else odd, when I'm in the editor in Visual Mode, I highlighted the text to see what was there and I can see HTML in the editor, so that was very strange.

    I don't know what else to do at this point.

  7. Treebeard
    Member
    Posted 2 years ago #

    I made some progress with this (sorry for so many posts!)

    I figured out what was happening with the editor: I had problems with my Arrays - forgot to add the beginning "Array (" since I have more than one, and the ending ")" but now I'm running into another problem, which I will post in a new thread since it's unrelated to editor issues.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.