wpsnoop: fix Shortcode plugin conflicts, errors & issues

When the plugin Shortcode conflicts or throws a PHP error we hope wpsnoop can help you to fix the issue quickly.


Discover which shortcodes wp-options PHP functions database tables and files are created by Shortcode, plus learn which plugins and/or themes could be in conflict with Shortcode.


Troubleshooting theme and plugin conflicts is easier when you know what Shortcode leaves behind after uninstalling it from a WordPress installation, there is a list down below for your convenience.

Expert advice is recommended if you are not technically proficient with PHP, MySQL etc. View support options for Shortcode

Get professional support for Shortcode here

When you need professional help with WordPress: get help here


What does Shortcode version 0.8.1 add to WordPress? Answers Here.

This is an automatically generated report - it is possible for Shortcode to perform differently in your installation, previous versions before 0.8.1 may have created a different set of shortcodes, used different function names or could have created entirely different database tables to store settings and operate. This is not an exhaustive list but shows how version 0.8.1 of Shortcode behaves when installed and removed on a clean installation of WordPress.

We have not tested individual shortcodes, features or settings of this plugin but instead have concentrated on the potential for obvious errors and conflicts which can occur, if you need help with the plugin in your local installation you can get WordPress help and support for Shortcode by clicking here.

Our testing covered the free version of this plugin there may or may not be a paid version or premium version available for purchase that unlocks additional features and could behave in a slightly or very different manner.

Which new files does Shortcode add to WordPress?

This section will populate with a table showing an icon, size and filepath.

Type & Path Size Conflicts
wp-content/plugins/shortcode/ 12.22kB No known conflicts with other themes or plugins.
wp-content/plugins/shortcode/readme.txt 3.49kB No known conflicts with other themes or plugins.
wp-content/plugins/shortcode/shortcode.php 8.73kB No known conflicts with other themes or plugins.

Which new shortcodes does Shortcode add to WordPress?

ShortCode   Known Plugin or Theme conflicts
[commentcount] The commentcount shortcode has potential conflict with at least 1 other plugin or theme.
[pagecount] The pagecount shortcode has potential conflict with at least 1 other plugin or theme.
[postcount] The postcount shortcode has potential conflict with at least 1 other plugin or theme.
[ageindays] The ageindays shortcode doesn't have any known conflicts with other themes or plugins.
[ageindayscomma] The ageindayscomma shortcode doesn't have any known conflicts with other themes or plugins.
[ageinmonths] The ageinmonths shortcode doesn't have any known conflicts with other themes or plugins.
[ageinyears] The ageinyears shortcode doesn't have any known conflicts with other themes or plugins.
[allpostslength] The allpostslength shortcode doesn't have any known conflicts with other themes or plugins.
[catcount] The catcount shortcode doesn't have any known conflicts with other themes or plugins.
[catcountbr] The catcountbr shortcode doesn't have any known conflicts with other themes or plugins.
[catperpostavg] The catperpostavg shortcode doesn't have any known conflicts with other themes or plugins.
[charsperpostavg] The charsperpostavg shortcode doesn't have any known conflicts with other themes or plugins.
[draftpostcount] The draftpostcount shortcode doesn't have any known conflicts with other themes or plugins.
[futpostcount] The futpostcount shortcode doesn't have any known conflicts with other themes or plugins.
[longestpostlength] The longestpostlength shortcode doesn't have any known conflicts with other themes or plugins.
[nameoflongestpost] The nameoflongestpost shortcode doesn't have any known conflicts with other themes or plugins.
[nameofshortestpost] The nameofshortestpost shortcode doesn't have any known conflicts with other themes or plugins.
[nggalbums] The nggalbums shortcode doesn't have any known conflicts with other themes or plugins.
[nggalleries] The nggalleries shortcode doesn't have any known conflicts with other themes or plugins.
[nggpictures] The nggpictures shortcode doesn't have any known conflicts with other themes or plugins.
[pagecountbr] The pagecountbr shortcode doesn't have any known conflicts with other themes or plugins.
[photosingallery] The photosingallery shortcode doesn't have any known conflicts with other themes or plugins.
[postcountbr] The postcountbr shortcode doesn't have any known conflicts with other themes or plugins.
[postsperdayavg] The postsperdayavg shortcode doesn't have any known conflicts with other themes or plugins.
[shortestpostlength] The shortestpostlength shortcode doesn't have any known conflicts with other themes or plugins.
[tagcount] The tagcount shortcode doesn't have any known conflicts with other themes or plugins.
[tagcountbr] The tagcountbr shortcode doesn't have any known conflicts with other themes or plugins.
[tagperpostavg] The tagperpostavg shortcode doesn't have any known conflicts with other themes or plugins.
[totalwords] The totalwords shortcode doesn't have any known conflicts with other themes or plugins.
[totalwordsbr] The totalwordsbr shortcode doesn't have any known conflicts with other themes or plugins.
[wparchive] The wparchive shortcode doesn't have any known conflicts with other themes or plugins.
[wpcategories] The wpcategories shortcode doesn't have any known conflicts with other themes or plugins.

Note: We have not yet checked to see if these shortcodes work as expected in pages, posts, sidebar widgets, or when set as the page title, in content, in the excert, in menus or anywhere else within a WordPress installation. A shortcode could produce errors due to parameters added when it is used, or if the plugin is updated and the format of the shortcode has changed.

Which new database tables are created by the WordPress plugin Shortcode?

Which new options are added to the wp-options table by Shortcode?

What new PHP functions does Shortcode declare when it is active?

Function   Conflicts Common Errors
category_count 1 conflict Fatal error: Cannot redeclare category_count()
comment_count 19 conflicts Fatal error: Cannot redeclare comment_count()
post_count 1 conflict Fatal error: Cannot redeclare post_count()
age_in_days 0 conflicts Fatal error: Cannot redeclare age_in_days()
age_in_days_with_comma 0 conflicts Fatal error: Cannot redeclare age_in_days_with_comma()
age_in_months 0 conflicts Fatal error: Cannot redeclare age_in_months()
age_in_years 0 conflicts Fatal error: Cannot redeclare age_in_years()
category_count_br 0 conflicts Fatal error: Cannot redeclare category_count_br()
category_per_post_avg 0 conflicts Fatal error: Cannot redeclare category_per_post_avg()
characters_per_post_avg 0 conflicts Fatal error: Cannot redeclare characters_per_post_avg()
draft_post_count 0 conflicts Fatal error: Cannot redeclare draft_post_count()
future_post_count 0 conflicts Fatal error: Cannot redeclare future_post_count()
length_of_all_posts 0 conflicts Fatal error: Cannot redeclare length_of_all_posts()
length_of_longest_post 0 conflicts Fatal error: Cannot redeclare length_of_longest_post()
length_of_shortest_post 0 conflicts Fatal error: Cannot redeclare length_of_shortest_post()
name_of_longest_post 0 conflicts Fatal error: Cannot redeclare name_of_longest_post()
name_of_shortest_post 0 conflicts Fatal error: Cannot redeclare name_of_shortest_post()
ngg_albums_now 0 conflicts Fatal error: Cannot redeclare ngg_albums_now()
ngg_galleries_now 0 conflicts Fatal error: Cannot redeclare ngg_galleries_now()
ngg_pictures_now 0 conflicts Fatal error: Cannot redeclare ngg_pictures_now()
page_count 0 conflicts Fatal error: Cannot redeclare page_count()
page_count_br 0 conflicts Fatal error: Cannot redeclare page_count_br()
photos_in_gallery 0 conflicts Fatal error: Cannot redeclare photos_in_gallery()
post_count_br 0 conflicts Fatal error: Cannot redeclare post_count_br()
posts_per_day_avg 0 conflicts Fatal error: Cannot redeclare posts_per_day_avg()
tag_count 0 conflicts Fatal error: Cannot redeclare tag_count()
tag_count_br 0 conflicts Fatal error: Cannot redeclare tag_count_br()
tag_per_post_avg 0 conflicts Fatal error: Cannot redeclare tag_per_post_avg()
total_words 0 conflicts Fatal error: Cannot redeclare total_words()
total_words_br 0 conflicts Fatal error: Cannot redeclare total_words_br()
wp_archive 0 conflicts Fatal error: Cannot redeclare wp_archive()
wp_categories 0 conflicts Fatal error: Cannot redeclare wp_categories()

Using Shortcode from the command line with WP-CLI

The following commands are provided for convenience and should only be used if you understand how WP-CLI works. These commands refer to a single WordPress instance and may need to be modified if you are working with a Multisite installation.


How to install Shortcode from the command line with WP-CLI

Navigate to the root of your WordPress installation and type the following command:

wp plugin install shortcode


How to activate Shortcode from the command line with WP-CLI

To immediately activate Shortcode after WP-CLI downloads the latest version you can use the following command:

wp plugin install shortcode --activate


How to reinstall Shortcode from the command line with WP-CLI

To force a reinstallation of Shortcode which overwrites the current plugin without asking for confirmation you can use the following command:

wp plugin install shortcode --force


How to update Shortcode to the latest version from the command line with WP-CLI

wp plugin update shortcode


How to delete Shortcode from the command line with WP-CLI

wp plugin delete shortcode

Where can you download earlier versions of Shortcode?

Whenever possible you should use the latest version of plugins and themes, however if you have recently updated and discovered that you need to install an earlier version you may be able to download other versions of Shortcode from the WordPress repository by visiting this link.

Please note that installing earlier versions of a theme or plugin is not generally a recommended course of action for most users and could re-introduce security, stability or other issues in Shortcode

About our testing enviroment

Tests were conducted using Apache 2.4.29, PHP 7.2 on Ubuntu 18.04, MySQL 5.7.33 and WordPress 5.9

It is very possible that different versions of PHP such as PHP 8.0, PHP 7.4, or PHP 7.3 could behave differently with Shortcode. Different versions of WordPress could implement the features of this plugin in slightly different ways as well.