Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1321547

    I am trying to use the blog archive shortcode in either a text widget or an html widget. For the html to work I added this in the functions.php but it still isn’t working. See link and creds in the private content below

    add_filter( 'widget_text', 'do_shortcode' );

    #1321559

    Hey virtualbis,
    Thank you for the link to your site, the filter you have added is correct but the Archives Shortcode you are trying to use is only for WordPress.com, the hosted version of the WordPress.org software.
    WordPress.com has added certain shortcodes for their users because they can not edit their site like you can edit yours, they are limited.
    Please see the WordPress Codex for the Default Shortcodes.
    You can either use a plugin to add this shortcode or add it yourself like this example.

    Best regards,
    Mike

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.