Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author xeno010

    (@xeno010)

    Hello askdesign,

    Do you use “text” widget?

    Sincerely yours
    Julius

    Thread Starter askdesign

    (@askdesign)

    Yes, I used the text widget. When that didn’t work, I tried other widgets. No widget worked.

    Plugin Author xeno010

    (@xeno010)

    This is normal, WordPress unsupported shortcodes in widgets.

    Solution

    1. Create a new File (activate-shortcodes-in-widgets.php)
    2. Write to the file:

    <?php
    /*
    Plugin Name: Activate-Shortcodes-In-Widgets
    Description: activate shortcodes in widgets
    Version: 1
    Author: askdesign
    */
    
    add_filter('widget_text', 'do_shortcode');
    
    ?>

    3. Upload the activate-shortcodes-in-widgets.php file to the /wp-content/plugins/ directory
    4. Activate the plugin through the ‘Plugins’ menu in WordPress
    5. finished

    but it can cause defects in design.

    Sincerely yours
    Julius

    Thread Starter askdesign

    (@askdesign)

    Hi Julius,
    Thank you for the code. I created the new file as you described and installed it. I got this error message when I activated the plug-in:

    The plugin generated 1 characters of unexpected output during
    activation. If you notice “headers already sent” messages, problems
    with syndication feeds or other issues, try deactivating or removing
    this plugin.

    Should I be concerned about this error message?

    The Quiz plug-in does work in sidebars now, with 3 issues I can see so far:
    (1) when I edit the CSS file and click the “update” button, I get a blank screen. If I update the CSS file locally and then upload to the server, all is fine.
    (2) I cannot update a post.
    (3) I cannot create a new post.

    These problems really affect the key functions that we need.

    Plugin Author xeno010

    (@xeno010)

    As I said, wordpress unsupported shortcodes.

    If there are errors, delete the file.

    Thread Starter askdesign

    (@askdesign)

    Since I’m using Genesis (Optimal child theme), I researched a bit more and found a plug-in that does work, without causing any other problems: genesis-shortcodes.

    Details are at this URL: https://www.ads-software.com/extend/plugins/genesis-shortcodes/

    Their description (bold text is mine):

    This file creates all the shortcodes used throughout a site. While there is an array of shortcodes that are packaged with Genesis, this plugin provides a few more shortcodes that are used for the purpose of developing sites and migrating sites. It also enables code to execute shortcodes in the text widget. Contains the following shortcodes: [post_field], [child_url], [wpurl], [url], [site_url], [uploads], [genesis_comments] & content columns shortcodes.

    Thanks very much for your help.

    Plugin Author xeno010

    (@xeno010)

    ah ok, thanks for the link.

    Hi xeno010,
    Such a great plugin. I liked it and it works very nicely on my 2 blog sites.
    Now for my upcoming blog, I need to give access of this plugin for the users who are in “Author” role, currently as an Administrator I can access it properly.
    Can you please let me know if any possibility to activate this plugin for “Author” roles?

    Thanks in advance.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Wp-Pro-Quiz in Sidebar Widget’ is closed to new replies.