wpsnoop: fix Affinity theme conflicts, errors & issues

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


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

Get professional support for Affinity here

When you need professional help with WordPress: get help here


What does Affinity version 1.0.8 add to WordPress? Answers Here.

This is an automatically generated report - it is possible for Affinity to perform differently in your installation, previous versions before 1.0.8 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 1.0.8 of Affinity 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 Affinity 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 Affinity add to WordPress?

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

Type & Path Size Conflicts
wp-content/themes/affinity/ 5.41MB No known conflicts with other themes or plugins.
wp-content/themes/affinity/404.php 715.00B No known conflicts with other themes or plugins.
wp-content/themes/affinity/archive.php 1.04kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/assets/ 3.09MB No known conflicts with other themes or plugins.
wp-content/themes/affinity/assets/img/ 3.07MB No known conflicts with other themes or plugins.
wp-content/themes/affinity/assets/img/autumn.jpg 1.02MB No known conflicts with other themes or plugins.
wp-content/themes/affinity/assets/img/camera.jpg 246.12kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/assets/img/car.jpg 366.97kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/assets/img/thumbs/ 348.07kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/assets/img/thumbs/autumn.jpg 120.56kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/assets/img/thumbs/camera.jpg 32.81kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/assets/img/thumbs/car.jpg 48.38kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/assets/img/thumbs/tulips.jpg 81.18kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/assets/img/thumbs/typewriter.jpg 65.14kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/assets/img/tulips.jpg 463.42kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/assets/img/typewriter.jpg 673.01kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/assets/js/ 16.39kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/assets/js/customizer-panels.js 1.49kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/assets/js/customizer.js 3.03kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/assets/js/frontpage.js 1.17kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/assets/js/functions.js 6.70kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/assets/js/navigation.js 3.13kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/assets/js/skip-link-focus-fix.js 880.00B No known conflicts with other themes or plugins.
wp-content/themes/affinity/comments.php 2.89kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/components/ 10.63kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/components/footer/ 1.24kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/components/footer/footer-widgets.php 860.00B No known conflicts with other themes or plugins.
wp-content/themes/affinity/components/footer/site-info.php 407.00B No known conflicts with other themes or plugins.
wp-content/themes/affinity/components/header/ 2.81kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/components/header/header-image.php 1.61kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/components/header/site-branding.php 1.20kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/components/navigation/ 315.00B No known conflicts with other themes or plugins.
wp-content/themes/affinity/components/navigation/navigation-top.php 315.00B No known conflicts with other themes or plugins.
wp-content/themes/affinity/components/page/ 2.77kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/components/page/content-frontpage.php 1.74kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/components/page/content-page.php 1.03kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/components/post/ 3.50kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/components/post/content-footer.php 100.00B No known conflicts with other themes or plugins.
wp-content/themes/affinity/components/post/content-meta.php 90.00B No known conflicts with other themes or plugins.
wp-content/themes/affinity/components/post/content-none.php 1.07kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/components/post/content-search.php 602.00B No known conflicts with other themes or plugins.
wp-content/themes/affinity/components/post/content.php 1.66kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/fonts/ 190.17kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/fonts/COPYING.txt 1.39kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/fonts/genericons.css 154.00B No known conflicts with other themes or plugins.
wp-content/themes/affinity/fonts/genericons/ 159.96kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/fonts/genericons/genericons.css 27.60kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/fonts/genericons/Genericons.eot 21.85kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/fonts/genericons/Genericons.svg 75.18kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/fonts/genericons/Genericons.ttf 21.67kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/fonts/genericons/Genericons.woff 13.66kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/fonts/LICENSE.txt 17.67kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/fonts/package.json 638.00B No known conflicts with other themes or plugins.
wp-content/themes/affinity/fonts/README.md 10.38kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/footer.php 550.00B No known conflicts with other themes or plugins.
wp-content/themes/affinity/front-page.php 2.45kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/fullwidth-page.php 611.00B No known conflicts with other themes or plugins.
wp-content/themes/affinity/functions.php 9.12kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/guestbook.php 696.00B No known conflicts with other themes or plugins.
wp-content/themes/affinity/header.php 1.00kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/inc/ 33.71kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/inc/custom-header.php 3.13kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/inc/customizer.php 7.03kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/inc/extras.php 2.25kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/inc/jetpack.php 4.72kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/inc/plugin-enhancements.js 441.00B No known conflicts with other themes or plugins.
wp-content/themes/affinity/inc/plugin-enhancements.php 12.31kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/inc/template-tags.php 3.83kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/index.php 1.26kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/languages/ 54.70kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/languages/affinity.pot 6.92kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/languages/fr_FR.mo 4.69kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/languages/fr_FR.po 7.35kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/languages/hi_IN.mo 5.08kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/languages/hi_IN.po 7.12kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/languages/pt_BR.mo 4.49kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/languages/pt_BR.po 7.16kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/languages/ro_RO.mo 4.60kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/languages/ro_RO.po 7.27kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/page.php 842.00B No known conflicts with other themes or plugins.
wp-content/themes/affinity/readme.txt 15.55kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/rtl.css 13.20kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/screenshot.png 1.94MB No known conflicts with other themes or plugins.
wp-content/themes/affinity/search.php 1.03kB No known conflicts with other themes or plugins.
wp-content/themes/affinity/sidebar.php 357.00B No known conflicts with other themes or plugins.
wp-content/themes/affinity/single.php 910.00B No known conflicts with other themes or plugins.
wp-content/themes/affinity/style.css 56.37kB No known conflicts with other themes or plugins.

Which new shortcodes does Affinity add to WordPress?

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

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

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_affinity The theme_mods_affinity option doesn't have any known conflicts with other themes or plugins.

During use Affinity 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 Affinity declare when it is active?

Function   Conflicts Common Errors
dismiss_admin_notice 18 conflicts Fatal error: Cannot redeclare dismiss_admin_notice()
enqueue_scripts 38 conflicts Fatal error: Cannot redeclare enqueue_scripts()
affinity_body_classes 0 conflicts Fatal error: Cannot redeclare affinity_body_classes()
affinity_categorized_blog 0 conflicts Fatal error: Cannot redeclare affinity_categorized_blog()
affinity_category_transient_flusher 0 conflicts Fatal error: Cannot redeclare affinity_category_transient_flusher()
affinity_content_options_show_excerpt 0 conflicts Fatal error: Cannot redeclare affinity_content_options_show_excerpt()
affinity_content_width 0 conflicts Fatal error: Cannot redeclare affinity_content_width()
affinity_custom_header_setup 0 conflicts Fatal error: Cannot redeclare affinity_custom_header_setup()
affinity_customize_preview_js 0 conflicts Fatal error: Cannot redeclare affinity_customize_preview_js()
affinity_customize_register 0 conflicts Fatal error: Cannot redeclare affinity_customize_register()
affinity_entry_footer 0 conflicts Fatal error: Cannot redeclare affinity_entry_footer()
affinity_fonts_url 0 conflicts Fatal error: Cannot redeclare affinity_fonts_url()
affinity_get_attachment_image_src 0 conflicts Fatal error: Cannot redeclare affinity_get_attachment_image_src()
affinity_has_footer_widgets 0 conflicts Fatal error: Cannot redeclare affinity_has_footer_widgets()
affinity_has_post_thumbnail 0 conflicts Fatal error: Cannot redeclare affinity_has_post_thumbnail()
affinity_header_style 0 conflicts Fatal error: Cannot redeclare affinity_header_style()
affinity_infinite_scroll_render 0 conflicts Fatal error: Cannot redeclare affinity_infinite_scroll_render()
affinity_jetpack_featured_image_display 0 conflicts Fatal error: Cannot redeclare affinity_jetpack_featured_image_display()
affinity_jetpack_setup 0 conflicts Fatal error: Cannot redeclare affinity_jetpack_setup()
affinity_panel_count 0 conflicts Fatal error: Cannot redeclare affinity_panel_count()
affinity_panels_js 0 conflicts Fatal error: Cannot redeclare affinity_panels_js()
affinity_post_classes 0 conflicts Fatal error: Cannot redeclare affinity_post_classes()
affinity_posted_on 0 conflicts Fatal error: Cannot redeclare affinity_posted_on()
affinity_sanitize_boolean 0 conflicts Fatal error: Cannot redeclare affinity_sanitize_boolean()
affinity_sanitize_numeric_value 0 conflicts Fatal error: Cannot redeclare affinity_sanitize_numeric_value()
affinity_sanitize_overlay 0 conflicts Fatal error: Cannot redeclare affinity_sanitize_overlay()
affinity_scripts 0 conflicts Fatal error: Cannot redeclare affinity_scripts()
affinity_setup 0 conflicts Fatal error: Cannot redeclare affinity_setup()
affinity_social_menu 0 conflicts Fatal error: Cannot redeclare affinity_social_menu()
affinity_style_options 0 conflicts Fatal error: Cannot redeclare affinity_style_options()
affinity_the_site_logo 0 conflicts Fatal error: Cannot redeclare affinity_the_site_logo()
affinity_widgets_init 0 conflicts Fatal error: Cannot redeclare affinity_widgets_init()

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

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

wp theme install affinity


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

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

wp theme install affinity --activate


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

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

wp theme install affinity --force


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

wp theme update affinity


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

wp theme delete affinity --force

Where can you download earlier versions of Affinity?

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

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