07/20/2016 at 10:52 am
#383584
Keymaster
@ valli
Hmmm, yes, this is a good question. Even though the pages appear to change (according to the browser address bar) you actually never leave the one page. This is why the text appears in both locations. Probably the best way to handle this would be to add the instructions text using action but this is a little more complex.
Install the Code Snippets plugin.
Add a new snippet with the following code:
add_action( 'cn_list_return_to_target', 'cn_directory_instructions' );
function cn_directory_instructions() {
?>
<p>Below is the current directory of healthcare professionals who have been trained in the use of the Comprehensive Resource Model. Here’s how to use this directory:</p>
<ul>
<li>Use the search box below to search for a particular city, state, country or name.</li>
<li>Use the “View All” link below to switch to a list of names in the directory</li>
<li>Use the “Submit New Entry” link below if you are have successfully completed the CRM Basic Module training and would like add your practice to the directory. Entries will be reviewed prior to being added.</li>
</ul>
<div class="su-divider su-divider-style-double" style="margin:15px 0;border-width:3px;border-color:#899bbb"></div>
<?php
}
Save and Activate the snippet to run in the frontend only.
You should then be able to remove the instructions from the page itself.
Hope that helps, let me know.