11/10/2015 at 1:02 pm
#354414
Keymaster
@ Chad
Recent version of Connections changed the way the single entry is displayed. Many users add “static” text and put the [connections] shortcode on the page multiple times so I ended up spending a lot of time explaining why the text was duplicated and why the entry appeared on the page multiple times when viewing a single entry. My fix was to replace all the page contents when viewing a single entry with just the entry. This is why your wrapper code is not there when viewing a single entry.
The only way to change this would be to remove the filter that does this. This should work:
Install the Code Snippets plugin.
Add a new snippet with the following code:
add_action( 'plugins_loaded', 'cn_remove_single_entry_shortcode_filter' );
function cn_remove_single_entry_shortcode_filter() {
remove_filter( 'the_content', array( 'cnShortcode', 'single' ), 7 );
}
Save and activate the new snippet.
Hope that helps!
