wpsnoop: fix Relativity theme conflicts, errors & issues

When the theme Relativity 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 Relativity, plus learn which plugins and/or themes could be in conflict with Relativity.


Troubleshooting theme and plugin conflicts is easier when you know what Relativity 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 Relativity

Get professional support for Relativity here

When you need professional help with WordPress: get help here


What does Relativity version 2.1 add to WordPress? Answers Here.

This is an automatically generated report - it is possible for Relativity to perform differently in your installation, previous versions before 2.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 2.1 of Relativity behaves when installed and removed on a clean installation of WordPress.

We have not tested individual shortcodes, features or settings of this theme 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 Relativity by clicking here.

Our testing covered the free version of this theme 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 Relativity add to WordPress?

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

Type & Path Size Conflicts
wp-content/themes/relativity/ 605.40kB No known conflicts with other themes or plugins.
wp-content/themes/relativity/404.php 841.00B No known conflicts with other themes or plugins.
wp-content/themes/relativity/archive.php 998.00B No known conflicts with other themes or plugins.
wp-content/themes/relativity/comments.php 2.89kB No known conflicts with other themes or plugins.
wp-content/themes/relativity/editor-style.css 1.87kB No known conflicts with other themes or plugins.
wp-content/themes/relativity/footer.php 1.35kB No known conflicts with other themes or plugins.
wp-content/themes/relativity/functions.php 6.63kB No known conflicts with other themes or plugins.
wp-content/themes/relativity/header.php 1.79kB No known conflicts with other themes or plugins.
wp-content/themes/relativity/images/ 4.39kB No known conflicts with other themes or plugins.
wp-content/themes/relativity/images/pattern-light.svg 1.80kB No known conflicts with other themes or plugins.
wp-content/themes/relativity/images/quote.svg 2.60kB No known conflicts with other themes or plugins.
wp-content/themes/relativity/inc/ 20.63kB No known conflicts with other themes or plugins.
wp-content/themes/relativity/inc/custom-comments.php 1.87kB No known conflicts with other themes or plugins.
wp-content/themes/relativity/inc/custom-header.php 2.48kB No known conflicts with other themes or plugins.
wp-content/themes/relativity/inc/customizer.php 3.24kB No known conflicts with other themes or plugins.
wp-content/themes/relativity/inc/extras.php 1.54kB No known conflicts with other themes or plugins.
wp-content/themes/relativity/inc/jetpack.php 3.31kB No known conflicts with other themes or plugins.
wp-content/themes/relativity/inc/template-tags.php 8.19kB No known conflicts with other themes or plugins.
wp-content/themes/relativity/index.php 1.02kB No known conflicts with other themes or plugins.
wp-content/themes/relativity/js/ 4.03kB No known conflicts with other themes or plugins.
wp-content/themes/relativity/js/customizer.js 1.07kB No known conflicts with other themes or plugins.
wp-content/themes/relativity/js/navigation.js 2.23kB No known conflicts with other themes or plugins.
wp-content/themes/relativity/js/skip-link-focus-fix.js 747.00B No known conflicts with other themes or plugins.
wp-content/themes/relativity/LICENSE 17.62kB No known conflicts with other themes or plugins.
wp-content/themes/relativity/page.php 834.00B No known conflicts with other themes or plugins.
wp-content/themes/relativity/readme.txt 3.49kB No known conflicts with other themes or plugins.
wp-content/themes/relativity/rtl.css 405.00B No known conflicts with other themes or plugins.
wp-content/themes/relativity/screenshot.png 498.63kB No known conflicts with other themes or plugins.
wp-content/themes/relativity/search.php 1.07kB No known conflicts with other themes or plugins.
wp-content/themes/relativity/single.php 663.00B No known conflicts with other themes or plugins.
wp-content/themes/relativity/style.css 31.20kB No known conflicts with other themes or plugins.
wp-content/themes/relativity/template-parts/ 5.14kB No known conflicts with other themes or plugins.
wp-content/themes/relativity/template-parts/content-none.php 1.14kB No known conflicts with other themes or plugins.
wp-content/themes/relativity/template-parts/content-page.php 913.00B No known conflicts with other themes or plugins.
wp-content/themes/relativity/template-parts/content-search.php 803.00B No known conflicts with other themes or plugins.
wp-content/themes/relativity/template-parts/content-single.php 1.00kB No known conflicts with other themes or plugins.
wp-content/themes/relativity/template-parts/content.php 1.32kB No known conflicts with other themes or plugins.

Which new shortcodes does Relativity add to WordPress?

Which new database tables are created by the WordPress theme Relativity?

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

Option Name   Known Conflicts
current_theme Potential conflict with 8753 plugins or themes
theme_mods_twentytwentytwo Potential conflict with 8767 plugins or themes
theme_switched Potential conflict with 8753 plugins or themes
theme_mods_relativity The theme_mods_relativity option doesn't have any known conflicts with other themes or plugins.

During use Relativity may or may not create more options depending on how the theme is configured and depending on which other themes and plugins are active in your specific hosting environment.

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

Function   Conflicts Common Errors
relativity_body_classes 0 conflicts Fatal error: Cannot redeclare relativity_body_classes()
relativity_categorized_blog 0 conflicts Fatal error: Cannot redeclare relativity_categorized_blog()
relativity_category_transient_flusher 0 conflicts Fatal error: Cannot redeclare relativity_category_transient_flusher()
relativity_content_width 0 conflicts Fatal error: Cannot redeclare relativity_content_width()
relativity_custom_comments 0 conflicts Fatal error: Cannot redeclare relativity_custom_comments()
relativity_custom_header_setup 0 conflicts Fatal error: Cannot redeclare relativity_custom_header_setup()
relativity_custom_logo_setup 0 conflicts Fatal error: Cannot redeclare relativity_custom_logo_setup()
relativity_customize_preview_js 0 conflicts Fatal error: Cannot redeclare relativity_customize_preview_js()
relativity_customize_register 0 conflicts Fatal error: Cannot redeclare relativity_customize_register()
relativity_default_theme_logo 0 conflicts Fatal error: Cannot redeclare relativity_default_theme_logo()
relativity_entry_footer 0 conflicts Fatal error: Cannot redeclare relativity_entry_footer()
relativity_filter_body_class_add_colorscheme 0 conflicts Fatal error: Cannot redeclare relativity_filter_body_class_add_colorscheme()
relativity_get_color_schemes 0 conflicts Fatal error: Cannot redeclare relativity_get_color_schemes()
relativity_get_default_header_image 0 conflicts Fatal error: Cannot redeclare relativity_get_default_header_image()
relativity_infinite_scroll_render 0 conflicts Fatal error: Cannot redeclare relativity_infinite_scroll_render()
relativity_jetpack_setup 0 conflicts Fatal error: Cannot redeclare relativity_jetpack_setup()
relativity_posted_on 0 conflicts Fatal error: Cannot redeclare relativity_posted_on()
relativity_register_color_scheme_customizer 0 conflicts Fatal error: Cannot redeclare relativity_register_color_scheme_customizer()
relativity_sanitize_color 0 conflicts Fatal error: Cannot redeclare relativity_sanitize_color()
relativity_scripts 0 conflicts Fatal error: Cannot redeclare relativity_scripts()
relativity_setup 0 conflicts Fatal error: Cannot redeclare relativity_setup()
relativity_the_custom_logo 0 conflicts Fatal error: Cannot redeclare relativity_the_custom_logo()
relativity_widgets_init 0 conflicts Fatal error: Cannot redeclare relativity_widgets_init()
themeslug_author_bio_avatar_size 0 conflicts Fatal error: Cannot redeclare themeslug_author_bio_avatar_size()

Using Relativity 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 Relativity from the command line with WP-CLI

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

wp theme install relativity


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

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

wp theme install relativity --activate


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

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

wp theme install relativity --force


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

wp theme update relativity


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

wp theme delete relativity --force

Where can you download earlier versions of Relativity?

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 Relativity 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 Relativity

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 Relativity. Different versions of WordPress could implement the features of this plugin in slightly different ways as well.