• Resolved mwgerard

    (@mwgerard)


    Hi, I use the [wpp] shortcode option and have it in a footer widget. It stopped working a couple of days ago and I have not been able to figure out why. Instead of displaying the post list, it displays the shortcode itself. Cleared caches, etc. etc. but no luck.

    Plugin Configuration

    Performance Nag: Inactive

    Log Limit: No

    Log Views From: Everyone

    Data Caching: Yes, 1 minute

    Data Sampling: No

    External object cache: No

    WPP_CACHE_VIEWS: No
    System Info

    PHP version: 8.1.32

    PHP extensions: Core, date, libxml, pcre, sqlite3, filter, hash, intl, json, mbstring, SPL, session, PDO, pdo_sqlite, Reflection, standard, mysqlnd, cgi-fcgi, bcmath, bz2, calendar, ctype, curl, dh_php_ext, dom, exif, fileinfo, ftp, gd, gettext, iconv, imap, mysqli, openssl, pcntl, pdo_mysql, zlib, posix, pspell, sodium, SimpleXML, soap, sockets, tokenizer, xml, xmlreader, xmlwriter, xsl, zip, Phar, imagick, Zend OPcache

    AVIF support: Yes

    WebP support: Yes

    Database version: 8.0.37-0ubuntu0.20.04.3

    InnoDB availability: DEFAULT

    WordPress version: 6.8

    Multisite: No

    Active plugins: Advanced Editor Tools 5.9.2, Akismet Anti-spam: Spam Protection 5.3.7, Category Page Extender 1.0.3, Category Posts Widget 4.9.20, Classic Editor and Classic Widgets 1.4.5, Classic Widgets 0.3, Disable Comments 2.4.7, Disable Gutenberg 3.2.3, DreamHost Panel Login 1.0.0, Easy Image Collage 1.13.6, List category posts 0.90.3, MailPoet 5.11.0, MailPoet Premium 5.11.0, Missed Scheduled Posts Publisher by WPBeginner 2.1.0, Page2Cat: Category Pages & Posts Shortcodes 3.3.1, Posts for Page Plugin 2.1, Simple Custom CSS 4.0.7, Spacer 3.0.7, Tag Groups 2.0.9, Theme Check 20231220, Use Any Font 6.3.12, WordPress Popular Posts 7.3.1, WP Google Fonts 3.1.5

    Theme: Edge Child NEW (1.0) by mwgerard
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hi @mwgerard,

    Could you please share your site’s URL so I can have a look?

    Also, please share the shortcode you’re using as well just to check whether everything’s in order with that too.

    Thread Starter mwgerard

    (@mwgerard)

    Hi,

    I’m sorry – I thought the form included it.

    It is http://mwgerard.com. Scroll to the bottom footer.

    The code is: [wpp limit=4 range=’custom’ time_quantity=150 time_unit=’day’ freshness=1 post_type=’post’ cat=’9, 73, 89, 138, 251, 366′ thumbnail_width=100 thumbnail_height=100 stats_views=0]

    It has been working fine for several months, but stopped a couple days ago.

    Thanks!

    Plugin Author Hector Cabrera

    (@hcabrera)

    Ah, I see. I’m not sure what happened on your end but it looks like your Custom HTML widget is no longer parsing shortcodes (by default it doesn’t but if you followed the Migration Guide by any chance it instructs users to add a specific code snippet to your site so it does.)

    Anyways, please try adding this code snippet your theme’s (Edge Child NEW) functions.php file and check again:

    add_filter( 'widget_text', 'do_shortcode' );

    If you don’t want to edit your theme’s functions.php (or don’t know how to) you could also try using the Code Snippets plugin instead to add the above to your site:

    1. Install and activate Code Snippets by Shea Bunge
    2. Click on Snippets > Add New
    3. Enter a title for your code snippet (eg. Enable Shortcodes for the Custom HTML Widget)
    4. Make sure that the functions.php tab is active by clicking on it
    5. Paste the code from above into the textarea
    6. Finally, click on Save Changes and Activate

    Give that a shot and report back your results.

    Thread Starter mwgerard

    (@mwgerard)

    Hi @hcabrera

    That seems to have worked! I used the functions.php solution you suggested. How strange, but thank you for helping me track that down.

    Plugin Author Hector Cabrera

    (@hcabrera)

    Don’t mention it, glad I could help! Have a nice day!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘[wpp] shortcode stopped working’ is closed to new replies.